LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-29-2007, 03:13 PM   #1
landev
Member
 
Registered: Aug 2006
Posts: 43

Rep: Reputation: 15
Only root user can start a gui session


I am running Redhat AS4 on an HP DL320 server which has worked flawlessly for the past year or so. As of this morning, when I (or any non-root user) tries to log in via gnome or KDE, the system states that there is either no disk space available (not the case) or that there is a configuration error (most probably the case!)

What's odd is there have been no configuration changes to the machine for months and the root user can login fine via either KDE or gnome. Also all users can log in via ssh without a problem. If I grant root access to a user (i.e. change their ID to 0) they can log in fine. As near as I can tell, permissions look fine on the home directory and its subdirectories.

Any ideas would be appreciated.
 
Old 01-29-2007, 03:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well show us the actual errors, prove there is disk space etc...
 
Old 01-29-2007, 03:25 PM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
As ext3 reserves 5% space for user root, it might be that the filesystem is full for everybody else but root. Post the result of `df -h`.
 
Old 01-30-2007, 10:03 AM   #4
landev
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
All,

The message is lengthy... to paraphrase:

"Your session lasted less than 10 seconds. If you did not deliberately log out, then you may have an installation problem or be out of disk space."

As for disk space, the output of df is:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
145G 14G 125G 10% /
/dev/sda1 99M 32M 62M 34% /boot
none 1.5G 0 1.5G 0% /dev/shm



I guess I should also throw in the fact that there are no quotas on this system.


Thanks!
 
Old 02-09-2007, 03:46 PM   #5
Hep
LQ Newbie
 
Registered: Dec 2005
Posts: 25

Rep: Reputation: 15
Did you check .ICEauthority and .Xauthority files in your users home directories?, they must be own by the user of the home with rw permission.
 
Old 02-12-2007, 10:30 AM   #6
landev
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
The file permissons and ownerships are correct on both files. I am at this point beginning to think that a rebuild of the system is in order... I get a bit nervous when machines undergo personality changes for no apparent reason!
 
Old 02-12-2007, 10:45 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you've not shown us the actul error messages in /var/log/Xorg.0.log and such like yet...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start X session as any new user FibonacciPrower Linux - Software 4 07-20-2006 09:01 PM
konqueror as root while in user session? bigwheel Slackware 2 05-13-2006 04:24 PM
only root can start X session ylts Linux - Software 1 05-23-2005 06:09 PM
Sorry dumb question - how to start graphical root session in KDE OrganicOrange84 Linux - Newbie 4 08-16-2004 06:29 AM
User cant start an X session Chijtska Linux - Software 8 03-20-2002 08:55 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration