Operating System - HP-UX
1832251 Members
2713 Online
110041 Solutions
New Discussion

Re: CDE not starting in the console

 
SOLVED
Go to solution
Alex Almaraz
Regular Advisor

CDE not starting in the console

Hi gurus,

I am having problems with a HP-UX Workstation (B.10.20 A 9000/745), the CDE is not starting and just gives me the prompt in text mode once it has rebooted. By the other hand, if I start an X-session by using the Xsecure Pro software in my Laptop, it works. I need the CDE locally in order to launch some graphical applications.

can someone help on this?

Regards
9 REPLIES 9
Jeff Schussele
Honored Contributor

Re: CDE not starting in the console

Hi Alex,

Frequently CDE startup problems turn out to be DNS related.
Make sure the system resolves *both* forward (by name) & reverse (by IP).

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Rick Garland
Honored Contributor

Re: CDE not starting in the console

Was this working on the console previously?
Questions; do you have a graphics capable monitor for the console? Do you have a graphics card?
Alex Glennie
Honored Contributor

Re: CDE not starting in the console

Check for the following files

/usr/dt/config/xserver & /etc/dt/config/Xserver

/etc has precedence

edit where appropriate the last line reading

local local@console ....

most likely one of the files has a # in front of this line ?

Otherwise start X from the command line /usr/bin/X11/X :0 does this error ... perhaps device files ?

( insf -evd framebuf to recreate)
Alex Almaraz
Regular Advisor

Re: CDE not starting in the console


Jeff,
I have just added the ws to the DNS and it now resolves it (since it was not responding to the nslookup test) I am rebooting now.

Rick,
The WS was working before and it has a graphical monitor and a capable graphical card.

Some changes were made to the /etc/resolv.conf file, I set it up with a correct DNS and nameserver lines, hoping this can solve the problem.

Regards
Alex Almaraz
Regular Advisor

Re: CDE not starting in the console

Alex,

I tried to manually launch the X-session as you adviced but it just sent a gray screen like trying to open the graphical session but it couldn't.

I ran the insf -evd framebuf but without results, but it seems another video card was installed from another equal-workstation due video problems. it seems is the same kind of video card. May be the problem is with the video card, what do you think?
Anil C. Sedha
Trusted Contributor

Re: CDE not starting in the console

Alex,

My past experience has been related to network issues causing CDE to not start on the console.

Make sure you are connected to the network and the DNS resolution is fine. I am hoping that you are aware you can do this through /etc/resolv.conf file

Secondly, verify if .dtprofile in root directory is set correctly. Look in the /sbin/init.d/dt* script also. The dtlogin script is the last thing run on hp-ux startup which enables the CDE screen on console.

I have adjusted these two areas in the past to get things running for myself.

Let us know if anything helped in this regard.
If you need to learn, now is the best opportunity
Alex Glennie
Honored Contributor
Solution

Re: CDE not starting in the console

If you saw a grey mesh screen then X is working fine, its just CDE which appears to be hosed locally.

I'd move resolv.conf out the way along with pointing /etc/nnswitch.conf to look at files only, if this works check your dns.

If it doesn't run dr_dt , examine output,
ps -ef show dtlogin running ?
Antonio Cardoso_1
Trusted Contributor

Re: CDE not starting in the console

Hi Alex,

if some changes were done in /etc/resolv.conf you maybe need to check that nsswitch.conf is also OK.

getip
should resolve correctly your workstation's hostname.
If it does not, adding something as
hosts: files [NOTFOUND=continue] dns
in nsswitch.conf may solve your issue.
Alex Almaraz
Regular Advisor

Re: CDE not starting in the console

Thanks all for your responses, I really appreciate them.

But for now, another machine was configured with this configuration and is working now.

Best regards