X server won't load

Asked by N2Ubunutu

I'm very new to Linux, and this may be a dumb question? I'm having a problem with X server (it won't load), and its telling me that it cannot find the nvidia driver its looking for. So, I'm thinking what I need to do is from the command line -- download the nvidia driver, install it, and then reboot? Does anyone know how I can do this? -- Many thanks! --

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Best Wrwrwr (wrwrwr) said :

You may try to change your driver to "vesa" for a while, so you can install nvidia with your windows manager. Edit your xorg.conf for that:
sudo nano /etc/X11/xorg.conf
and look for a Section "Device"-->Driver.

Another way (maybe more straightforward) is to reconfigure xserver all together:
sudo dpkg-reconfigure -phigh xserver-xorg

Please, make a copy of xorg.conf before applying any of this.
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.copy

Or also trying installing nvidia from command-line:
sudo apt-get install nvidia-glx (nvidia-glx-legacy or nvidia-glx-new)
sudo nvidia-glx-config enable
This is described in some more detail here:

Revision history for this message
N2Ubunutu (rockshouse) said :

Thanks Wrwrwr, that solved my question.

Revision history for this message
N2Ubunutu (rockshouse) said :

Excellent -- Thanks for the help Wrwrwr!!

Revision history for this message
Ronald (theprestig3) said :

I have this problem, and I know what I did. I had nvidia-glx-legacy on and running fine. Then I saw nvidia-glx-new and like an idiot without checking it out, I installed nvidia-glx-new and removed legacy. Now when I reboot and start I get the error, cannot start X Server GUI.
I saw the commands for uninstalling the nvidia-glx-new and installing legacy. But it didn;t work, it seems it couldn't connect.

Revision history for this message
Wrwrwr (wrwrwr) said :

There are many, many reasons why x server won't start. Making a new question gives you a much better chance to get help. Please do that.

It probably displays something like "couldn't connect to display 0:0", in your case that most probably means that xserver is not running.

Revision history for this message
Ronald (theprestig3) said :

Nevermind I fixed it, It was actually easy. I just did what u said. then a few modifications of the xorg.conf got my resolution back to normal. Thanks!