Subject: Bug#1198: [X2Go-Dev] loginctl enable-linger

From: Mihai Moldovan <[email-masked]>
Date: Sat, 12 Aug 2017 03:50:47 +0200

On 08/11/2017 03:59 PM, Orion Poplawski wrote:
> There is also "systemd-run", not sure how that compares.

systemd-run is changing the unit type in which context a command is executed. By
default, commands are executed in a session context. With systemd-run, that can
be changed to scope, service or timer-scheduled contexts.

I don't think that makes sense in our case. A session context should be most
appropriate to what we do. Changing the context also won't help us with
lingering, as far as I can see, since such scope/service/timer contexts are also
killed automatically once the last user login vanishes.

Mihai