1827581 Members
2580 Online
109965 Solutions
New Discussion

Re: CDE login problems

 
Sam Davis_1
Occasional Contributor

CDE login problems

Hi everyone! I've got myself into a big mess. I am using a C240 with HP-UX 10.2 and cannot login to CDE. After I enter the username and password the CDE the startup screen appears but then the login screen appears once again. The only thing that has changed since this error started to occur was I enable the NFS client. Naturally I tried to disable it however it complains it cannot unmount some NFSs. I checked and only local file systems are mounted. I also noticed during boot the "NCS broker deamons" fail to load. NFS also fails. Any suggestions are greatly appreciated.
7 REPLIES 7
Chris Vail
Honored Contributor

Re: CDE login problems

I doubt that this is an NFS issue. Every time I've had this happen to me, it was because there was a problem in the .profile for the user. Even if telnet or rlogin has no problem with a .profile, CDE does. Check to make sure that the .profile works FLAWLESSLY for that user.


Chris
Sachin Patel
Honored Contributor

Re: CDE login problems

Hi Sam,

Most of the time it is because system can't resolve it's own name or you do not have home directory.

Are your home directory in nfs server?

Try to login as root.

Change /etc/nsswitch.conf file
passwd: file nis

add some test user in to /etc/passwd file
sachin::100:101:Sachin:/home/sachin:/bin/csh

Try to login as this user. don't forget to create directory /home/sachin.

This is to make sure you have nfs home directory problem.

If yo do not have your home directory on nfs then do do above.

Check name resolv.

please check
#cat /etc/hosts
#cat /etc/resolv.conf

Thanks
Sachin
Is photography a hobby or another way to spend $
Paul Sperry
Honored Contributor

Re: CDE login problems

check:

/etc/hosts
/etc/resolv.conf
/etc/nsswitch.conf
/etc/rc.config.d/netconf

I have seen this happen when the system can't resolve it's own hostname. Good luck
Efim Kushnir
Frequent Advisor

Re: CDE login problems

Hello.

You can have two problem IMHO.

1. May be you have repletion of /var . You may clear some logs and don't use files.
Some time ago I was have the same problem on D220 under HP-UX 10.20. After cleaning all work normal. Cleaning you can do through telnet with SAM or manualy.

2. May be it from not correct work of network parameters.
# SAM -> Networking and Communications ->
-> Name Service Switch

In this folder you can change order of choose of services.
I alltime choose the first sourse from /etc
The second source I set as DNS and third source - NIS

May be it will be assist to you.

BR,
Efim
Look for the answers, do not stop !
Rick Beldin
HPE Pro

Re: CDE login problems

When this type of situation occurs with CDE, it is more than likely a permissions problem.

Start by:

- examining $HOME/.dt/errorlog and startlog. Look at the date. Does it correspond to the last login? If it doesn't then it means that you didn't even get as far as start Xsession. If the date matches the last login date, what error messages do you have there?

- /usr/contrib/bin/X11/dr_dt can spot gross permissions problems.
More subtle ones are harder.

Make sure that:

- home directory is writable
- if home dir is NFS, that your uid/gid on local system match the remote system
- /dev/null and /tmp need to be writable

Necessary questions: Why? What? How? When?
T G Manikandan
Honored Contributor

Re: CDE login problems

check the troubleshooting doc

This should resolve all problems

Sam Davis_1
Occasional Contributor

Re: CDE login problems

Thank you everyone for your suggestions. I ended up reloading the OS. This was a new system that was only run for a few hours before the problems started showing up. Since either way I was going to have to configure the system I figured this was the easiest way to go. Thanks again!!!