Operating System - HP-UX
1832857 Members
3492 Online
110047 Solutions
New Discussion

Re: CDE Desktop not coming

 
SOLVED
Go to solution
Pankaj_22
Advisor

CDE Desktop not coming

I have HP-UX 11i. I am only able to login through "root". No user is able to use there personal login. After login window desktop is not appearing at all. It prompts an error "1. Choose Failsafe Session 2. Check \etc\hosts file.

Please help me in this
9 REPLIES 9
Arunvijai_4
Honored Contributor

Re: CDE Desktop not coming

There could be some problem, have a look at this thread for solution

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726279

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: CDE Desktop not coming

what is there in /etc/hosts file of hp-ux machine. Check resolvation method setup in /etc/nsswitch.conf file for hosts: entry.

Set DISPLAY Variable with ip-address for every client with /etc/profile (Enable with CDE to use /etc/profile while log-in).

export DISPLAY="$(who -muR | awk '{ print $NF}' | xargs getip):0.0"

hth.
Easy to suggest when don't know about the problem!
Devender Khatana
Honored Contributor

Re: CDE Desktop not coming

Hi,

Posibally it is a name resolution problem. Is it able to look up for hostname and vice-versa.

Try

#nslookup hostnanme
&
#tracert w.x.y.z

Where w.x.y.z is the IP Address of the host.

HTH,
Devender
Impossible itself mentions "I m possible"
Muthukumar_5
Honored Contributor

Re: CDE Desktop not coming

Check more as,

# cat /etc/nsswitch.conf
hosts: entry part

# cat /etc/resolv.conf for DNS host resolvation
# cat /etc/hosts for files host resolvation.

# check resolvation with nslookup / nsquery tool.

# nsquery hosts hostname "hosts: entry from dns"

Is it working correctly.

# check .dt directory file permission more. It may be given permission to root only.

hth.
Easy to suggest when don't know about the problem!
Denver Osborn
Honored Contributor
Solution

Re: CDE Desktop not coming

if it works fine for root but not for users, then I'd check permissions. Ensure /etc/hosts and /etc/resolv.conf as well as /etc/nsswitch.conf have world read perm set.


chmod 444 /etc/hosts /etc/nsswitch.conf /etc/resolv.conf

-denver
Pankaj_22
Advisor

Re: CDE Desktop not coming

I checked up all the files like
\etc\hosts ; nsswitch.conf ; resolv.conf

also I tried nslookup its also running fine.

Hostname is coming properly. Also I checked up permissions \etc\lib\security\*.* set to 555

Now advice me what I can do
Pankaj_22
Advisor

Re: CDE Desktop not coming

Thanks Denver given 10 points for you
Denver Osborn
Honored Contributor

Re: CDE Desktop not coming

>Now advice me what I can do

your last post wasn't too clear, but did you have to correct file permissions? Is it working well now or did you need additional help?

-denver
Pankaj_22
Advisor

Re: CDE Desktop not coming

Denver with the help of change in permissions problem resolved.

Thats why I said thanks.