vnc

To get unity2d working on ubuntu 12 you need to have

#!/bin/sh

# Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER

#exec /etc/X11/xinit/xinitrc

#gnome-session --session=gnome-classic &

gnome-session --session=ubuntu-2d

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey

vncconfig -iconic &

#x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &

#x-window-manager &

in your .vnc/xstartup file