Operating System - HP-UX
1834353 Members
1964 Online
110066 Solutions
New Discussion

CDE Login GUI is not being displayed.

 
Ed Duffner
Occasional Advisor

CDE Login GUI is not being displayed.

Hi,



I'm sure similar questions have been asked lots of times but I can't seem to find the answer to this problem.



Basically my HP9000/C110 is running HP-UX 11.0 and CDE is the windowing environment.



The system boots and gets to a login prompt that I cannot type into, this is where the graphical login should take over and prompt for a password.



Instead, the screen displays the usual greeting with a console type login prompt which is frozen, no text input possible. I guess dtsession is locking out the console login but isn't starting the gui.

The default run level in /etc/inittab is 3.

I can remotely login and do anything, the real problem is the gui not starting.



I can also export the display and run X apps on a different system.



What's wrong folks?



Here's what I have running...



ps -ef | grep X

root 1634 1632 249 15:40:45 ? 14:42 /usr/bin/X11/X :0 -auth /var/dt/sseuxAAAb01632





ps -ef | grep dt

root 1634 1632 196 15:40:45 ? 16:05 /usr/bin/X11/X :0 -auth /var/dt/sseuxAAAb01632

root 1632 1622 0 15:40:44 ? 0:00 /usr/dt/bin/dtlogin

root 1622 1 0 15:40:44 ? 0:00 /usr/dt/bin/dtrc /usr/dt/bin/dtrc





Regards,

Ed.
7 REPLIES 7
Sajid_1
Honored Contributor

Re: CDE Login GUI is not being displayed.

hello,

Did you check the log files? The CDE log file will have a description of errors while it's trying to start the display. May be even a single mouse (pointer device) issue!

hth
learn unix ..
Wodisch_1
Honored Contributor

Re: CDE Login GUI is not being displayed.

Hi Ed,

can you show us the last few lines of your "/var/dt/errors" logfile?
And the output of "grep getty /etc/inittab", and your "/etc/gettydefs", too?

But since you cannot type anything in, maybe your keyboard is broken (or not plugged in correctly)?

Just my $0.02,
Wodisch
Ed Duffner
Occasional Advisor

Re: CDE Login GUI is not being displayed.

Hi guys,

I've attached the output of...

/var/dt/Xerrors:

grep getty /etc/inittab and /etc/gettydefs

I can rule out the keyboard as this works when I go into single user mode.

The mouse is a PS2 type, as is the keyboard.

Regards,
Ed.
T G Manikandan
Honored Contributor

Re: CDE Login GUI is not being displayed.

If your CDE is not getting up started

1.check whether your hostname is resolving properly.

check /etc/hosts

##.###.##.##
127.0.0.1 localhost loopback

check /etc/nsswitch.conf

If you are using /etc/hosts for resolving hostnames

hosts: files [ NOTFOUND = continue ] dns




2.Run
#/usr/contrib/bin/X11/dr_dt

re-direct the output to a log file and revert.
like,

/usr/contrib/bin/X11 >/tmp/cdelog.


Thanks
Stephane Berhault
New Member

Re: CDE Login GUI is not being displayed.

hi Ed,

Have you try to rebuild your CDE environment ?

Can you log in on the system using telnet ?

In /home/$user/ delete your .dt directory
to generate a new environment.

rm -r .dt

have you check in your .profile that you don't
source a inexistent file !

If you do so, cde "dtlogin" will loops indefinitely.

hope, that helps you !
Kenneth_18
Frequent Advisor

Re: CDE Login GUI is not being displayed.

Hi, I've had a similar problem with the CDE not being executed. The problem I had was that the dns was not able to resolve the hostname of the server since I just inserted it into our network and the cde was trying to resolve the hostname via the dns.

Just make sure that in your nsswitch.conf file, for the "hosts" entry , files (etc/hosts) should be checked first before the dns.

Or you can just temporarily comment out all the entries in your etc/resolv.conf file to temporarily disable the dns query.
Ed Duffner
Occasional Advisor

Re: CDE Login GUI is not being displayed.

Hi All,

I'll try to reply to all the suggestions so far.

# /etc/hosts is ok, I have the localhost set up correctly.

# /etc/nsswitch.conf is also ok; I set it to look at files first. (I even tried switching DNS and 'files' and 'hosts' around too).

# dr_dt gives me no WARNINGS or ERRORS, just INFO.

# I haven't tried rebuilding my CDE environament. Can I do this with my 11.0 media with 'sam' ?

# I can rlogin and if I kill everything which is dt related I can also log in locally, I can get contol of the system. I can even export the display and run X applications.

# The system, when it boots up should automatically come to a login prompt. I'm not sure that a user .profle would influence this initial login.

# Does the root .profile influence dt login?

Thanks for all your help and suggestions guys.

Regards,
Ed.