aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2020-08-23 19:20:02 +0000
committerGitHub <[email protected]>2020-08-23 19:20:02 +0000
commitaa846f8576d682095ca301d7aad7027c92e18dd0 (patch)
tree93e9813b9dfa4dfa3a234659eb7623e593739dba
parentCreate FUNDING.yml (diff)
parentfix gpk error (diff)
downloaddocker-osx-aa846f8576d682095ca301d7aad7027c92e18dd0.tar.xz
docker-osx-aa846f8576d682095ca301d7aad7027c92e18dd0.zip
Merge pull request #75 from MrBenFTW/master
Fix gpk error
-rw-r--r--vnc-version/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile
index 5001bb1..019ddaa 100644
--- a/vnc-version/Dockerfile
+++ b/vnc-version/Dockerfile
@@ -98,8 +98,9 @@ RUN printf '%s\n' \
'xinit &' \
'xterm &' > ~/.vnc/xstartup
-# this won't work if you have 99 monitors, 98 monitors is fine though
-RUN printf '%s\n%s\n%s\n\n' \
+# this won't work if you have 99 monitors, 98 monitors is fine though // don't forget to remove the lock file incase you shut down incorrectly or create an image.
+RUN printf '%s\n%s\n%s\n%s\n\n' \
+'sudo rm -f /tmp/.X99-lock' \
'export DISPLAY=:99' \
'vncserver -kill :99 || true' \
'vncserver -geometry 1920x1080 -depth ${DEPTH} -xstartup ~/.vnc/xstartup :99' > vnc.sh