Ubuntu 16.04 boots to a black screen.
I'm using nvidia gtx 580, and it was running smoothly before something happened.
When I open tty7:
/dev/sda1: clean, blahblah/blahblah files, blahblah/blahblah blocks.
There is
webmin
andteamviewer
installed. When I access this machine fromteamviewer
, I can see the log in screen, but when I try to log in, it kicks me out ofteamviewer
after a few seconds. Even with monitor attached.I reinstalled and tried different video drivers. Now it boots to a purple screen instead. I still have access to tty.
I uninstalled
teamviewer
, and that did not help either.I can confirm that everything else is working, because I have full access to
webmin
andtty
, all files and servers are running as they should. Maybe I messed it up when trying to install a fake monitor? I tried reinstallingxorg
along withubuntu-desktop
completely.When I run
shutdown
fromwebmin
ortty
, I can see the purple screen with UBUNTU logo and animated orange dots, while it's shutting down.
It's hard for me to say when exactly this happened. Probably it could happen when either I messed up with xorg
files trying to install a fake monitor for teamviewer
or when I ran an update for all installed apps from webmin
.
I know I could do a fresh install of Ubuntu but that would be my last option.
Tried solutions:
- Reinstalling Xorg
- Reinstalling nvidia drivers, version 364, latest version, and system76 drivers, none helps. The only difference is that the screen is either black or purple.
- Reinstalling ubuntu desktop
UPDATES:
When I tried to run sudo gedit /etc/default/grub I got an error:
gtk-WARNING **: cannot open display:
Reinstalled drivers again, and when I try to run X -configure
I get an error: No devices to configure
, I DO have nvidia in List of video drivers.
I changed video card from GTX 580 to 7800 GTX (yeah, the very old one), no changes.
Ubuntu from live cd works with UI, without any problem on any of those cards.
There is no xorg.conf file created neither in my ubuntu installation, nor on live-cd version.
Please, help! Thanks for your time!