diff options
author | Simon Rettberg | 2021-08-11 16:02:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-08-11 16:02:27 +0200 |
commit | 6b337d656f9465dfa2ad09d477da89f142fb6cd0 (patch) | |
tree | d613d0f7239b77640d123a2939f99f46c1937c50 /core/modules/lightdm | |
parent | [qemu] Add transformation of Libvirt graphics type to local SPICE graphics (diff) | |
download | mltk-6b337d656f9465dfa2ad09d477da89f142fb6cd0.tar.gz mltk-6b337d656f9465dfa2ad09d477da89f142fb6cd0.tar.xz mltk-6b337d656f9465dfa2ad09d477da89f142fb6cd0.zip |
[lightdm] Wait for network.target
This avoids hostname changes while X11 is running, which breaks access
restrictions.
Diffstat (limited to 'core/modules/lightdm')
-rw-r--r-- | core/modules/lightdm/data/etc/systemd/system/lightdm.service | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/lightdm/data/etc/systemd/system/lightdm.service b/core/modules/lightdm/data/etc/systemd/system/lightdm.service index baa93f2f..90dfb042 100644 --- a/core/modules/lightdm/data/etc/systemd/system/lightdm.service +++ b/core/modules/lightdm/data/etc/systemd/system/lightdm.service @@ -1,7 +1,10 @@ [Unit] Description=LightDM Display Manager Conflicts=getty@tty7.service -After=dev-tty7.device systemd-user-sessions.service load-gfx-driver.service setup-slx-addon@vmware.service setup-slx-addon@virtualbox.service +After=dev-tty7.device systemd-user-sessions.service load-gfx-driver.service +After=setup-slx-addon@vmware.service setup-slx-addon@virtualbox.service +# So the hostname won't change later on an mess up X11 access +After=network.target [Service] ExecStart=/usr/sbin/lightdm |