VNC scripts
This commit is contained in:
9
vncs
Executable file
9
vncs
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
dn=$( echo $UID | sed 's/.*\(....\)$/\1/' )
|
||||
|
||||
vncserver :$dn -depth 24 -geometry 1024x768 -geometry 800x600 -geometry 1366x768 -geometry 1280x1024 -geometry 1680x1050 -geometry 1280x720
|
||||
echo "Kill with vnckill"
|
||||
echo "use vncdisp to change resolution"
|
||||
echo Your VNC connection port is $HOSTNAME:$(( 5900 + $dn ))
|
||||
|
||||
Reference in New Issue
Block a user