summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/gdmflexiserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c
index 423a8373..4e07413a 100644
--- a/utils/gdmflexiserver.c
+++ b/utils/gdmflexiserver.c
@@ -688,7 +688,7 @@ goto_login_session_for_ck (DBusConnection *connection,
}
}
- if (! ret) {
+ if (! ret && g_strcmp0 (seat_id, "/org/freedesktop/ConsoleKit/Seat1") == 0) {
res = create_transient_display (connection, error);
if (res) {
ret = TRUE;
@@ -878,7 +878,7 @@ goto_login_session_for_systemd (DBusConnection *connection,
}
}
- if (! ret) {
+ if (! ret && g_strcmp0 (seat_id, "seat0") == 0) {
res = create_transient_display (connection, error);
if (res) {
ret = TRUE;