Operating System - Tru64 Unix
1751924 Members
4616 Online
108783 Solutions
New Discussion юеВ

Re: non-root user can't login on CDE console

 
SOLVED
Go to solution
Victor Semaska_3
Esteemed Contributor

non-root user can't login on CDE console

Greetings,

I have a weird problem that just started happening. First, the stats:
5 ES45s in a TruCluster V5.1B PK4.

A non-root user can't log into the console on the 5th member. It accepts the username and password but stalls for a few seconds with the a blank screen and then the login window re-appears. Account root can login without any propblems.

The same non-root user can log into the consoles of members 1 thru 4 without any problems.

I'm not that familiar with CDE but this is what I found:

~/.dt/errorlog
Mon Oct 17 10:05:34 2005
Workspace Manager: I/O error on display:: :0.0

~/.dt/startlog
--- Mon Oct 17 10:13:29 EDT 2005
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- Reloading host access via dxhosts
--- sourcing /usr/users/SYSO/whitmans/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath
/usr/dt/bin/dthello: can't open display
Error: Can't open display: :0
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession with no profile...
--- Starting /usr/dt/bin/sdtdbcache -init
--- Starting /usr/dt/bin/ttsession -s
--- Starting /usr/dt/bin/dtsession
--- not sourcing /usr/users/SYSO/whitmans/.profile (see /usr/users/SYSO/whitmans/.dtprofile)

So it appears to be having problems opening the display but why? Also, why only on the 5th member?

I tried restarting the CDE with:
/sbin/init.d/xlogin stop
/sbin/init.d/xlogin start
It didn't help.

Thanks,
Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
19 REPLIES 19
Ivan Ferreira
Honored Contributor

Re: non-root user can't login on CDE console

It may be a file system permissions error, or a bad DISPLAY environment variable set.

Verify the permissions for the hosts file, the home directory, the tmp directory. This is less probably because on the other nodes it works, but as root can login, you still should check that.

Verify the value of the DISPLAY variable for the user.

Verify the hosts and dns entry for this host.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Victor Semaska_3
Esteemed Contributor

Re: non-root user can't login on CDE console

Ivan,

Thanks for the advice. I checked the permissions of the files you mentioned and they're OK. Also, host and DNS entries are fine. The user doesn't set DISPLAY. When I log in on another member as that user DISPLAY is:
:0.0
Which is normal.

It does look like a permissions problem and since it's only member 5 it sounds CDSL related.

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Ivan Ferreira
Honored Contributor

Re: non-root user can't login on CDE console

You could use cdslinvchk to verify CDSLs.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Victor Semaska_3
Esteemed Contributor

Re: non-root user can't login on CDE console

Ivan,

Thought of that too. Ran it with no errors plus ran allverify and it didn't find anything related to CDE.

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Ivan Ferreira
Honored Contributor

Re: non-root user can't login on CDE console

I think that you have a long way to go.

Can a newly added user logon to the console?

Can you post please the contents of /var/dt/Xerrors.

Also verify the permissions of the files and directories in /var/dt.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Victor Semaska_3
Esteemed Contributor

Re: non-root user can't login on CDE console

Ivan,

You're right, I do have a long way to go. When it became apparent that it wasn't a simple problem I decided to call HP Telephone Support and so far he's baffled.

I'll post what the problem was when we find it.

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Vladimir Fabecic
Honored Contributor

Re: non-root user can't login on CDE console

Do all servers have same graphycs adapter? Do device files of this node have the same permitions?
Just my thinking. I would like to know what was the reason of problem so please post.
Regards
In vino veritas, in VMS cluster
Balasubramanian S
Frequent Advisor

Re: non-root user can't login on CDE console

Hello Victor,
Can you please do/check the following?

* Can you make sure that /etc/hosts is world readable.

* remove the $HOME/.dt directory this ensures that the problem is not with the session files.

* Is the DISPLAY environment variable the same for root and non-root users?
Victor Semaska_3
Esteemed Contributor

Re: non-root user can't login on CDE console

Vladimir,

All 5 ES45s have the same graphics adapters, actually they are identical in hardware configuration.

The device files have the same permissions.

I will post what the problem was when we find it.


Balasubramanian,

/etc/hosts is world readable.

We did try deleting the ~/.dt but it didn't help.

The DISPLAY environment variable is the same for root & non-root which is :0.0

Thanks guys for your help,
Vic

There are 10 kinds of people, one that understands binary and one that doesn't.