Solaris v8 & VNC & CDE

Solaris v8 & VNC & CDE

Post by John E Quigley I » Fri, 01 Jun 2001 02:43:10



I am looking to configure VNC so that I can get a CDE desktop.  Nothing I
have tried has worked.  Has anyone got it to work?   Current VNC only gives
me a terminal window, but I would like to have use of the full desktop.

Thanks.
John E Quigley II

 
 
 

Solaris v8 & VNC & CDE

Post by Dennis Peterso » Sun, 03 Jun 2001 02:31:38



: I am looking to configure VNC so that I can get a CDE desktop.  Nothing I
: have tried has worked.  Has anyone got it to work?   Current VNC only gives
: me a terminal window, but I would like to have use of the full desktop.

: Thanks.
: John E Quigley II

In the VNC installation directory is a perl script, vncserver. There is an entry there to start "twm" as a window manager. Change that to /usr/dt/bin/dtwm. There is one more change you have to make. In your home directory is a .vnc directory and in there is a file called xstartup. Make the same change there. You will have to experiment with the size parameters in the vncserver file so the desktop will fit in your VNC viewer. To simplify things you can also delete the ~HOME/.vnc directory and re-run the vnc
server script.

FYI - the first time vncserver is run it creates the ~HOME/.vnc directory which is why you have to make the edits in both places. This assumes you want all new vnc servers to use dtwm, of course. If this is not the case, change only the ~HOME/.vnc/xstartup file.

Also - you may find you cannot get a server to start. The permissions of /tmp/.X11-unix need to be changed to 777 (drwxrwxrwx). This requires root access.

Dennis Peterson
CTO, One Stop Consulting, Inc.
Seattle, WA ... http://ThinkUNIX.com

--
Dennis Peterson


 
 
 

Solaris v8 & VNC & CDE

Post by Dennis Peterso » Sun, 03 Jun 2001 06:12:48




> : I am looking to configure VNC so that I can get a CDE desktop.  Nothing I
> : have tried has worked.  Has anyone got it to work?   Current VNC only gives
> : me a terminal window, but I would like to have use of the full desktop.

> : Thanks.
> : John E Quigley II

> In the VNC installation directory is a perl script, vncserver. There is an entry there to start "twm" as a window manager. Change that to /usr/dt/bin/dtwm. There is one more change you have to make. In your home directory is a .vnc directory and in there is a file called xstartup. Make the same change there. You will have to experiment with the size parameters in the vncserver file so the desktop will fit in your VNC viewer. To simplify things you can also delete the ~HOME/.vnc directory and re-run the vnc
> server script.

I should also add, and so I will, that this should not be done with an
account that has an active CDE login. The problem you get into is you
have but one ~HOME/.dt and both (or all) sessions think they own it and
they will step all over each other when exiting. This works best on
headless systems.

--
Dennis Peterson
CTO, One Stop Consulting, Inc.
Seattle WA ... http://thinkUNIX.com
206.352.5615