fix: remove foreground flag
This commit is contained in:
parent
6172758722
commit
262c80f0b2
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -7,7 +7,7 @@ chmod go-rwx "$HOME/.vnc" # enforce safe permissions
|
||||||
# Start TigerVNC
|
# Start TigerVNC
|
||||||
if [ ! -z $VNC_PASSWD ]; then
|
if [ ! -z $VNC_PASSWD ]; then
|
||||||
vncpasswd -f <<< "$VNC_PASSWD" > "$HOME/.vnc/passwd"
|
vncpasswd -f <<< "$VNC_PASSWD" > "$HOME/.vnc/passwd"
|
||||||
vncserver -fg -localhost no :0
|
vncserver -localhost no :0
|
||||||
else
|
else
|
||||||
vncpasswd -f <<< "" > "$HOME/.vnc/passwd"
|
vncpasswd -f <<< "" > "$HOME/.vnc/passwd"
|
||||||
vncserver --I-KNOW-THIS-IS-INSECURE -SecurityTypes None -localhost no :0
|
vncserver --I-KNOW-THIS-IS-INSECURE -SecurityTypes None -localhost no :0
|
||||||
|
|
Reference in a new issue