[gdm] slave: don't kill slave when client disconnects
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] slave: don't kill slave when client disconnects
- Date: Thu, 31 Oct 2013 20:23:30 +0000 (UTC)
commit 82296a3350b64d0ed5ae3b9f6983466c60dd8a53
Author: Ray Strode <rstrode redhat com>
Date: Thu Oct 31 14:57:04 2013 -0400
slave: don't kill slave when client disconnects
Right now we stop the slave if a greeter running on a remote
X server exits. This is wrong, since the greeter will exit as
part of the login screen process. We already have mechanisms in
place to reap the slave at the appropriate time, so stopping the
slave on disconnection is totally unneeded and actively harmful.
This commit drops that code.
https://bugzilla.gnome.org/show_bug.cgi?id=690926
daemon/gdm-simple-slave.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index bee6c37..35951c7 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -843,17 +843,7 @@ on_session_client_disconnected (GdmSession *session,
GPid pid_of_client,
GdmSimpleSlave *slave)
{
- gboolean display_is_local;
-
g_debug ("GdmSimpleSlave: client disconnected");
-
- g_object_get (slave,
- "display-is-local", &display_is_local,
- NULL);
-
- if ( ! display_is_local && !slave->priv->session_is_running) {
- gdm_slave_stop (GDM_SLAVE (slave));
- }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]