I did
sudo apt-get remove lightdm
After logging out I no longer get the login screen. Just a blank screen with a blinking cursor top left. Rebooting results in the same.
I'd like to restore to the Unity login. I'm running ubuntu 16.04. Thanks in advance for the help.
Best Answer
The black screen appears because the Ubuntu boot process defaults to tty7, the terminal where the graphical login (lightdm) would normally be running.
To get to a login prompt, you can switch manually to one of the other ttys using
Ctrl+Alt+F1
throughCtrl+Alt+F6
.For a permanent fix, edit
/etc/grub.d/10_linux
as root:Find the line that says
and replace it with
To apply the setting, you need to run
update-grub
as root:This changes the default tty to tty1, where a text login prompt is usually running.