Operating System - HP-UX
1833701 Members
3549 Online
110062 Solutions
New Discussion

Why I can not login on CDE?

 
John Liu
Occasional Advisor

Why I can not login on CDE?

Dear friends,

I recently intalled 10.20 (Dec. 1999) version HP-UX on my B3600 system. Everything seems work smootly during installation. When system booted, I login as root on CDE, I got a message window "Unable to initialize or connect to the Desktop messageing system. Check your $HOME/.dt/errorlog for more information". whenever I click OK it go back exit the session. But I can login by changing to Failsafe session.

What's wrong with my installation?

Thanks

John L
JohnL
3 REPLIES 3
Andy Monks
Honored Contributor

Re: Why I can not login on CDE?

Hi John,

You've got a problem with the way you've setup networking on that machine.

Check /etc/hosts is correct (even if you use DNS/NIS). /etc/hosts MUST have the '127.0.0.1 localhost loopback' entry and an entry for this machine. It also must have the short name first. For example :-

14.51.45.62 fred fred.flintstone.com

and not

14.51.45.62 fred.flintstone.com fred

Also, DNS/NIS must resolve the hostname too (assuming your using either of these).

the 'hostname' command must also be the short name.

After that it 'should' work.

Andy
skarunanidhi
Occasional Contributor

Re: Why I can not login on CDE?

Hi!
1. Confirm your network card is up.
# lanscan
should be able to tell you whether your network adapter is up or not.

2.If you use NIS. Try this entry in /etc/nsswitch.conf. If you don't have it in /etc/ directory, copy from /usr/newconfig/etc/nsswitch.conf and edit hosts entry like the following,

hosts files[NOTFOUND=continue] nis dns

3.Ping to your hostname and confirm that your naming service is working fine.


Regards,
S.Karunanidhi
Karunanidhi.S
Alex Glennie
Honored Contributor

Re: Why I can not login on CDE?

I agree it sounds like networking : check using nslookup on both ip and hostname.

Try re-running set_parms ?

What's in $HOME/.dt/errorlog ? To gather more info : add set -x in .dtprofile and log in again.

Anythining in /var/dt/Xerrors or the syslog.log eg Tooltalk errors ?

Try running the CDE diagnotic : /usr/contrib/bin/X11/dr_dt