[Pkg-xfce-devel] Bug#829557: Bug#829557: firefox: error box at start-up / D-BUS related issue

Simon McVittie smcv at debian.org
Mon Jul 4 20:34:47 UTC 2016

On Mon, 04 Jul 2016 at 21:22:01 +0200, Yves-Alexis Perez wrote:
> One thing I've noticed is that system --user session keeps running after the
> session is ended

It keeps running as long as any processes from your login-session (look
for "session-*.slice" in systemd-cgls output) are still running. The
services it started (including dbus.service if you have dbus-user-session)
persist as long as it does.

You can use KillUserProcesses=yes in /etc/systemd/logind.conf if you
want logind to terminate everything in your login session when lightdm
tells it that you have logged out. (This breaks screen, tmux and similar,
which rely on processes inside your login-session persisting longer than
the login-session itself, unless you start their servers as their own
logind sessions.)

A dbus-daemon that was started in the traditional way, by dbus-launch,
has no particular connection with systemd life-cycles: it's part of the
login session just like your window manager (and so is dbus-launch
itself), and it gets terminated when dbus-launch is disconnected from
the X11 server.


More information about the Pkg-xfce-devel mailing list