On 2017-02-14 00:29, stakanov wrote:
In data martedì 14 febbraio 2017 00:20:17, Carlos E. R. ha scritto:
Perhaps there should be some setting roor could make to allow shutdowns with other users logged in, but I am not aware of any.
You can run the command via sudo. This is the question. Is it the same?
Regarding the systemd command, when run as user it will not proceed if there is someone logged in still. It asks for the root password if you want to continue, so at that point it is the same as if you run the command via sudo or as root. I understand it asks politely all applications to finish, and after some time, forcefully kills them. It does not go via the desktop "logout" procedure, it does not give the chance for applications to ask the users how to save work. If the applications save things automatically on their own in the few seconds they are given to quit, that's fine. I doubt graphical sessions finish in the proper order - unless systemd is informed of what is the proper order - ie, they were started as a user process under the control of systemd.
Maybe I am wrong. My worry is just that if I shutdown cronically for convenience with the above command I may destroy akonadi and its databases if e.g. kontakt is open on another account.
In that case, it is best to logoff manually in all the accounts and sessions. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))