Skip to content

Commit b041a3e

Browse files
fixed startvnc
1 parent 56a0294 commit b041a3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

etc/scripts/vncserver/startvnc.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ else
1818
fi
1919

2020
if [ -f /tmp/.X11-unix/X${port} ]; then
21-
vnc=false
21+
vnc=true
2222
elif [ -f /tmp/.X${port}-lock ]; then
23-
vnc=false
24-
else
2523
vnc=true
24+
else
25+
vnc=false
2626
fi
2727

2828

0 commit comments

Comments
 (0)