Plasma5 user sessions

Kai Uwe Broulik kde at privat.broulik.de
Mon Jan 15 19:07:37 UTC 2018


Hi,

> We found out, that running a process with a systemd inhibitor as root e.g
> 
> > # systemd-inhibit --what=shutdown --mode=block sleep 365d

Try mode "delay", this will temporarily delay the action until you release 
your inhibition. Typically used for certain cleanup tasks, like disconnecting 
the network, before sending the computer to sleep but according to 
documentation this works also for "shutdown" command. Check out the Logind 
inhibition documentation [1].

As for the warning when shutting down with multiple users, I  that might be an 
SDDM limitation/bug/missing feature.

Cheers,
Kai Uwe

[1] https://www.freedesktop.org/wiki/Software/systemd/inhibit/





More information about the Enterprise mailing list