Skip to content

Commit

Permalink
allowing connections from localhost is not sufficient
Browse files Browse the repository at this point in the history
but xhost + is less secure. A better solution should be found.
  • Loading branch information
gklingler committed May 2, 2014
1 parent a179ad1 commit 604d445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ubuntuWithNvidiaDriver/run.sh
Expand Up @@ -2,5 +2,5 @@

COMMAND=/bin/bash

xhost +localhost # allow connections to X server from localhost
xhost + # allow connections to X server
docker run --privileged -e "DISPLAY=unix:0.0" -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" -i -t ubuntu_with_nvidia_driver $COMMAND
2 changes: 1 addition & 1 deletion ubuntuWithOpenSourceDrivers/run.sh
Expand Up @@ -2,5 +2,5 @@

COMMAND=/bin/bash

xhost +localhost # allow connections to X server from localhost
xhost + # allow connections to X server
docker run --privileged -e "DISPLAY=unix:0.0" -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" -i -t ubuntu_with_opensource_drivers $COMMAND

0 comments on commit 604d445

Please sign in to comment.