[systemd-devel] Linking user-session services to a systemd-logind session

Elias Probst mail at eliasprobst.eu
Thu Jun 19 07:21:40 PDT 2014


Hi list,

I'm working on getting (at least the basics for now) ready to run a KF5
based Plasma Workspace session completely based on systemd user-session
services to get rid of the legacy cruft shell-based "startkde" script
and get to use all the nice things systemd offers.

I'm currently stuck trying to make 'ksmserver' (Plasma's session
management server) the owner of the current session using
Session.TakeControl(), as user-session services aren't part of a session.

Are there any ways to launch user-session services as part of a session?
Would this mean, login-managers (sddm in my case) need to be adapted to
initiate a session incl. the services belonging to this session instead
of launching their legacy X session shell scripts (which I currently
also use to kick-off the service launching).

I remember reading a while ago about GNOME planning to do basically the
same, but haven't heard anything about it since.

This is currently a major roadblock for me in making any progress, as
the whole desktop environment is rather unusable when it's not part of a
session.

What is the way to go here?
best regards,
- Elias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140619/19dc6455/attachment-0001.sig>


More information about the systemd-devel mailing list