Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
fix vnc
  • Loading branch information
ashesofdream authored Dec 8, 2022
1 parent f65d50d commit d0bd65a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BaiduNetdisk/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d0bd65a

Please sign in to comment.