- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No-one but root can login into CDE
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-23-2003 08:20 PM
10-23-2003 08:20 PM
I've been setting up a new system...
I updated 3 system files..
/etc/PATH
/etc/profile
/etc/skel/.login
Ther are NO errors in these files, howwever since changing these files, only root can log into the graphical environment.
When other users log into the command line enviroment , the PATH vairable is - /usr/bin:./
and there is another varible set as:
_=/usr/bin/env
I just can;t work out what on earth ahs happened and even when rolling back the changes non-root users still can't log in.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 08:29 PM
10-23-2003 08:29 PM
Re: No-one but root can login into CDE
any messages in
do the non-root users get any error message on the screen?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 08:43 PM
10-23-2003 08:43 PM
Re: No-one but root can login into CDE
-r--r--r-- 1 bin bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 08:52 PM
10-23-2003 08:52 PM
Re: No-one but root can login into CDE
I am, however, getting the following message reported in $HOME/.dt/errorlog:
*** ERROR(4): dtsession
Invalid display name - exiting.
*** [91]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 08:58 PM
10-23-2003 08:58 PM
Re: No-one but root can login into CDE
when you set the DISPLAY variable, do you use an alias? Can this alias be resolved?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 09:09 PM
10-23-2003 09:09 PM
Re: No-one but root can login into CDE
well, the DISPLAY variable isn't set anywhere for non-error users from what I can see...
Is it just me or is this too obvious to be the cause?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 09:24 PM
10-23-2003 09:24 PM
Re: No-one but root can login into CDE
I do not see it either!
Last chance: did you update anything influencing the network, add a card or the like?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 09:30 PM
10-23-2003 09:30 PM
Re: No-one but root can login into CDE
#! /bin/ksh
echo $DISPLAY
echo $0 $*
$0.old $*
This way you should at least see in the log files what the value is that is is complaining about.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 09:33 PM
10-23-2003 09:33 PM
Re: No-one but root can login into CDE
/usr/dt/bin/dthello &
/usr/dt/bin/dthello: can't open display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 09:47 PM
10-23-2003 09:47 PM
Re: No-one but root can login into CDE
Not a terminal
stty: not a typewriter
stty: not a typewriter
Error: can't open display :
logout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 09:59 PM
10-23-2003 09:59 PM
Re: No-one but root can login into CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 10:06 PM
10-23-2003 10:06 PM
Re: No-one but root can login into CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 10:21 PM
10-23-2003 10:21 PM
Re: No-one but root can login into CDE
Also try (re)moving $HOME/.dt so that the default is used to make sure that the problem is not in the sessions files for the normal users.
Hope this helps solving the problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 10:34 PM
10-23-2003 10:34 PM
Re: No-one but root can login into CDE
is something being written to:
/var/dt/Xerrors
when you attempt to login. If so, do the last lines give a clue?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 10:43 PM
10-23-2003 10:43 PM
Re: No-one but root can login into CDE
I have even deleted a user and then re-inserted one and even then no log-in is possible.
i also attempted moving the .dt folder, again that did nothing to help matters along. i appreciate the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 11:07 PM
10-23-2003 11:07 PM
Re: No-one but root can login into CDE
/usr/bin/X11/dthello & : unable to open display '
mwm: could not open display
the host name is correct, the display variable is correct...and even after re-creating the user...still nothing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 11:38 PM
10-23-2003 11:38 PM
Re: No-one but root can login into CDE
If so, try removing that setting and see if that solves your problem... because on a console you don't need to set the display variable to hostname:0 but can use things like localhost:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 12:35 AM
10-24-2003 12:35 AM
Re: No-one but root can login into CDE
I have executed /usr/X11/bin/dthello from the command line and I get the same error -
'Can't open display'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 12:53 AM
10-24-2003 12:53 AM
Re: No-one but root can login into CDE
If this is not the cause of your problem, I'm out of options with the information you gave till now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 12:58 AM
10-24-2003 12:58 AM
Solutionit sounds as is the Xserver is not allowed to display on your screen, like if you have not run the "xhost +" command, but if there is no further hope, then try this command:
# /usr/contrib/bin/X11/dr_dt
which checks the CDE related setting.
Redirect the output to a file and look for ERRORS. You will get a lot of output which may hold a number of warnings that may not be the cause of your problem. If there are errors that would be the obvious thing to concentrate on first.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 01:09 AM
10-24-2003 01:09 AM
Re: No-one but root can login into CDE
Many thanks for your help.
I know for sure (99%) that the current copy of /etc/profile is the original, however, is it possible to get another version that I could use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 01:13 AM
10-24-2003 01:13 AM
Re: No-one but root can login into CDE
Please check the simple thing that got me once. Make sure /etc/hosts is world readable.
I.e.: -r--r--r-- bin bin /etc/hosts
Maybe it'll help. Good luck!
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 01:26 AM
10-24-2003 01:26 AM
Re: No-one but root can login into CDE
and now quadruple checked it :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 02:42 AM
10-24-2003 02:42 AM
Re: No-one but root can login into CDE
Root still logs in fine, all other users can not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 03:14 AM
10-24-2003 03:14 AM
Re: No-one but root can login into CDE
It din;t identify the exaact problem, but it gave me enough information to help me locate the problem.
The cause? Believe me when I say this, I did not do it. Another admin login ahd inadvertently chanegd the rights to /etc directory to r--r--r--.
Once they were changed back rwx-r-xr-x, all is fine and wonderful again.