Operating System - HP-UX
1855315 Members
86331 Online
104109 Solutions
New Discussion

After Install HP-UX 11i in C3600, problem to CDE login

 
SOLVED
Go to solution
Alfredo Gamboa_1
Occasional Advisor

After Install HP-UX 11i in C3600, problem to CDE login

After install it in 64 bit.
When boot a OS, an after pass all start up steps, when goes to CDE window, it stop in black and show the clock.
But the sistem work.

If I stop the start up process "before" CDE log start, no problem, I can login (without windows), and I can run the "x11start" command and the x11 windows run correctly.

I think it could be a problem of configutation of X11.

Tanks for your help
15 REPLIES 15
Pete Randall
Outstanding Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

Perhaps a name resolution problem. Try logging in (before CDE starts) and running this to ensure the hostname is set properly:

/sbin/set_parms hostname
-and-
/sbin/set_parms ip_address

Then make sure your DNS server is updated with the correct name/IP address combination.


Pete

Pete
Rick Garland
Honored Contributor
Solution

Re: After Install HP-UX 11i in C3600, problem to CDE login

CDE is picky about name resolution.

In the /usr/contrib/bin/X11 directory is an executable file called 'dr_dt'

Run this. Will output warnings and errors for CDE
Alfredo Gamboa_1
Occasional Advisor

Re: After Install HP-UX 11i in C3600, problem to CDE login

Hi,

Yes the hostname and the ip_address are ok.

Alfredo
Alfredo Gamboa_1
Occasional Advisor

Re: After Install HP-UX 11i in C3600, problem to CDE login

Thanks Rick,

I have made the dr_dt command and here are the response.

Can you say me what is wrong?

Thanks again

Alfredo
Rick Garland
Honored Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

There are multiple warnings about directory permissions and so forth. Start there and clean up.
Alfredo Gamboa_1
Occasional Advisor

Re: After Install HP-UX 11i in C3600, problem to CDE login

In other WS have the like the same problems of permissions but run CDE login

I see in the .dt/startlog the errors ho can cause the problem but I don´t know how repair. I attach it.

And the info of HP CDE say: Yours (enviroment variable) is currently set to ""

This could be the problem, how can resolve it?

Thanks

Alfredo

Rick Garland
Honored Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

On the other WS, when you run the command 'env | grep DISP' you will get the environment variable for the DISPLAY.

On the current WS what does this 'env | grep DISP' output say?

This could still be a resolution issue. What does the /etc/hosts file have in it?
You have the loopback/localhost? Do you know the IP address? Can do ifconfig command to find out.

Do the 'xhost +' command then 'export DISPLAY='

I find the resolution to be suspect

Alfredo Gamboa_1
Occasional Advisor

Re: After Install HP-UX 11i in C3600, problem to CDE login

I can fix the DISPLAY to S6:0.0
but the "xhost +" say "cant open display"

and when I made a dtlogin it broke before the login panel

Alfredo
Rick Garland
Honored Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

Check with the network folks. Is the port 7000 blocked to this workstation?

port 7000 is the X traffic


Alfredo Gamboa_1
Occasional Advisor

Re: After Install HP-UX 11i in C3600, problem to CDE login

How can I test the port 7000 ?
Rick Garland
Honored Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

My mistake, should be port 6000. port 7000 is the font server.

Anyway, do you have the utility 'lsof'?
# lsof -i tcp:6000

No lsof, use netstat
# netstat -an

The return here will state if a connection is ESTABLISHED or LISTEN
Alfredo Gamboa_1
Occasional Advisor

Re: After Install HP-UX 11i in C3600, problem to CDE login

No Isof, I use netstat -an and I can´t see the port 6000, I attach the result

How can I create and configure this port ?

Thanks again

Alfredo
Rick Garland
Honored Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

You do not configure the port.

Check with the network folks to verify that port 6000 and port 7000 on the firewall (the X font server is on 7000) are open for the WS in question.

Rick Garland
Honored Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

Mark Ellzey
Valued Contributor

Re: After Install HP-UX 11i in C3600, problem to CDE login

Alfredo,

Also, check your /etc/nsswitch.conf file. If you are using DNS, check also /etc/resolv.conf and make sure your DNS domain and nameservers are correct.

I usually change my /etc/nsswitch.conf file to look at hosts first when setting up a new workstation. Then after all the CDE issues are ok, then change to NIS, hosts or DNS as needed.

Regards,
Mark