You are not logged in.
The lightdm.service file is:
[Unit]
Description=Light Display Manager
Documentation=man:lightdm(1)
Conflicts=getty@tty1.service
After=getty@tty1.service systemd-user-sessions.service plymouth-quit.service acpid.service
[Service]
ExecStart=/usr/bin/lightdm
Restart=always
IgnoreSIGPIPE=no
BusName=org.freedesktop.DisplayManager
[Install]
Alias=display-manager.service
So I'm not sure why it doesn't restart. Maybe the "Conflicts" part is interfering? Also, the lightdm.service is still running after I am logged into my desktop environment, should this be the case?
Last edited by Vityou (2018-06-13 07:23:37)
Offline
Clarify your issue, does something not work, do you expect to be able to user your TTY1 console while having a graphical environment running on it? That won't work. Yes that the lightdm.service runs afterwards is normal, it is the parent of your Xorg session and your TTY1 should be occupied by your xorg session.
Online
I expect to be able to use tty1 because the desktop environment opens on tty7.
Offline
Conflicts=getty@tty1.service
lightdm with the shipped config starts on tty7 but it service file conflicts with getty on tty1 so getty will not start while the lightdm service is running.
Offline
So if I change it to conflict with tty7 will I be able to access tty1? Also, tty1 does not start after I stop the lightdm service.
Offline
You could remove the conflicts with tty1 and systemd unless you have changed NAutoVTs= in logind.conf which defaults to 6.
The getty does not start on tty1 because the transaction to start graphical.target is modified by the conflicts line.
When lightdm ends there is not new transaction systemd is still at graphical.target with getty@tty1.service inactive.
Edit:
Covers why lightdm is on tty7 https://bugs.archlinux.org/task/46799
Covers why there is a conflict with tty1 https://bugs.archlinux.org/task/49527
Last edited by loqs (2018-06-13 16:48:54)
Offline
Is there any way to have lightdm run before tty1, because for about 2 seconds, tty1 is still on the screen, I've tried putting
Before=display-manager.servive
in getty@tty1.service. This isn't a huge problem, just wondering.
Offline