diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile index 5001bb1..be1dc97 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 +# 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\n' \ +'sudo rm -rf /tmp/.X99-lock' \ 'export DISPLAY=:99' \ 'vncserver -kill :99 || true' \ 'vncserver -geometry 1920x1080 -depth ${DEPTH} -xstartup ~/.vnc/xstartup :99' > vnc.sh