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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDE can't logon

Status
Not open for further replies.

ericwong

MIS
Oct 3, 2001
8
HK
Hi

I can't logon with CDE environment. When I key in the passwd and press enter
in login screen, it seems to do thing but some while it jump back to login
screen. I can logon at telnet mode,
logon with X-Windows. And, I had checked all network setting is correct. How
to check the dtlogin daemon and other idea?


Thanks
Eric
 
Eric,

Do you have loopback and localhost defined in your /etc/hosts?
Also put your hostname there with ip of your "standard" interface.

-Fredrik
 
Check if Loopback interface is up.

ifconfig lo0 up
lsattr -El lo0

This are the CDE Login releated Files

evtl. $HOME/.dt/config
/etc/dt/config/Xsessions --> Edit Userdefinitions
(copy from /usr/dt/config )

/etc/dt/config/Xstartup --> Userdefinitions
(copy from /usr/dt/config)

/usr/dt/config/Xsessions
Do not Edit !File !!

/usr/dt/config/Xstartup
Do not Edit this File !!!
 
Make sure no filesystem is full and that you have all the X11 filesets...
and you did an lppchk -v and lppchk -c to be sure nothing broken...

Other Troubleshooting things to look for

Make sure no filesystems are full with the df -k especially / and /tmp
and /var
Look at the error files in Xerrors file also in the /.dt the startlog and errorlog.

lssrc -s xfs (to check for font server..
ps -ef | grep X /usr/bin/X11/xfs /usr/bin/aixterm /usr/X11/bin

Also check these logs for problems...
/var/dt/Xerrors
$HOME/.dt/startlog
/tmp/xlogfile

If you have a problem with login try running manually after checking the logs.
/usr/dt/bin/dtlogin -debug 10 | tee /tmp/mylogfile......
REMEMBER that if you run in debug mode, you must first stop all current
dtlogin processes. Be sure all CDE users logged out, before killing or they
may lose data.

ps -ef | grep dtlogin
kill -9 the - daemon and then all the processes that are running for dtlogins

cd /var/dt
and remove Xerrors and Xpid files
then restart the rc.dt from etc...and check that the demons are there...

----------------------------------

Blue screen and an X usually means that the network is messed up or
DNS is messed up.
Try checking network interfaces (like hostname, IP address). Remember
these should never be changed with CDE is running. Also remember that you
can add an /etc/netsvc.conf file with the line hosts=local which may help
name resolution. Make sure to check /etc/hosts and your hostname .

However, if the CDE hangs at blue screen even though all names are resolved,
the network is stable, the filesystems are not full, and enough paging space
exists. The MANPATH in /etc/environment has been modified. As root, using
your preferred editor, fix it. Also check errpt -a | more (any errors?)
 
I have a similar problem with a twist.

My own account can log in to CDE with no problem. root, however, can't. This is a little inconvenient because I have a graphics console. I can come up as root in failsafe mode and at the command line.

This problem appeared sort of out of the blue: It happened after the system may have come down hard: (air conditioning went out in the computer room, room got way above what it should have been, and someone else used shutdown to bring the system down. The system may have not been all the way down before it was unplugged.) No other changes were made and the problem appeared after the system came back up following our overheating problem.

I have tried copying my personal .dt directory to root's, but it doesn't do any good -- I still get a blue screen and then back to the login screen when trying to sign on at the console as root.

Any ideas on where else to look?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top