[systemd-bugs] [Bug 90692] Fix installing xinit script
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jun 14 06:27:30 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90692
David Herrmann <dh.herrmann at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dh.herrmann at gmail.com
--- Comment #1 from David Herrmann <dh.herrmann at gmail.com> ---
I'm not a big fan of making this official systemd ABI. To clarify, this script
is currently used to make kdbus work with .busname units for .desktop files. It
is a hack we use while testing and developing kdbus. However, it's nothing we
want to ship on real systems (at least not without downstream discussion).
Background story here is that Xorg might run multiple times per user. However,
`systemd --user` can only run once per user. Therefore, a systemd user unit
cannot know to which Xorg server to connect. Our xinit-hack always pushes the
address of the last-started Xorg server into systemd as environment, thus
enabling units to access Xorg. However, this should not be the job of systemd
(systemd should not have any X11 specific code at all).
Last but not least, `systemd --user` hasn't been finished nor integrated into
any existing distributions. So this needs discussion with downstream to decide
how the per-user systemd units get access to per-session data. Given that
sessions map n:1 to users, it will always be a hack to make any session-data
accessible to per-user units. The real fix would be to make Xorg run only once
per user (preferably as unit). In this case, it can place its socket in
/run/user/$uid/ and all units get implicit access to it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150614/283d307c/attachment.html>
More information about the systemd-bugs
mailing list