LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-19-2005, 09:14 PM   #1
tehnick
Member
 
Registered: May 2004
Location: Cleveland, Ohio
Distribution: Debian 3.1
Posts: 30

Rep: Reputation: 15
x problems when not under root


using the gdm you can login and start x with root, but if you try to with a user you get this error:

Your session has lasted less than 10 seconds, if you haven't logged out
> yourself, then there might a problem with this installation or you are
> running out of disk space. Try one of the failsafe sessions to fix the
> problem."
>

any ideas?
 
Old 04-19-2005, 09:58 PM   #2
BurningDog
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
I've had that problem before too.

Check your x startup log and .xsession-errors in your home directory to see exactly what the problem is. I believe my problem was that somehow a file x depends on to start had gotten its permissions changed to where the user couldn't read it.

Last edited by BurningDog; 04-19-2005 at 10:03 PM.
 
Old 04-20-2005, 04:41 AM   #3
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
As noted above, it might be a temporary file owned by root, instead of a user. Check your homedir with "ls -la|less" and see if any root-owned system files are found. If so, move them away or delete them.

If that fails, try creating a new user to the system, and login.

If it fails, check that /tmp is readable AND writable by ordinary users. Check that all dirs in /tmp have appropriate permissions and owners. For example I have entries like this:

drwx------ 3 basil basil 4096 2005-04-20 12:12 gconfd-basil
drwx------ 2 birgit users 4096 2005-04-20 11:43 gconfd-birgit
drwx------ 2 basil basil 4096 2005-04-20 12:42 orbit-basil
drwx------ 2 birgit users 4096 2005-04-20 11:43 orbit-birgit

These directories can be deleted (at least when not logged in graphically) safely, so you could try that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems with root proNick Ubuntu 4 11-16-2005 03:10 AM
Problems with root Jamsoft Linux - Newbie 6 02-25-2005 10:59 AM
problems with root filesystem ramzai Linux - Newbie 2 02-11-2005 01:04 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM
Root problems with X blueplazma Linux - General 6 10-27-2002 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:50 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration