https://help.ubuntu.com/community/VNC/Servers#Start\_TigerVNC\_vncserver\_at\_boot
1 2
|
VNCSERVERS="1:vnc" VNCSERVERARGS[1]="-geometry 1600:900 -nolisten tcp"
|
1 2 3 4 5 6 7 8 9 10 11 12 13
|
#!/bin/sh [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session --session=gnome-flashback & gnome-panel & gnome-settings-daemon & metacity & nautilus & vncconfig -nowin &i
|