VNC viewer session with gnome session manager on Ubuntu 11.10
The following happens to me since I upgrade my Ubuntu to version 11.10. Using the default config file .vnc/xstartup , I just get a terminal window in my VNC viewer session. To have the gnome desktop session manager back to the VNC viewer session, I have to modify the config file as follows. #!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS #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=gnome-classic & In the following, the value after --session= is the session manager. You may change gnome-classic above to ubuntu-2d for an alternative session manager.