From d0bd65a57ad3f31e4303b4584e797d47029ff9dc Mon Sep 17 00:00:00 2001 From: ashesofdream <53961395+ashesofdream@users.noreply.github.com> Date: Thu, 8 Dec 2022 20:00:46 +0800 Subject: [PATCH] Update entrypoint.sh fix vnc --- BaiduNetdisk/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaiduNetdisk/entrypoint.sh b/BaiduNetdisk/entrypoint.sh index 809aa50..f26f5fd 100755 --- a/BaiduNetdisk/entrypoint.sh +++ b/BaiduNetdisk/entrypoint.sh @@ -17,7 +17,7 @@ sudo rm -f /tmp/.X*-lock /tmp/.X11-unix/X* sleep 3 if [ -z $vnc_password ]; then - /usr/bin/vncserver -geometry 1920x1080 -fg -SecurityTypes None,TLSNone + /usr/bin/vncserver -geometry 1920x1080 -localhost no -fg -SecurityTypes None,TLSNone else - /usr/bin/vncserver -geometry 1920x1080 -fg + /usr/bin/vncserver -geometry 1920x1080 -localhost no -fg fi