Skip to content

Commit

Permalink
fix passwordless (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
fidoriel committed Apr 6, 2024
1 parent cfbc9a3 commit 94657f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/scripts/vnc_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94657f6

Please sign in to comment.