[systemd-devel] Enlightenment and systemd user session.
lennart at poettering.net
Fri Mar 22 21:04:32 PDT 2013
On Mon, 18.03.13 11:39, Simon McVittie (simon.mcvittie at collabora.co.uk) wrote:
> 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.
Note that you can easily run systemctl from the command line as a
session if you wish, and set DBUS_SESSION_BUS_ADDRESS for the whole
thing to $XDG_RUNTIME_DIR/bus or so, and things should just work.
> 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.
Well, doing this instanced stuff is doable just fine with instanced
units in systemd. I am just saying for GNOME it shouldn't be relevant
and we shouldn't really bother...
> 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.
Well, there's the instance stuff. People who want to build DEs that can
be logged into multiple times on the same machine as the same user can
do so, by making use of instances. I just doubt that this is something
to care fore in the GNOME context.
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel