Ubuntu: Black screen - Can't reconfigure Xorg [duplicate]


This question already has an answer here:

I'm running Ubuntu 14.04 on a laptop with an nVidia 850m. I installed proprietary drivers and bumblebee and everything worked fine for weeks. After running a dist-upgrade I have a black screen on boot. I tried reconfiguring Xorg but I receive an error message

Missing output drivers. Configuration failed.  

What could I do?


Remove everything to do with the Nvidia proprietary drivers:

sudo bash NVIDIA-Linux-x86_64-352.21.run --uninstal

Remove xserver settings:

sudo apt-get remove --purge xserver-xorg-video-nouveau xserver-xorg-video-nv

Reinstall the above (not proprietary):

sudo apt-get install nvidia-common  sudo apt-get install xserver-xorg-video-nouveau  sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core

Reconfigure xserver:

sudo dpkg-reconfigure xserver-xorg


If you don't have dkms installed, and you do a dist-upgrade, you MUST to reinstall the proprietary nvidia driver.

First, install dkms so that this does not happen again in the future:

sudo apt-get install dkms  

Now, reinstall the nvidia driver and next time you do a dist-upgrade, the driver will install itself for you.

You should be able to boot from the old kernel. Choose advanced options from the grub menu and then select the older kernel from the next menu.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »