From 57de8f27bfb1cd32399b599f24885ff52e45e4c8 Mon Sep 17 00:00:00 2001 From: bowman Date: Tue, 18 Jan 2022 17:05:25 +0800 Subject: [PATCH] fix vnc server --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3d5ada8..c596804 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,7 +10,7 @@ sudo rm -f /tmp/.X*-lock /tmp/.X11-unix/X* sleep 3 if [ -z $vnv_password ]; then - /usr/bin/vncserver -geometry 1920x1080 -fg -localhost -SecurityTypes None,TLSNone + /usr/bin/vncserver -geometry 1920x1080 -fg -SecurityTypes None,TLSNone else - /usr/bin/vncserver -geometry 1920x1080 -fg -localhost + /usr/bin/vncserver -geometry 1920x1080 -fg fi