<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:dh.herrmann@gmail.com" title="David Herrmann <dh.herrmann@gmail.com>"> <span class="fn">David Herrmann</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Fix installing xinit script"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90692">bug 90692</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>dh.herrmann@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Fix installing xinit script"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90692#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Fix installing xinit script"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90692">bug 90692</a>
from <span class="vcard"><a class="email" href="mailto:dh.herrmann@gmail.com" title="David Herrmann <dh.herrmann@gmail.com>"> <span class="fn">David Herrmann</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>