Ubuntu 16.04 LTS black screen after login

I have recently upgraded from Ubuntu 15.10 LTS to 16.04 LTS via the upgrade notification i have received.

The laptop boots up and i am shown the login screen with the 3 previously created accounts.

If i log in with the admin account in GUI mode, i am taken to a black screen. I can switch to a terminal and log in with the admin acccount, so the credentials are ok.

If i log in with any of the other 2 accounts i am taken to the normal desktop.

Any ideas as to why this is happening and how do i get the GUI mode back for my admin account?

I am new to ubuntu so i might not be aware of all the commands.


Solution 1:

I had the exact same problem. I found the solution here:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y

Finally run sudo reboot, Ubuntu restarts, and then you can log in again normally.

Solution 2:

I had this same problem with Ubuntu 20.04 using the NVidia proprietary drivers (both 440 and 450) for my Geforce RTX 2070. The problem was with the experimental feature of fractional display scaling that I enabled in the Display configuration settings. Apparently, the NVidia drivers do not play well with these settings (yet) and a bug has been filed for it: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-440/+bug/1870758

There are several ways to remedy this:

  • Check your ~/.config/monitor.xml settings and change any value occurring between <Scale> tags back to 1. Then save and reboot. This didn't work for me though although I have seen others report success.
  • Reset the fractional scaling setting to off by executing
gsettings reset org.gnome.mutter experimental-features

Reboot and hopefully this will bring back your screen (like it did for me).

It's too bad fractional scaling through the GUI doesn't work well yet. I had written a basic xrandr script on 18.04 to get the scaling on my 2 displays with each a different resolution right, and that worked well, but I was happy to see there finally was GUI support for this feature in 20.04. Hopefully they manage to fix this soon.