setup for CDE?

David A Vincent davidv "at"
Mon, 13 Jul 1998 08:22:55 +0000

"Boyce, David" <David.Boyce "at"> writes:

> Has anyone succeeded in getting VNC set up to work nicely with CDE
> (Common Desktop Environment)?  Until I discovered VNC (the customary

I use VNC with CDE with results I would call approaching being 'nice'.
There are still a few problems.

> kudos, btw, it's a really nice tool) I was connecting to a Sun/Solaris
> 2.5.1 box through Windows NT using a Windows X server product called
> eXceed, using the full standard CDE 1.0.2 setup.  Whereas VNC comes out
> of the box with an xstartup that uses twm.  I modified this to use dtwm
> and I now have a semi-working CDE environment, but a few problems
> remain:
> -> I lose my previous settings. I'd like to live off one set of CDE
> config files so I can use eXceed/VNC interchangeably. 

My CDE sessions seem to save their settings OK, but they never seem to
exit properly.  After pressing the Exit button, the activity light
blinks for a while, then stops.  The session stays there, and even
seems to work for a while.  Eventually (after some minutes) the cursor
freezes and the colours usually go whacky.  

I have had no trouble using the same settings for CDE with VNC and
with other X terminals.

> -> I have no text in any of the CDE tool- or title-bars (this could be
> an unrelated color-depth issue).

I have lots of problems with colour using the Windows vncviewer.  I
normally run vncserver like this:

        vncserver -geometry 1000x735 -cc 3 -depth 8 -query orion
(orion is the host I normally run vncserver and most of my X apps on.)

The Windows vncviewer routinely gets many colours wrong, but is usable
most of the time.  I am restricted to using an 8-bit display mode on
the PC concerned.  

> -> Ideally, I would like the option of going through the CDE login
> screen, which would presumably mean running Xvnc as root from inittab
> rather than running it by hand as myself.

Perhaps not... my xstartup now looks like this:


xrdb $HOME/.Xresources
# xsetroot -solid grey
# xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# /usr/dt/bin/Xsession &

and that together with the command above does get me to a CDE login.

> Anyway, if anyone has answers to the above or an xstartup mod for CDE
> I'd appreciate seeing it.

Me too.

Other aspects of my configuration: A typical host is SunOS yahoo 5.5
Generic sun4m sparc SUNW,SPARCstation-10.  Viewer normally runs on a
100MHz PC running Windows 95.

David A Vincent   <mailto:davidv "at">    JUNK E-MAIL NOT WELCOME
Working (not speaking) for      Hydrographic Sciences Australia Pty Ltd
HSA phone extension number 27    within HSA, web site <http://marilyn/>
GCS C++++$ US++$ P+$ E++$ W++ N+++ w--- M++ Y+ PGP+ t-- G e++ h--- b+++

The VNC mailing list     -   see