[Patch] Auto-Close dbus-daemon when unused

Leon Winter winter-dbus at bfw-online.de
Fri Sep 25 01:47:17 PDT 2015


Hi,

> The daemon is killed off automatically when the session exits. Maybe the 
> problem is how you're starting the session in the first place.
> 
> You should use dbus-launch to launch your session:
> 
> 	dbus-launch --exit-with-session your-session-script

you are right in your observation. We are not starting dbus-launch with
"--exit-with-session" which results in lingering dbus-daemons.
Please see my other longer reply for the reasoning why relying on X11 to close
the daemon only partially solves the overall problem.

Regards,
Leon


More information about the dbus mailing list