force calculated port for vnc
This commit is contained in:
3
vnc/vncs
3
vnc/vncs
@@ -14,7 +14,8 @@ vncserver :$dn -depth 24 \
|
|||||||
-geometry 1920x1080 \
|
-geometry 1920x1080 \
|
||||||
-geometry 1920x1200 \
|
-geometry 1920x1200 \
|
||||||
-geometry 2560x1440 \
|
-geometry 2560x1440 \
|
||||||
-geometry 2560x1600
|
-geometry 2560x1600 \
|
||||||
|
-rfbport $(( 5900 + $dn ))
|
||||||
echo "Kill with vnckill"
|
echo "Kill with vnckill"
|
||||||
echo "use vncdisp to change resolution"
|
echo "use vncdisp to change resolution"
|
||||||
echo Your VNC connection port is $HOSTNAME:$(( 5900 + $dn ))
|
echo Your VNC connection port is $HOSTNAME:$(( 5900 + $dn ))
|
||||||
|
|||||||
Reference in New Issue
Block a user