1833986 Members
2736 Online
110063 Solutions
New Discussion

Re: CDE login failing

 
Nilzelio Monteiro
Occasional Advisor

CDE login failing

Hi,
I am trying to login by the CDE login screen, but the system isn??t accepting my user (root). I am sure about the user and the password. I don??t have problem by telnet with the same user and password. What is wrong?

Thanks a lot
5 REPLIES 5
Kellogg Unix Team
Trusted Contributor

Re: CDE login failing

login as root to "failsafe session" or "command line login". Then go to ~/.dt directory and look for startlog and errorlog.

Rgds
...Manjeet
work is fun ! (my manager is standing behind me!!)
Christopher McCray_1
Honored Contributor

Re: CDE login failing

Hello,

At you username screen, make sure there is no space behind the cursor by hitting the backspace key. Then log in. I know this sounds crazy, but this happens all the time on my CDE terminals.

Hope this helps

Chris
It wasn't me!!!!
Jeff Schussele
Honored Contributor

Re: CDE login failing

Does root's home dir have a .dtprofile file & the .dt directory structure?

Can you CDE in as another user?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
kish_1
Valued Contributor

Re: CDE login failing

just check your /etc/hosts file, have you modified any entry of localhost and the same machine host entry
share the power of the knowledge
Rick Beldin
HPE Pro

Re: CDE login failing

There a couple of things that could be wrong. First, lets go over the login process. When you enter your password at the login screen, dtgreet needs to authenticate your login and pass the results back to dtlogin. Until dtlogin gets a good response from dtgreet and starts Xsession, nothing will be updated in $HOME/.dt, because the system has yet to acknowledge your presence. There might be a message in /var/dt/Xerrors, but possibly not. Syslog might also something from PAM, relating to a failed login.

Among things to check:

- Have you moved the passwd file, switched NIS passwd servers or anything of the like since starting CDE? If you have, you will need to stop/start CDE.

- Did you happen to set up a securettys file? This could prevent root from logging in anywhere but the console.

- /etc/dt/config/Xconfig modification - keys or other options modified?

Sometimes the quickest thing to do is to find out what dtlogin is thinking about. You can turn on dtlogin debugging by editing the file /usr/dt/config/dtrc.d/90_dtlogin_st

and changing the following line from:

exec $DTLOGIN $VL_ARGS < /dev/null > /dev/null 2>&1

to

#exec $DTLOGIN -debug 9 < /dev/null > /tmp/dtlogin-$$.log 2>&1

Then stop/start dtlogin:

/sbin/init.d/dtlogin.rc stop

/sbin/init.d/dtlogin.rc start

When dtlogin starts up again, it will log to /tmp/dtlogin-.log where pid is the pid of the dtlogin parent. Try a root login, let it fail and then look at the log for PAM and authentication messages. This might lead us in the direction where the problem is occurring.
Necessary questions: Why? What? How? When?