summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/fedora/prefdm.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
index 79a2af39dc..acce52e0de 100644
--- a/units/fedora/prefdm.service
+++ b/units/fedora/prefdm.service
@@ -9,6 +9,10 @@
Description=Display Manager
After=syslog.target haldaemon.service
+# On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to
+# avoid any races around that.
+Conflicts=getty@tty1.service
+
[Service]
ExecStart=/etc/X11/prefdm -nodaemon