Need restart lightdm at every startup - console login screen
Solution 1:
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.
Solution 2:
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