From:
http://vegdave.wordpress.com/2006/10/16/using-gnomecde-in-vnc-on-solaris/
If you install VNC on Solaris, the default windowing manager is twm, which isn’t very sexy. Here is how you can switch to something a bit more interesting:
1. vi ./vnc/xstartup in your home directory.
2. Comment out xterm and twn by adding a “#” character at the beginning of the line.
3a. For CDE, add the following line:
/usr/dt/bin/dtwm
3b. For GNOME, add the following lines:
gnome-session&
gnome-terminal --geometry 80x24+10+10 --title="My Desktop" &
3c. For KDE, try the following. (Note: I haven’t try this yet. So, let me know if you have comment about this step.)
startkde&
To run vncserver at the resolution you like, try the following on the command-line:
vncserver -geometry 1250x680