Skip to content

Instantly share code, notes, and snippets.

@Jim-Holmstroem
Created March 11, 2012 13:24
Show Gist options
  • Save Jim-Holmstroem/2016468 to your computer and use it in GitHub Desktop.
Save Jim-Holmstroem/2016468 to your computer and use it in GitHub Desktop.
Reinstall X (Nvidia)
sudo apt-get purge nvidia*
#remove xorg.conf
sudo apt-get --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64
sudo dpkg-reconfigure xserver-xorg
sudo reboot
sudo apt-get install nvidia-current
#if this doesn't work
sudo apt-get install linux-headers-generic-pae
@sanguis
Copy link

sanguis commented Jan 8, 2013

thanks, saved my ass!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment