mirror of https://github.com/ThunixdotNet/-vnc.git
messages
This commit is contained in:
parent
d18930b327
commit
7f38218243
|
@ -10,10 +10,14 @@ for file in /var/lib/vnc/* ; do
|
||||||
done
|
done
|
||||||
let "DISPLAY++"
|
let "DISPLAY++"
|
||||||
|
|
||||||
echo $DISPLAY
|
|
||||||
|
|
||||||
# add user file
|
# add user file
|
||||||
echo "$DISPLAY" > /var/lib/vnc/${USER}
|
echo "$DISPLAY" > /var/lib/vnc/${USER}
|
||||||
chmod 644 /var/lib/vnc/${USER}
|
chmod 644 /var/lib/vnc/${USER}
|
||||||
|
|
||||||
/usr/local/bin/startvnc
|
/usr/local/bin/startvnc
|
||||||
|
|
||||||
|
PORT=$((DISPLAY + 5900))
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Your port number is ${PORT}; please note it down."
|
||||||
|
echo "You might like to see https://wiki.thunix.net/wiki/vnc for further information."
|
||||||
|
|
Loading…
Reference in New Issue