diff --git a/docker/start.sh b/docker/start.sh index 65351dd..8e2b25e 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -1,6 +1,6 @@ # This is not the safest way however, as you then compromise the access control to X server on your host xhost +local:root # for the lazy and reckless -docker run -it --env="DISPLAY" --network="host" --privileged -v /dev/bus/usb:/dev/bus/usb --env="QT_X11_NO_MITSHM=1" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" rosagriculture/tractor_sim +docker run -it --env="DISPLAY" --network="host" --privileged -v /dev:/dev --env="QT_X11_NO_MITSHM=1" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" rosagriculture/tractor_sim export containerId=$(docker ps -l -q) # Close security hole: xhost -local:root