[gdm] manager: don't require session to be on a seat
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] manager: don't require session to be on a seat
- Date: Thu, 27 Mar 2014 20:45:33 +0000 (UTC)
commit 82b06929d8fdcf6000388601b39c7a772aac95c7
Author: Ray Strode <rstrode redhat com>
Date: Thu Mar 27 16:44:55 2014 -0400
manager: don't require session to be on a seat
vnc sessions, for instance, aren't on a seat.
daemon/gdm-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 2fc2ae5..65b3dee 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1151,7 +1151,7 @@ gdm_manager_handle_open_reauthentication_channel (GdmDBusManager *manager
return TRUE;
}
- if (seat_id == NULL || session_id == NULL || pid == 0 || uid == (uid_t) -1) {
+ if (session_id == NULL || pid == 0 || uid == (uid_t) -1) {
g_dbus_method_invocation_return_error_literal (invocation,
G_DBUS_ERROR,
G_DBUS_ERROR_ACCESS_DENIED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]