Home Linux Community Forums Linux Distributions Ubuntu Could not start the X Server

Could not start the X Server

Link to this post 27 May 09

After a system crash, when I try to boot, I often have this message on a terminal screen
Could not start the X Server (your graphical environment due to some internal error. Please contact your system administrator or check your syslog to diagnose, in the meantime this display will be disabled. Please restart GDM when the problem is corrected.
Ubuntu 9.04 Localhost.localdomain tty1

and then I have the followin prompt
localhost.localdomain login:

!, what is the best approach to resolve booting?
also, what folder would I find the syslog?
How do I restart GDM, I'm not quite sure what it is?

I'm using Ubuntu 9.04

Link to this post 27 May 09

I do not know about Ubuntu, but for xorg-server it would be:


You probably have the file without the "0"

gdm is "gnome desktop manager" this is a grafical login.

I would logon to the system on console prompt (just username/password where the login: is)

Then run "startx" and you will get more information.

Link to this post 27 May 09

Usually this would mean the X server is not configured properly. If you log in from the command prompt you can try reconfiguring it with

sudo dpkg-reconfigure -phigh xserver-xorg

The conf file is located at /etc/X11/xorg.conf

To restart gdm, do

sudo /etc/init.d/gdm restart

Also, everything that disi mentioned.

Link to this post 29 May 09

Thank you all for your help, I will surely put it to test next time

Link to this post 17 Jun 09

I had troubles with x-server when I updated Ubuntu on my wife's eee-pc.

Though I did spend some time trying to track down the problem, in my opinion it takes so little time to reinstall, that it's a better option. Now I always put her files onto a USB/SD card, and that means the data is separate from the OS. If there are x-server troubles, I spend 15-20 minutes trying to fix them, but if that doesn't work, I just reinstall. Maybe I'm lazy...

Link to this post 19 Jun 09

Ubuntu has a recovery mode. If you hit Esc right before it starts to load the kernel, you can select the second option in the grub menu which is recovery mode.

In the menu that comes up, one of the options is "xfix - Try to auto repair graphic problems". Might work for you.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Linux Training / Board

/** BC-056 Ameex changes to add tracking code - 2016-01-22 **/ ?>