SUMMARY: Xsession/CDE/OpenWindows problem

From: Peter Watkins <>
Date: Wed Mar 06 2002 - 03:29:32 EST
My original question is below concerning the very slow startup of the CDE
and OpenWindows on a Solaris 7 Ultra 10. Thanks to the following for their

Casper Dik
chakravarthi s viswanadh
Mark Hargrave
Steve Sandau
Eric Priebe
Deborah Santomauro
David Foster
Gnanagurusamy  B

Nobody actually came up with the magic solution but I did manage to fix it
myself (although I'm not 100% convinced I know why). Special thanks to
Chakravarthi for a detailed description of the Xsession boot phase.

Most of you told me to check the /etc/hosts and IP name of the machine. These
were all OK, the /etc/hosts file was correct and the IP name had not been
changed only the IP number. So /etc/hostname.<*> and /etc/nodename were OK.
I could ping to, and from, the machine fine and nslookup worked. Even NIS
worked fine. I have done the IP number change lots of times without using
sysunconfig and usually there were no problems.

What I did find was that the old network mask had been set in /etc/netmasks.
Changing this to the new mask seemed to solve the problem. However I had
also made some changes in the DNS server that should not have been relevant,
so I cannot be sure.

Thanks for all your help.


> I've searched the archives and looked all over for the solution to
> this problem but with no real success. Time to ask the experts.
> We have seen the same problem on a number of different machines with
> different versions of Solaris. For now I need to sort out a solution
> on an Ultra 10 running Solaris 7.
> We have recently changed IP numbers on the machines and I suspect that
> the problem is related to that. However DNS (and NIS) all seems to be
> working perfectly on the culprits.
> The basic problem is when trying to log on with either CDE or OpenWindows.
> The logon process accepts the UID/password but then hangs at the white
> CDE screen. Eventually (several minutes later) the window system comes
> up but if CDE is used it does not operate correctly. Windows cannot be
> moved, resized, minimised etc and there is no panel.
> There are NO messages in /var/dt/Xerrors!
> I do see the following message in /.dt/startlog
> ::::::::::::::
> startlog
> ::::::::::::::
> --- Mon Mar  4 16:51:55 MET 2002
> --- /usr/dt/bin/Xsession starting...
> --- starting /usr/openwin/bin/speckeysd
> --- Xsession started by Xsession
> --- setting font path...
> --- starting /usr/dt/bin/dtsession_res -load -system
> --- sourcing //.dtprofile...
> --- sourcing /etc/dt/config/Xsession.d/0001.firstlogin...
> --- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
> --- sourcing /usr/dt/config/Xsession.d/0015.sun.env...
> --- sourcing /usr/dt/config/Xsession.d/0020.dtims...
> --- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
> --- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
> --- sourcing /usr/dt/config/Xsession.d/1000.solregis...
> --- could not read //.profile
> --- starting /usr/dt/bin/dthello -string 'Starting the OpenWindows Desktop' &
> --- starting /usr/dt/bin/dtsearchpath
> --- starting /usr/dt/bin/dtappgather &
> --- starting /usr/dt/bin/dsdm &
> --- session log file is /dev/null
> --- DTSOURCEPROFILE is 'true' (see //.dtprofile)
> --- execing /usr/dt/config/Xsession.ow2 with a /sbin/sh login shell ...
> --- starting desktop on /dev/pts/3
> Sun Microsystems Inc.   SunOS 5.7       Generic October 1998
> You have mail.
> /usr/dt/bin/ttsession[610]: starting
> /usr/dt/bin/Xsession[732]: 595 Hangup
> X connection to :0.0 broken (explicit kill or server shutdown).
> which suggests an Xsession problem.
> I have tried to compare the various CDE/Xsession config files to a working
> system but cannot find any obvious problems and there are so many to look
> at that I'm getting lost.
> Does anyone have any idea what the problem is and how it can be fixed?

|Dr. Peter Watkins            |email: |
|Joint Research Centre        |tel:   +31-224-565120 |
|Petten                       |fax:   +31-224-561251 |
|The Netherlands              |http:     |
sunmanagers mailing list
Received on Wed Mar 6 02:33:23 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:36 EST