LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot start X session as any new user (https://www.linuxquestions.org/questions/linux-software-2/cannot-start-x-session-as-any-new-user-465992/)

FibonacciPrower 07-20-2006 03:08 PM

Cannot start X session as any new user
 
Hello,

I have recently discovered that I can't start an X session as any user other than myself or root. After creating a new user account for the umpteenth time, and trying to login, be it using gnome or KDE, I only get this error message:

Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix the problem.

View details (~/.xsession-errors file):

Code:

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x /var/gdm/:20.Xservers" -h "" -l "20" "invitado"
PRNG is not seeded

Strange thing is, there is no .xsession-errors file in the home directory of the new user. Or in any home dir, for that matter.

What am I doing wrong?

Thanks in advance,

-Fibo

bosewicht 07-20-2006 04:13 PM

Quote:

Originally Posted by FibonacciPrower

View details (~/.xsession-errors file):


Have you looked at the xsession-errors file?

FibonacciPrower 07-20-2006 06:34 PM

Quote:

Originally Posted by bosewicht
Have you looked at the xsession-errors file?

Quote:

Originally Posted by FibonacciPrower
Strange thing is, there is no .xsession-errors file in the home directory of the new user. Or in any home dir, for that matter.

Yes I have.

seculor 07-20-2006 06:54 PM

I had the same problem and solved it by changing the default shell for the new user to /bin/bash. Sorry, I don't remember exactly how I did that.

FibonacciPrower 07-20-2006 09:01 PM

Quote:

Originally Posted by seculor
I had the same problem and solved it by changing the default shell for the new user to /bin/bash. Sorry, I don't remember exactly how I did that.

I do, and the default shell for all new users IS already /bin/bash. Besides, I'm trying to start X from gdm, not from the shell...


All times are GMT -5. The time now is 04:36 AM.