From 028bce4b41236454d3e8e824b087f22fed03fd38 Mon Sep 17 00:00:00 2001 From: name Date: Fri, 5 Jun 2020 18:45:47 +0000 Subject: [PATCH] More reasonable command to account for every $DISPLAY number --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb4d114..23abc38 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Pull requests, suggestions very welcome! docker pull sickcodes/docker-osx -docker run --privileged -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx +docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx # press ctrl G if your mouse gets stuck