Hi,
When it comes to graphic card driver or related display stuff and Linux it's quite common to come across unexpected behavior. Sometimes after usual system update/upgrade your graphic drivers can also get updated. On some occasions you may have few issues after such update including for example:
- cannot login to the system
- blank screen
- black screen
- login loop
- other unexpected display issues related to invalid graphic card driver installed
Fix Ubuntu display issues
In order to fix it you will need to login to separate console, so first thing is:
CTRL + ALT + F2
And then you can try the following "chaotic" actions:
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install gdm
- sudo dpkg-reconfigure lightdm // and choose lighttdm
- sudo apt-get purge nvidia* // remove nvidia
- sudo apt-get dist-upgrade
- sudo apt-get install nvidia-current
- sudo update-alternative --config i386-linux-gnu_gl_conf // or x86_64-linux-gnu_gl_conf
- // find out which version you got nvidia-xxx
- then: sudo apt-get install nvidia-xxx-updates
- sudo nvidia-xconfig
- sudo reboot
A bit of command chaos but it did the trick :)
Disclaimer
This is something that might help or might not help so try at your own risk. Also it might be a little bit out of date as last time I tried those was few years ago.
This post first appeared on IT Code Hub - Java, Mobile Apps, Linux And More, please read the originial post: here