Ubuntu: Need restart lightdm at every startup - console login screen


Everytime I boot up my ubuntu 12.10, I get a black console screen.

I need to login in tty, and restart lightdm : sudo service lightdm restart

Then the GUI lightdm login screen appears as expected.

How to solve this annoying problem ?

Thank you.


Finally, I solved the problem by :

  • installing GDM: sudo apt-get install gdm
  • choosing it by default: When asked, choose GDM as your default X windows manager
  • restarting: sudo reboot
  • Reverting to lightdm as default X window manager: dpkg-reconfigure lightdm

Ps : firing the command dpkg-reconfigure lightdm without having installed GDM before didn't solve my problem. So try installing GDM before.


This issue could be related to the use of a SSD.

If the first solution doesn't work for you, another workaround is to delay the startup of lightdm.

sudo nano /etc/init/lightdm.conf  

and just BEFORE exec lightm, insert this single line :

sleep 2  

Adjust the time (in seconds) depending on your needs (2 sec works for me). Save the file, and restart !

Found this solution here : http://www.webupd8.org/2013/01/ubuntu-lightdm-black-screen-when-using.html


If you are booting windows 7 and ubuntu 16.04 LTS i have same problem then i tried everything referred from sites.finally nothing is worked for me.
so one thing is worked for me.

  1. do not choose the default ubuntu os.
  2. click on advanced option for ubuntu
  3. choose the os option like "Ubuntu 16.04 .....(Systemed)"

this will boot your ubuntu os normally. and it works for me also it saves your time to everytime restart lightdm service.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »