X server start up failure

Asked by Holger

We have been using ubuntu for about 1 year on our laptop now, however since yesterday I can't log-in anymore. The log in screen does not appear any more and a message "Cannot start-up x server (your graphic environment) due to an internal error. Talk to your sys admin and restart GDM after this is solved"

Starting the system with the life CD is not a problem. But what do I do from there?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Lustfield (michaellustfield) said :
#1

Press Escape to view the GRUB menu when you're booting. Select the second option (Recovery). There is as option to repair X11. Try that out and see if it fixes things for ya.

FYI - Ubunty related questions should be asked at answers.launchpad.net/ubuntu instead.

Revision history for this message
Holger (zipfel) said :
#2

Tried that. For some reason when I try to login in the the root shell it denies me access, meaning every file has only read-only access? Any ideas?

Will post the next thread in the forum next time.

Cheers

Revision history for this message
Michael Lustfield (michaellustfield) said :
#3

Can you pastebin ~/.xsession-errors

Revision history for this message
Holger (zipfel) said :
#4

Couldn't find .xsession-errors, but did find syslog and Xorg.21.log in /var/log. But now cannot seem to mount usb_stick ...

Revision history for this message
Michael Lustfield (michaellustfield) said :
#5

You said that you are unable to start GDM or log in. Therefor I need to know how you are trying to mount your USB drive. In Gnome, USB devices are mounted automatically. This daemon process is not running until you are logged in and Gnome is running.

What happens if you try to force start it yourself?
go to TTY1 (Ctrl+Alt+F1)
log in
sudo /etc/init.d/gdm stop
sudo /etc/init.d/gdm start

If issues happen, they should now be displayed in the TTY. You may need to go back to TTY1 to see these messages.

Revision history for this message
Holger (zipfel) said :
#6

When I start to force it myself same message appears: ... GDM cannot start up due to an internal error. Check syslog for errors ...

Trying to login at root shell: -bash: /dev/null: Permission denied ...

Revision history for this message
Michael Lustfield (michaellustfield) said :
#7

It might be easiest for you to create a bug report about what is going on.

You can use the command "ubuntu-bug xorg" to automatically generate a bug from your system. At that point, you will have a bug number that you can use the "Link existing bug" link in the top right to tie this question to.

Using ubuntu-bug will also give a significant amount of information for us to review.

Revision history for this message
Holger (zipfel) said :
#8

Not having much luck with this. Got a message saying ***Error: Network problem Could not upload report to crash database: [Errno 2] No useable temporary directory found in ['/tmp', '/var/tmp','/usr/tmp','etc/X11'] ... I doubt that was supposed to happen.

I do appreciate your help on this though. Any further ideas?

Revision history for this message
Michael Lustfield (michaellustfield) said :
#9

If you keep your /home directory on another partition, then it may be time to just grab a CD and reinstall your system. I'm guessing at this point doing a reinstall is going to take significantly less time that it would take to actually debug the issue.

I'm sorry I'm not able to figure this one out. Unable to access /tmp is an error I've never seen before.

If you do keep your /home on a different partition, you can just make sure to NOT reformat the partition when installing but still mark it as your /home. If not, then you will need to back up your data before reinstalling. You can just boot to a Live CD to save all your data to an external device. This is probably a good idea anyway. In addition, when you reinstall, ensure that you do make a separate /home partition.

My personal layout is:
/boot | 125MB
/ | 14GB
swap | 2GB
/home | 224GB

Can you help with this problem?

Provide an answer of your own, or ask Holger for more information if necessary.

To post a message you must log in.