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
The above resolution configuration assumes you have a wide monitor. Please note that vncserver can run at just about any interesting resolution you want, so set it to fit within your local monitor.
Thanks. This is exactly what i was looking for.
You welcome. I am glad that it helped.
You’re the best. I’ve been looking everywhere for this info. Thanks!
Good to hear the trick helps.
DUDE, you’re awesome. Thanks for throwing this down on your blog. I’m going to do the same in a few. Even though I use Linux, rather than Solaris. The resolution bit helped.
All the best,
-J
Hi Justin,
Good to hear that this blog howto also helped you!
I’ve been looking for this information for some time. This works great!!! Thanks
Hi Konrad,
You welcome!
you are officially my hero
Thanks!
Good tip, we have a link to this on our Solaris Links page at http://www.aspdeveloper.net/tiki-index.php?page=SolarisLinks and more tips at http://www.aspdeveloper.net/tiki-index.php?page=misctips
Hi Steve,
Thanks for sharing it to more people.
Hi Steve ,
Thanks a ton , now my desktop is more colourful and user freindly with GNOME š
Thanks … Your tutorial helped me a lot =)
It worked but getting xterminal grey window after connecting… couldn’t see my sparc desktop… only i can see a blank gray window… please help
Thanks. It helped me a lot when it is needed.
Hi fighter,
I had same issue. Try the following :
1) Stop vnc
2) Delete the .Xauthority file (outside the .vnc folder)
3) edit the xstartup file under .vnc folder as sugested above.
4) own the .vnc folder as the user running vnc and set the permission to 775 for all the files.
5) start vnc and wait for a couple of min. for new desktop to appear.
Vaibhav
Pretty great post. I simply stumbled upon your weblog and wished to say that
I’ve truly loved browsing your blog posts. In any case I will be subscribing on your feed and I’m hoping you write once more very soon!
Dave,
The blog has really useful information. It helped me a lot. Thanks man!