Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

First off let me mention that this problem happened a while ago so i may have forgotten some of the details. A while ago I was trying to get used to backtrack5 and I was doing pretty well I think. I learned that you shouldn't be using root exclusively so i was creating a user account and trying to give it all the right permissions and access.

I don't remember what did it specially but this is part of the error message I'm getting from Xorg.0.log:

(II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Video Driver
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/lib/xorg/extra-modules/
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Now knowing that this was a problem of my own doing I took a look at my history to try and figure out what i did wrong but i'm not very savvy in such things... I'll paste some of the relevant command history

My Pasted command history

I have an idea of what the problem might be but i have no idea how i would fix it. if anyone could help me it would be greatly appreciated. And if i should provide anymore information just let me know.

PS sorry if this is a bit verbose. And sorry that the command history isn't formatted properly for this site.

share|improve this question
Sounds as if you need to install the nvidia driver – bodhi.zazen Jan 30 '12 at 20:24
I checked that out and it almost seems reasonable but those are instructions for GUI. I have to do everything from the CLI. do you know how i would do that? – Guy0203 Jan 31 '12 at 23:27
sudo apt-get install nvidia-current – bodhi.zazen Jan 31 '12 at 23:32

I feel like an idiot. After months of forum joining, hopping, posting and prowling I finally found the answer

rm /etc/X11/xorg.conf

That was it. But thanks for the help, guys.

share|improve this answer
Thank you for your answer. – einverne Sep 16 '15 at 14:39

To install the nvidia driver from the command line use

sudo apt-get install nvidia-current

Then reboot, X should start. If needed, you then run nvidia-settings to make any adjustments. Run it as root to save your settings

gksu nvidia-settings
share|improve this answer

To the folks experiencing this issue, but with ATI drivers, see the following


sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get install xserver-xorg-video-ati
sudo Xorg -configure
sudo cp /home/XXXXXXX/ /etc/X11/xorg.conf

Hope this helps someone

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.