From 94657f6ae0a1b58fb451dfa6e48b61729b0a488f Mon Sep 17 00:00:00 2001 From: fidoriel <49869342+fidoriel@users.noreply.github.com> Date: Sat, 6 Apr 2024 20:19:55 +0200 Subject: [PATCH] fix passwordless (#201) --- src/common/scripts/vnc_startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/scripts/vnc_startup.sh b/src/common/scripts/vnc_startup.sh index 31be5180..780adf3d 100755 --- a/src/common/scripts/vnc_startup.sh +++ b/src/common/scripts/vnc_startup.sh @@ -99,7 +99,7 @@ echo -e "start vncserver with param: VNC_COL_DEPTH=$VNC_COL_DEPTH, VNC_RESOLUTIO vnc_cmd="vncserver $DISPLAY -depth $VNC_COL_DEPTH -geometry $VNC_RESOLUTION PasswordFile=$HOME/.vnc/passwd" if [[ ${VNC_PASSWORDLESS:-} == "true" ]]; then - vnc_cmd="${vnc_cmd} -SecurityTypes None" + vnc_cmd="${vnc_cmd} -SecurityTypes None --I-KNOW-THIS-IS-INSECURE" fi if [[ $DEBUG == true ]]; then echo "$vnc_cmd"; fi