moving projects
This commit is contained in:
21
vnc/vncs
Executable file
21
vnc/vncs
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
dn=$( echo $UID | sed 's/.*\(....\)$/\1/' )
|
||||
|
||||
vncserver :$dn -depth 24 \
|
||||
-geometry 800x600 \
|
||||
-geometry 1024x768 \
|
||||
-geometry 1280x1024 \
|
||||
-geometry 1600x1200 \
|
||||
-geometry 1280x720 \
|
||||
-geometry 1366x768 \
|
||||
-geometry 1440x900 \
|
||||
-geometry 1680x1050 \
|
||||
-geometry 1920x1080 \
|
||||
-geometry 1920x1200 \
|
||||
-geometry 2560x1440 \
|
||||
-geometry 2560x1600
|
||||
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