- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: non-root user can't login on CDE console
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 02:26 AM
10-17-2005 02:26 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 02:39 AM
10-17-2005 02:39 AM
Re: non-root user can't login on CDE console
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 02:58 AM
10-17-2005 02:58 AM
Re: non-root user can't login on CDE console
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 03:11 AM
10-17-2005 03:11 AM
Re: non-root user can't login on CDE console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 03:22 AM
10-17-2005 03:22 AM
Re: non-root user can't login on CDE console
Thought of that too. Ran it with no errors plus ran allverify and it didn't find anything related to CDE.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 06:12 AM
10-17-2005 06:12 AM
Re: non-root user can't login on CDE console
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 07:12 AM
10-17-2005 07:12 AM
Re: non-root user can't login on CDE console
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 07:07 PM
10-17-2005 07:07 PM
Re: non-root user can't login on CDE console
Just my thinking. I would like to know what was the reason of problem so please post.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 08:06 PM
10-17-2005 08:06 PM
Re: non-root user can't login on CDE console
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 12:15 AM
10-18-2005 12:15 AM
Re: non-root user can't login on CDE console
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 01:14 AM
10-18-2005 01:14 AM
Re: non-root user can't login on CDE console
Once I had strange problems with newly added cluster member with /tmp. It was not writable by users, only root. Probably will not help, but try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2005 02:10 AM
10-18-2005 02:10 AM
Re: non-root user can't login on CDE console
I'm working with Victor on this from the support center. The part that is missing here is that theses systems have C2 security enabled on them.
Applications that have the SUID bit set on them will run and display on the graphics terminal. If the application does not have the SUID bit set, then the appliation fails with "can't open display" or "Invalid display for transport" which in this case is the "local" transport. If you use ip.address.of.system:0.0, then the application is allowed to display.
The applications with the SUID bit set on them are: xterm, dtterm, dxterm and xmesh.
All 4 of these applications can display to the console using ":0.0" or "local:0.0".
We are going to look into the SIA stuff today to see if there have been any changes into this database.
Cheers,
Rick Retterer
HP Services
Atlanta, GA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 02:14 AM
10-19-2005 02:14 AM
Re: non-root user can't login on CDE console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 02:21 AM
10-19-2005 02:21 AM
Re: non-root user can't login on CDE console
It is something more hidden from us than that.
We are continuing to work on this issue.
Cheers,
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 05:32 PM
10-19-2005 05:32 PM
Re: non-root user can't login on CDE console
this will solve ur problem
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 05:10 AM
10-26-2005 05:10 AM
SolutionIt appears that the permissions on the /tmp/.X11-unix/X0 file were changed from 777 to 755.
This only permitted the root user to have write access to the device file.
After changing the permissions back to 777 on the /tmp/.X11-unix/X0 file, now the non-root users are able to login and bring up a CDE session successfully.
Cheers,
Rick Retterer
HP Services
Atlanta, GA.
Tru64 Unix Graphics Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 05:44 PM
10-26-2005 05:44 PM
Re: non-root user can't login on CDE console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 07:50 PM
10-26-2005 07:50 PM
Re: non-root user can't login on CDE console
Vladimir ,
Setting 777 on /tmp is insecure !! The "t"-bit must be set on /tmp , so rather use :
chmod 1777 /cluster/members/member2/tmp
Rgds,
___ Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2005 08:00 PM
10-26-2005 08:00 PM
Re: non-root user can't login on CDE console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2005 12:38 AM
10-27-2005 12:38 AM
Re: non-root user can't login on CDE console
Vic