I too needed to re-enable graphical login after having disabled it.
I can confirm adding:
[Install]
Alias=display-manager.service
to my /lib/systemd/system/lightdm.service file.
Allowed me to re-enable lightdm to start on boot (by running "sudo
systemctl enable lightdm"), previous to this I would end up booting to a
black screen with a flashing cursor in the top left. Ctrl+Alt+F1 (for
VT1) etc... would lead me to the login prompts, Ctrl+Alt+F7 leads me
back to the screen with the flashing cursor (VT7).
So for me Ubuntu was expecting a graphical interface to be running and
had me on VT7 at boot. Logging in from one of the other terminals
showed lightdm to be stopped ("systemctl status lightdm"). Prior to the
fix above I would have to manually start lightdm by logging in and
running "sudo systemctl start lightdm"
I hope the above helps anyone googling the issue as it took me a couple
of hours to track down why it wasn't starting when I thought it was re-
enabled.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1584575
Title:
/lib/systemd/system/lightdm.service file has no [Install] clause
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1584575/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs