VncserverでデスクトップマネージャGNOMEに変更する

とりあえず一回はvncserverで起動する。
するとrootやユーザのhomeの下に.vnc/xstartupができあがるので、
以下のgnome-sessionをのように変更すると、gnomeが利用できる

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
gnome-session

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &