From 14464d860677ec94174d0414c981c62893f8fa7b Mon Sep 17 00:00:00 2001 From: DCsunset Date: Sun, 2 Feb 2020 23:32:15 -0800 Subject: [PATCH] fix: make start.sh compatible with TigerVNC 1.10.1 --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 44ee381..cc4ca67 100755 --- a/start.sh +++ b/start.sh @@ -9,10 +9,10 @@ tigervnc_path="/tigervnc-${tigervnc_version}.x86_64/usr/bin" # Start TigerVNC if [ ! -z $VNC_PASSWD ]; then ${tigervnc_path}/vncpasswd -f <<< "$VNC_PASSWD" > "$HOME/.vnc/passwd" - ${tigervnc_path}/vncserver -localhost no :0 + ${tigervnc_path}/vncserver :0 else ${tigervnc_path}/vncpasswd -f <<< "" > "$HOME/.vnc/passwd" - ${tigervnc_path}/vncserver --I-KNOW-THIS-IS-INSECURE -SecurityTypes None -localhost no :0 + ${tigervnc_path}/vncserver -SecurityTypes None :0 fi # Start noVNC