[systemd-devel] Questions regarding dbus started via systemd --user
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Jan 8 11:01:14 PST 2015
On 08/01/15 17:04, Colin Guthrie wrote:
> Although when I discussed this on the ML
> before, one case which a PAM solution wouldn't address is people running
> "startx" after logging into a tty session
I personally am very tempted to say that startx users get to keep both
pieces, and that the *dm family of services are just a better approach
all round...
> So although from a cleanliness I think it's the right place, I'd say it
> would have to be in the X session. I've not really looked at what that
> would entail.
... but from a purely practical point of view, backwards compatibility
with assorted distributions' shell script X-startup glue (in Debian and
derivatives it's /etc/Xsession.d/*, in Red Hat derivatives I think
there's some long name featuring xinit that is basically the same idea?)
probably dictates that we need this, at which point startx benefits equally.
For what it's worth, the reason my previously attached hack was named
debian-dbus-* is that I had vaguely intended it to evolve into a
solution to "misc things in Debian expect to be able to set environment
variables in Xsession.d and have them propagate". If it's sufficiently
useful that I end up distributing something like it with my D-Bus
upstream hat on, great; but even if it only solves Debian-specific
problems, I still need it for my Debian Developer hat.
S
More information about the systemd-devel
mailing list