Quo vadis, systemd user session?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I know, I know, it's only semi-supported, but I use systemd --user to manage my
graphical environment (no DE, just a WM and a few applications). I've written a
system-level service file which calls startx, which in turn calls systemd user
session via .xinitrc:

  dbus-launch --exit-with-session /usr/lib/systemd/systemd --user

The recent systemd update removed support for direct manipulation of cgroups. I
had to rewrite the service file, cannibalized user@.service and ended up with
this [1]. Yeah, it's cargo culting, but my mortal brain sometimes can't grok
systemds complexity.

So my first questions are: Is this something a sane person would do? Is there a
more elegant way without installing more 3rd party software? Do I need to
involve logind in some way?

Part 2: Systemd now calls user@.service with every login, which in turn calls
systemd --user. But as I said, I use it for graphical stuff, so I do not want
this behavior.

So the second bunch of questions would be: Can I overwrite user@.service without
breaking something else? How would I do that?

Any kind of held is appreciated. The current state of my setup feels kinda
frail.

Regards,
Tobias

[1] http://pastebin.com/raw.php?i=jTjTwQMz


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux