1833781 Members
2214 Online
110063 Solutions
New Discussion

CDE Login Loop

 
Aaron Curtis
New Member

CDE Login Loop

When I try to login as root through CDE login screen I get the blue license
page, then a blank screen, and then the login screen again. Every time I try
it does the same thing. It just loops back to the Login screen. Same with root
or any other user. I can login to the command line and to failsafe (xwindows).
Any suggestions as to what the problem might be? I'm running HP-UX 10.20
4 REPLIES 4
user not active
Frequent Advisor

Re: CDE Login Loop

Trouble-shooting CDE info :

1. Try the cde diagnostic : /usr/contrib/X11/bin/dr_dt

2. Try checking in $HOME/.dt/startlog, you may wish to add "set -x " to the
last line of a users .dtprofile as this provides a lot more output to this
file.

3. As this affects all users I presume it's less likely to be due to
customisation or permissions ... has the hostname changed or are you 100 %
certain hostname resolution is working correctly, sounds as if the Xserver
startsprobably defaulting to display local:0, but CDE is failing perhaps to
resolve the Display fully, hence the blue screen but no full dtsession.

Maybe worth running set_params or using just /etc/hosts to resolve
hostnames locally to illiminate possible problem areas.

4. If the problem is on a remote display such as a PC X emulation client or an
xterminal, suspect fonts, set up a font server on the hp-ux box and make sure
the CDE specific fonts are included in the catalog & made available using xset
-q. Lastly don't forget to point the remote clients fontpath to use it.

Let me know what you find.

Alex
Glenn Wagner_1
Occasional Advisor

Re: CDE Login Loop

The problem is with the .dtprofile in the user's home directory. The following
line should be commented out:
DTSOURCEPROFILE=true
This line causes that 'cde loop' to occur. Unless you setup variables and
things in the CDE environment, you don't need this line.
Let us know if it works.
Randy Mather
Frequent Advisor

Re: CDE Login Loop

look at the /etc/dt/config/Xstartup config file for
an if then statement that looks for user "root" login
Steve White_8
Frequent Advisor

Re: CDE Login Loop

The only time I have seen this happen is when the system can't resolve its own
hostname. To change this vi /etc/nsswitch.conf

change not_found to continue in this file until the last entry it should be
return