[gdm] Don’t use --exit-with-session for greeter dbus-launch call



commit 2526867806fdab667138ea9d9e5cbf245f43c02f
Author: Josselin Mouette <joss malsain org>
Date:   Wed Sep 15 14:43:48 2010 -0400

    Donâ??t use --exit-with-session for greeter dbus-launch call
    
    The session bus daemon for the login session is started with
    --exit-with-session. This starts a babysitter process that
    watches for the loss of X connectivity or SIGHUP. However, when
    the login session is terminated, the X server is not reset and
    SIGHUP is not sent. This leads to leaking the babysitter
    process, which remains here until the user logs out.
    
    Since the session bus daemon is killed by hand, there is no need
    for --exit-with-session.

 daemon/gdm-welcome-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-welcome-session.c b/daemon/gdm-welcome-session.c
index ac16a73..806e76f 100644
--- a/daemon/gdm-welcome-session.c
+++ b/daemon/gdm-welcome-session.c
@@ -46,7 +46,7 @@
 
 #include "gdm-welcome-session.h"
 
-#define DBUS_LAUNCH_COMMAND BINDIR "/dbus-launch --exit-with-session"
+#define DBUS_LAUNCH_COMMAND BINDIR "/dbus-launch"
 
 #define MAX_LOGS 5
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]