Sunday, October 21, 2018

Ubuntu 13.10 - Black screen after logging in after installing nVidia drivers



I recently installed Ubuntu 13.10 in a dual-boot with Windows 7, so I'm still quite new to using Linux.
Most things were working fine, and I could log in normally (apart from the first login after install, which spent about 2 minutes on a black screen before going to the desktop). I installed the restricted Nvidia drivers with the command:



sudo apt-get install nvidia-current



Since then, after I enter my password and log in (the login screen itself works perfectly), I get a black screen with the cursor and nothing happens from that point onwards.



Basically, what I would like to know is how to get back to the normal Ubuntu desktop and (hopefully) still be able to use Nvidia drivers.



Like the first answer removing the xorg.conf file will reset your "driver-setup".



But I've had this problem or one very similar myself. The problem lay in Optimus, a nvidia technology that allows the user to switch back and forth between integrated and nvidia graphics in order to safe power.



Now I'm assuming now that you've got optimus, if not that you can ignore this solution.

You can install a program called Bumblebee that installs and manages your graphical drivers including Optimus.



to install (make sure to purge your current-nvidia settings before!!):



 sudo apt-get install bumblebee bumblebee-nvidia


then reboot



sudo shutdown -r now



then after crossing your finger and a succesfull login. You can run programs using nvidia graphics using the optirun command:



optirun yourprogramnamehere


there you have it Optimus working and running.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...