how to remove nvidia-glx installation, return to previous graphics mode

Asked by RG

In an attempt to improve my graphics, I installed the nvidia-glx driver and enabled it. This did not recognize my graphics card. How do I uninstall this driver, and return to my original graphics mode?

The command:

     lspci | grep VGA


     00:05.0 VGA compatible controller: nVidia Corporation C51 [GeForce 6150 LE] (rev a2)

Also, I am not able to edit files in the /etc/X11 directory, by mv or cp commands to return to any of the xorg.conf.failsafe.* files.

Thank you,


Question information

English Edit question
Ubuntu linux-restricted-modules-envy-2.6.24 Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Coulson (chrisccoulson) said :

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at if you are uncertain if they are bugs. For help on reporting bugs, see .

Revision history for this message
Wyatt Smith (wyatt-smith) said :

There are three versions of the restricted drivers available in the repositories. The correct version for your video card is the nvidia-glx-new. Please read this page

To remove the old driver please open a terminal and type

sudo apt-get remove --purge nvidia*
sudo rm /lib/restricted-modules/.nvidia*

If you are still having problems you may need to reconfigure x-server, The command to do that is

sudo dpkg-reconfigure -phigh xserver-xorg

By the way, you can only move or copy those system files as superuser, with the sudo command.

Can you help with this problem?

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

To post a message you must log in.