Operating System - HP-UX
1833861 Members
2234 Online
110063 Solutions
New Discussion

When I login using the CDE session, a black screen appears

 
Kerilyn O'Donnell
Contributor

When I login using the CDE session, a black screen appears

I am logging in using the CDE session option and my whole screen is black. I can't see the bottom desktop window with the workspaces, and I can't right click to view a window. Luckily my computer is able to be accessed from a telnet session, so I don't have to reboot everytime, I only have to kill the pid to get the login prompt again. This is only happening for one user name. It's wierd!
7 REPLIES 7
Joseph C. Denman
Honored Contributor

Re: When I login using the CDE session, a black screen appears

Probably something wrong with the users .dtprofile or .profile.

try...

cp /etc/dt/config/sys.dtprofile /theusershome/.dtprofile
chown user:usergroup /theusershome/.dtprofile

...jcd...
If I had only read the instructions first??
Kerilyn O'Donnell
Contributor

Re: When I login using the CDE session, a black screen appears

I didn't specify before but I'm using Solaris2.6, I can't find the paricular directory that you specified:

/etc/dt/config/sys.dtprofile /theusershome/.dtprofile

- didn't know if it had to do with the version OS I was running.

Alex Glennie
Honored Contributor

Re: When I login using the CDE session, a black screen appears

If only one user is affected you may also want to try =>

mv $HOME/.dt -> $HOME/.dt_orig in case some resource or preference has been saved in a users home or current CDE session.

If that fails try adding set -x to your .dtprofile and check $HOME/.dt/startlog and /var/dt/Xerrors for clues.
Wodisch
Honored Contributor

Re: When I login using the CDE session, a black screen appears

Hello Kerilyn,

have you tried the "fail safe session" from the
"Options" button on the CDE login dialog?
Is it working then? (You will only get an
"xterm" window and no window manager, but then
you can use "twm&" for that...).
That would hint at some config errors for your
private user account - go for the "rename .dt"
option form one of the *crowns* then :-)
If that is delivering the same black screen
then you might have a DNS problem - CDE does
not like to have the hostname changed...
Check the output of "/var/dt/Xerrors" (perhaps
it is somewhere else on Slolaris, but it will
be the file named "Xerrors", anyway).
What's in there?`

HTH,
Wodisch
Thomas Yake
Occasional Advisor

Re: When I login using the CDE session, a black screen appears

It sounds like you have a corrupted .dt directory. I would try archivnig then replacing the users .profile, .cshrc, .login files with system defaults and removing the .dt directory and .dtprofile file. Have them log into CDE again. The new .dt stuff will be created during their first login. If it works once it will continue to work until some user specific configuration makes CDE login impossible.
Robert DJ
Frequent Advisor

Re: When I login using the CDE session, a black screen appears

Hi Kerilyn,

The reasons for the CDE problems are,

1. Network Problem
2. Exports Display
3. Profile problem

For the Network Problem

Try Reconfiguring the System once again.

Type "sys-unconfig" and reboot.
Type "boot" at OK prompt

Configure the IP, Subnet,etc.

Restart once done, If you are using the
Sun wkn for external networks like WAN.

Create a file by name "defaultrouter"
under /etc and enter the Router or
Gateway IP.

For the Exports Display

Type "xhost +" - To delete any share of
display.

Type "export DISPLAY=x.x.x.x:0.0"

Any Try with CDE

For the Profile Problem

Try copying an existing working profile.

Else try to see the logs in syslog.


Let me know if problem persists.

Thanx & Regards,

Roby

Robert DJ
Robert DJ
Frequent Advisor

Re: When I login using the CDE session, a black screen appears

Hi Kerilyn,

Try changing the hostname of the Sun Box.

Thanx & Regards,

Roby
Robert DJ