While I know related questions have been asked before, I have not found a satisfactory answer, especially not for versions of Unity >= 13.04.
When logging in remotely through VNC, Unity side/top bar missing.
Using vnc4server Ubuntu 13.10
Contents of ~/.vnc/xstartup:
#!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -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" & x-window-manager & gnome-session & #--session=ubuntu (enabling this does not help)
contents of /usr/share/gnome-session/sessions:
I also notice that if I start another tty and type startx, I get the same result (deleting ~/.Xauthority does not help).