From e545cb3f866527c2ca05ce408f78f9e79b80caaa Mon Sep 17 00:00:00 2001 From: droter Date: Thu, 29 Nov 2018 21:29:41 -0600 Subject: [PATCH] updated start.sh for joystick --- docker/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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