fix: remove foreground flag

This commit is contained in:
DCsunset 2020-02-02 04:07:01 -08:00
parent 6172758722
commit 262c80f0b2

View file

@ -7,7 +7,7 @@ chmod go-rwx "$HOME/.vnc" # enforce safe permissions
# Start TigerVNC
if [ ! -z $VNC_PASSWD ]; then
vncpasswd -f <<< "$VNC_PASSWD" > "$HOME/.vnc/passwd"
vncserver -fg -localhost no :0
vncserver -localhost no :0
else
vncpasswd -f <<< "" > "$HOME/.vnc/passwd"
vncserver --I-KNOW-THIS-IS-INSECURE -SecurityTypes None -localhost no :0