[systemd-devel] User sessions, session buses, user buses
Stef Bon
stefbon at gmail.com
Tue Feb 3 02:16:40 PST 2015
2015-01-30 9:30 GMT+01:00 Simon McVittie <simon.mcvittie at collabora.co.uk>:
> In principle, a PAM module or something could ensure that we have a
> dbus-daemon per login session, even tty/ssh/cron login sessions
> (which all go through PAM). In practice, nobody has ever cared enough to
> implement this, so we're left with D-Bus autolaunch, which can't
> actually work for tty sessions and had bad side-effects from its
> attempts to do so, so I disabled it 3 years ago in favour of
> recommending that users requiring a D-Bus session should start their own
> and manage its lifetime themselves e.g. with dbus-run-session(1).
>
Hi all,
I've never understood why the session bus is started through dbus-launch.
Leave it to the login manager (not PAM), or provide the socket and
activate the session bus only when
some app is connecting to it, which can be a graphical session, but
may be also a console.
Stef
More information about the systemd-devel
mailing list