[systemd-devel] Enlightenment and systemd user session.
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Mar 18 04:39:19 PDT 2013
On 16/03/13 15:10, Cedric BAIL wrote:
> I think I am a little bit late about integrating systemd user
> session in a desktop
Not really; as far as I can see, non-trivial systemd user sessions under
X11 need some more thought, and some more code.
Specifically, they need at least a change to logind to start the
`systemd --user` automatically
(<https://bugs.freedesktop.org/show_bug.cgi?id=61129>) and a patch to
libxcb (or possibly dbus) so user-session services pick up the X server
from the XDG_RUNTIME_DIR automatically. I prototyped a dbus patch, but I
think it's the wrong place to do that, really.
Unless the systemd maintainers (by which I mostly mean Lennart!) change
their minds about wanting a "user bus" per login1.User, for multi-seat
systems to work nicely, any services that take a session D-Bus name and
also talk to X11 will also need to become "instanced" one-per-X-display.
Two prominent examples are gnome-settings-daemon, GNOME's Xsettings
implementation, and at-spi-bus-launcher, the launcher for the
per-X-display AT-SPI private bus.
Lennart seems to think allowing the same user to log in on more than one
seat of a multi-seat system is pointless, but I'm not convinced it's
something for which a design with "this is not possible and cannot ever
be possible" is justified.
Please see the thread starting at
<http://lists.freedesktop.org/archives/systemd-devel/2013-February/009119.html>
and continued at
<http://lists.freedesktop.org/archives/systemd-devel/2013-March/009405.html>.
S
More information about the systemd-devel
mailing list