So I had been having this problem since I upgraded to 12.10 from 12.04, and did something to day that finally worked.
First I purged tightvncserver, then purged vnc4server.
Installed tightvncserver, then vnc4server, created the below xstartup file and made it executable.
I get errors in the logfile, however it runs the gnome-classic desktop (no others yet).
I would be interested to see if this works for anyone else.
Hans
~/.vnc/xstartup
Code:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-classic &
[ -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 &
Bookmarks