diff options
author | Ray Strode <rstrode@redhat.com> | 2013-10-31 14:57:04 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2013-10-31 16:21:30 -0400 |
commit | 82296a3350b64d0ed5ae3b9f6983466c60dd8a53 (patch) | |
tree | 6119a4258447e8dd18ddb1048f4172d058e4648d | |
parent | 02ddd7ea077c990d9dc2f0cb87a500fc20b0c0bb (diff) | |
download | gdm-82296a3350b64d0ed5ae3b9f6983466c60dd8a53.tar.gz |
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
-rw-r--r-- | 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 bee6c379..35951c7a 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 |