Debian VNC Server
$ sudo apt-get install tightvncserver $ vncpasswd $ vncserver
To kill a session:
$ vncserver -kill :1
You can edit $HOME/.vnc/xstartup to change default desktop or starting apps:
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & # Fix to make GNOME work export XKL_XMODMAP_DISABLE=1 /etc/X11/Xsession xterm