[Pkg-utopia-maintainers] Bug#815503: dbus-x11: Several session buses if scripts in Xsession.d use D-Bus

Samuel Thibault sthibault at debian.org
Mon Feb 22 20:18:13 UTC 2016


Simon McVittie, on Mon 22 Feb 2016 07:18:28 +0000, wrote:
> On Sun, 21 Feb 2016 at 23:50:09 +0100, Samuel Thibault wrote:
> > We have been noticing several dbus-daemon --session being started during
> > a user session, which creates a mess, notably with accessibility
> > engines.
> 
> The traditional answer, and the answer applicable to jessie, has been
> "you can't do that, it is incorrect to run dbus-launch or use dbus-daemon
> in Xsession.d".

Ok, but as I explained, it is hard to realize that one is doing that...
I would have never thought that amixer would trigger dbus-launch for
instance.

And the relation between the "culprit" (amixer) and the effect (the
desktop being basically completely inaccessible) is far from obvious, so
it's very hard to even realize how something is getting wrong.

So we'd at least need to find a way to detect and notify about this
issue more prominently, so people know they're doing it wrong.

> Since dbus 1.10 (in stretch), we have mitigated this differently, by
> running dbus-launch from 75dbus_dbus-launch as you suggest,

? No, it is still prepended to $STARTUP only.

> anything started via D-Bus activation or as a systemd user service
> between 75dbus_dbus-launch and 95dbus_update-activation-env
> will not pick up an environment variable set by (for example)
> 90atk-adaptor.

I see.

Samuel



More information about the Pkg-utopia-maintainers mailing list