On Thursday, 30 April 2020 10:19:15 BST Raffaele BELARDI wrote: > > > Basically I'd like that: > > > - if there is more than one user logged in, either locally via lighdm > > > or remotely via SSH, the shutdown XFCE button is grayed out. Once all > > > users except one have logged out, the button is again available > > > > Can you configure the shutdown/reboot command called by XFCE? If so, you > > can set it to a script that checks whether anyone else is logged in before > > either executing the shutdown or displaying a "Daddy's using the computer" > > dialog. > > I was hoping for a 'system' level solution. I think it was consolekit that, > when a user tried to shutdown while another user was logged presented a > window asking for root password to execute the command. (ESC would let it > continue and do the shutdown anyway, so it was not really working). I'll go > for the manual way. > > Thanks, > > Raffaele
Yes, I recall the same, in particular when logged in on a console, or remotely over SSH, but I don't think I have not observed it on KDE/Plasma desktops for a while now. Mind you, I have moved to elogind, so this may manage seats and signals differently.
signature.asc
Description: This is a digitally signed message part.