1834015 Members
2623 Online
110063 Solutions
New Discussion

Re: CDE login failed

 

CDE login failed

Good morning,

Running HPUX 11.00 in an NIS environment. CDE Gui comes up to login. however, after i login as root or anyone else the screen goes blank. CDE dissapears. I checked the nsswitch.conf file and the hosts file and everything is fine. This happened after our switch burned up. New switch is in and system was rebooted. that's when it all happpened. Can someone help me please.
No matter how much you kow today you'll have to know more tomorrow.
8 REPLIES 8
Theresa Patrie
Regular Advisor

Re: CDE login failed

We have only seen this happen when the machine cannot get to the home directory of the user. It usually cycles back to the login screen. Is this what ishappening?
This is my easy job!
Theresa Patrie
Regular Advisor

Re: CDE login failed

We have only seen this happen when the machine cannot get to the home directory of the user. It usually cycles back to the login screen. Is this what is happening? Check the $HOME/.dt/startlog or $HOME/.dt/errorlog for some clues.
This is my easy job!
Alex Glennie
Honored Contributor

Re: CDE login failed

My advise would be :

a) remove switch : does problem persist ?

b) edit nsswitch.conf to use only files does problem persist ?

that way you can work out if this is NIS or switch related .....or something else ....

NB try tests for root user only

sounds like a hostname or routing problem ....

ps does the CDE login screen return eventually ?

Re: CDE login failed

This also happens when i login as root. I cannot remove the switch because it is required for the whole network. The other 5 HPUX systems are working with nis no logon problems.
No matter how much you kow today you'll have to know more tomorrow.

Re: CDE login failed

It is not cycling back to the logon screen.
No matter how much you kow today you'll have to know more tomorrow.

Re: CDE login failed

from a telnet session i am getting the following in the startlog;

# more startlog
--- Wed Oct 30 10:39:23 EST 2002
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing //.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- 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/0060.srcsysenv...
--- sourcing /etc/dt/config/Xsession.d/8000.migration...
--- sourcing /etc/dt/config/Xsession.d/RAPSxinitcolormap...
xinitcolormap: does not work with TrueColor visuals
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath -ksh
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession ...
not sourcing //.profile (see //.dtprofile)
No matter how much you kow today you'll have to know more tomorrow.
Alex Glennie
Honored Contributor

Re: CDE login failed

OK can you detail what is in : /var/dt/Xerrors, the output from graphinfo wrt the graphics card name/details.

run CDE's diagnostic dr_dt any errors/warnings ?

also RAPSxinitcolormap what is it ? (i suspect this maynot be relevant).

What visual are you running with ? see /etc/X11/X0screens.

attempt a failsafe session -> CDE loginscreen->options ? result ?

It maybe worth your while tusc'ing the dtlogin processes just prior to login .....

Re: CDE login failed

Ok.
I ran dt_dt and it told me that there were alot of permision problems. I fixed all of them. It also told me that /usr/dt/app-defaults/C/dtwm is missing. I checked the directory and the file was renamed to dtwm.old. so I did a mv dtwm.old dtwm and rebooted the computer and CDE is now working. Thanks for all of your help.
No matter how much you kow today you'll have to know more tomorrow.