Linux experts Seravo background Linux Debian SUSE
Seravo blog: Linux and open source – technology and strategy

Fixing black screen after login in Ubuntu 14.04

How to fix black screen after login in Ubuntu 14.04?

(Ohje suomeksi lopussa.)

A lot of Linux-support customers have contacted us recently asking to fix their Ubuntu laptops and workstations that suddently stopped working. The symptom is that after entering the username and password in the login screen, they are unable to get in. Instead they see a flickering screen that then goes all black for a while, and then returns back to the login screen.

This problem is caused by an update that didn’t install cleanly and left the graphical desktop environment in a broken state.

The fix is to open a text console by pressing Ctrl+Alt+F1 and then logging in in text mode. Once in, issue these commands to complete the upgrade successfully:

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.


Sisäänkirjautumisen jälkeen näkyvän mustan ruudun korjaaminen Ubuntu 14.04:ssä

Useat asiakkaat ovat viime päivinä ottaneet meihin yhteyttä tilatakseen tukea Ubuntu-läppärin tai -työaseman korjaukseen, kun se yllättäen lakkasi toimimasta oikein. Oire on, että sisäänkirjautumisessa, käyttäjätunnuksen ja salasanan syöttämisen jälkeen ruutu vilkkuu ja on hetken musta. Tämän jälkeen näyttö tulee takaisin kirjautumisnäkymään.

Ongelma johtuu Ubuntun päivityksestä, joka on epäonnistunut ja jättänyt graafisen työpöytäympäristön toimimattomaan tilaan.

Korjauksen voi tehdä itse avaamalla tekstipäätteen painamalla Ctrl+Alt+F1 ja kirjautumalla sisään tekstitilassa. Sen jälkeen voi ajaa päivityksen loppuun onnistuneesti komentamalla:

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

Lopuksi aja sudo reboot. Ubuntun uudelleenkäynnistymisen jälkeen sisäänkirjautuminen ja käyttö pitäisi onnistua normaalisti.

Technology article posted on with tags

8 thoughts on “Fixing black screen after login in Ubuntu 14.04

  1. Timo Jyrinki says:

    Is there a bug report about the issue on Launchpad, and which package / version is causing the problem?

    Notably I maintain several 14.04 LTS machines and haven’t seen this problem (all of them are up-to-date), so it’d be very useful to narrow down which subset of people the problem is affecting. For example, is it graphics drivers, like NVIDIA users affected or what?

    1. Farahana says:

      Mine is amd r9 series.

  2. Umesh says:

    As upgrade requires internet connection, first connect to internet first in guest session. and then open a text console by pressing Ctrl+Alt+F1. Worked for me thanks :)

  3. Sananaz says:

    I have same issue. Above solution works for me. Many thanks.

  4. Rob says:

    Worked for me on Ubuntu 16.04. Thank you

  5. JOÃO CARLOS says:

    Thank you. It has also worked for me. Ubuntu 16.04. Installed yesterday. Today I could see only the mouse cursor and some blinking alerts about connections over a blank screen. Your solution worked just fine. Tks again.

  6. leonardo says:

    I have or had an similar issue. I have Dell 1505 Ati 1300 card 64 MB. Intel centrino duo. An old but respected machine. I upgrade to lubuntu 14.04 then in the middle of any session the black screen comes, but to begin to work again i have to reboot but again, agian. In this moment i have 2 hours after made the instructions above, and think it is fixed. Solution…i hope. Thanks a lot.

Leave a Reply

Your email address will not be published.