Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem logging in to CDE HPUX -11

Status
Not open for further replies.

dazzab

Technical User
Mar 23, 2001
5
0
0
GB
I have just bought my first Unix workstation, a HP B160L, and have installed HP-UX11 on it. I use Solaris quite a lot at work, so HP-UX is a little different!

At bootup, I eventually get to the HPUX common Desktop Environment prompt. When I type in my username and password, it goes away to think for about 10-15 seconds, and then takes me back to the login prompt.

I don't think that it is a password thing, as when I type in an incorrect password it tells me. I can also login at the command line, and that works fine.

Any ideas?

Thanks

 
Hi dazzab,

Usually this problem is related with the user's .profile
or .login (depending on his login shell).
Normally in these files include some commands (like
stty or tset) that require a tty to function and fail
during the CDE session because at that time there is
not any tty assigned to your process.
Review the files $HOME/.dt/errorlog and startlog
to know if they register such problem.

You can control if .profile is executed or not during
cde login session commenting out the line:

DTSOURCEPROFILE=true

in your $HOME/.dtprofile.

Also the problem could be caused by the mouse being
disconnected.

hope this helps.

rgds.
Jose M. Blanco
MVP BrainBench for Unix admin.
 
Thanks! I'll give it a try
 
When this prob happens to me it is usually because the machine does not recognise its self in the /etc/hosts file. Worth checking out.
 
Hello:

If your problem is not solved yet try to do the following:

cp /usr/dt/config/Xconfig /etc/dt/config
uncomment Dtlogin*authorize False
/sbin/init.d/dtlogin.rc stop
/sbin/init.d/dtlogin.rc start



 
Actually, this problem is almost always related to networking problems, mainly name resolution. If the machine is not able to resolve its hostname you will get this problem. Make sure that the IP address and hostname in /etc/rc.config.d/netconf match what you have in your /etc/hosts file.

Also if you have DNS configured make sure it is running, othewise you may want to change your /etc/nsswitch.conf file to resolve its hostname using files first.

If you are using NIS make sure the NIS master server knows about your machine.

Let me know if this helps..

Joseph Salzer
 
Folks,

If the host can not resolve it's own name, not even dtlogin will work. Since dtlogin works, it's not a name resolution problem. The problem may be that the system can not find a required binary or file. I once copied the Xsession file from another system without the -p resulting in the file not being executable and I had symptoms identical to dazzab.

J
 
Hi dazzab,

your problem shows up when you install HP-UX without
any network-configuration.If you don't need to setup
a network-configuration try this:

edit /etc/dt/config/Xconfig:

line:
Dtlogin*authorize: TRUE

change TRUE to FALSE and it will work.

Regards,

Fred

P.S.: please slip a note if it helped you. Thanks.
 
Check the run level that CDE is started in inittab.

Tim.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top