Ubuntu: no X11 and/or Login loop ?!

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1484
Joined: Fri Aug 29, 2003 8:39 pm

Ubuntu: no X11 and/or Login loop ?!

Post by ^rooker »

[PROBLEM]
A friend of mine couldn't login to her computer this morning, because the graphical interface X11 never came up after boot.
There were some boot messages in text-mode left on the screen. No error messages, however.

I tried the text console (Ctrl+Alt+F1) and could login without problems. So I knew that the OS itself was fine.
Then I tried to start X11 under her user:

Code: Select all

$ startx
But it failed. I must admit I should have checked the logs in ~/.xsession-errors, but I forgot.

However, in the end I tried "startx" as root and it worked.
That's when I realized that actually the disk was full.

I freed some space, rebooted and tataa: The X11 login screen popped up. YAY! :)

Now there was another problem:
When trying to login under her user, the screen showed some text console messages and then reverted back to the login prompt.
A login prompt loop! :shock:

[SOLUTION]
First of all: Next time check ~/.xsession-errors before doing anything else!
In my case, it explained why it wouldn't let me log in to X11:
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply