On 1/26/19 10:58 AM, Mantas Mikulėnas wrote:
Take a look at /var/lib/systemd/linger. Something, quite possibly X2go <https://codesearch.debian.net/search?q=enable-linger+package%3A%5CQx2goserver%5CE>, is configuring systemd to start a user@<uid>.service for every user on boot.Forgot to finish that thought. It looks like X2go uses this feature because it also avoids systemd's usual cleanup on logout, as there's no easy opt-out for that. (Although I believe it's now usually disabled distro-wide via /etc/systemd/logind.conf anyway?)
Thank you very much. I'd kind of guessed that it might have something to do with X2Go, and that it might have something to do with 'linger'. x2gostartagent does, indeed, enable linger behavior. FYI, Debian 9's /etc/systemd/logind.conf looks like:
[Login] #NAutoVTs=6 #ReserveVT=6 #KillUserProcesses=no #KillOnlyUsers= #KillExcludeUsers=root #InhibitDelayMaxSec=5 #HandlePowerKey=poweroff #HandleSuspendKey=suspend #HandleHibernateKey=hibernate #HandleLidSwitch=suspend #HandleLidSwitchDocked=ignore #PowerKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no #LidSwitchIgnoreInhibited=yes #HoldoffTimeoutSec=30s #IdleAction=ignore #IdleActionSec=30min #RuntimeDirectorySize=10% #RemoveIPC=yes #InhibitorsMax=8192 #SessionsMax=8192 #UserTasksMax=33% _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
