aboutsummaryrefslogtreecommitdiff
path: root/vnc-version
diff options
context:
space:
mode:
authorBen Mitchell <[email protected]>2020-08-23 20:03:11 +0100
committerGitHub <[email protected]>2020-08-23 20:03:11 +0100
commit1e5f69e63f17e7c5472fa7e8b69b829776be94fd (patch)
treea667870db53cd9ed2079adfb4be60cfceb2f4ebf /vnc-version
parentFix gpk error (diff)
downloaddocker-osx-1e5f69e63f17e7c5472fa7e8b69b829776be94fd.tar.xz
docker-osx-1e5f69e63f17e7c5472fa7e8b69b829776be94fd.zip
fix gpk error
fix gpk error caused by images or incorrect shutdown
Diffstat (limited to 'vnc-version')
-rw-r--r--vnc-version/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile
index be1dc97..096c3ff 100644
--- a/vnc-version/Dockerfile
+++ b/vnc-version/Dockerfile
@@ -100,7 +100,7 @@ RUN printf '%s\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\n' \
-'sudo rm -rf /tmp/.X99-lock' \
+'sudo rm -f /tmp/.X99-lock' \
'export DISPLAY=:99' \
'vncserver -kill :99 || true' \
'vncserver -geometry 1920x1080 -depth ${DEPTH} -xstartup ~/.vnc/xstartup :99' > vnc.sh