summaryrefslogtreecommitdiff
path: root/daemon/org.freedesktop.DBus.xml
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2020-12-10 15:14:20 -0500
committerRay Strode <rstrode@redhat.com>2020-12-11 14:50:24 -0500
commitdcdbaaa04012541ad2813cf83559d91d52f208b9 (patch)
tree30e9e9f3e35dbcb64ddee5ae98057d2a1322797b /daemon/org.freedesktop.DBus.xml
parenta58aec716855c8b47c32008455f212ecbd85ef2f (diff)
downloadgdm-wip/fix-autologin-unlock-race.tar.gz
session-worker: Don't switch back VTs until session is fully exitedwip/fix-autologin-unlock-race
There's a race condition on shutdown where the session worker is switching VTs back to the initial VT at the same time as the session exit is being processed. This means that manager may try to start a login screen (because of the VT switch) when autologin is enabled when there shouldn't be a login screen. This commit makes sure both the PostSession script, and session-exited signal emission are complete before initiating the VT switch back to the initial VT. https://gitlab.gnome.org/GNOME/gdm/-/issues/660
Diffstat (limited to 'daemon/org.freedesktop.DBus.xml')
-rw-r--r--daemon/org.freedesktop.DBus.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/daemon/org.freedesktop.DBus.xml b/daemon/org.freedesktop.DBus.xml
new file mode 100644
index 00000000..5e0814bd
--- /dev/null
+++ b/daemon/org.freedesktop.DBus.xml
@@ -0,0 +1,12 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.freedesktop.DBus.Peer">
+ <method name="GetMachineId">
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="Ping">
+ </method>
+ </interface>
+</node>
+