Re: [gentoo-user] prevent users from shutting down while other users logged in

2020-04-30 Thread Neil Bothwick
On Thu, 30 Apr 2020 09:19:15 +, Raffaele BELARDI wrote: > > 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

Re: [gentoo-user] prevent users from shutting down while other users logged in

2020-04-30 Thread Michael
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

RE: [gentoo-user] prevent users from shutting down while other users logged in

2020-04-30 Thread Raffaele BELARDI
> > 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

Re: [gentoo-user] prevent users from shutting down while other users logged in

2020-04-29 Thread Neil Bothwick
On Wed, 29 Apr 2020 16:19:29 +, Raffaele BELARDI wrote: > I often have the kids working on my main ~amd64 PC (XFCE, OpenRC, > -consolekit) while I ssh into it doing some maintenance from an old PC. > Often they shut it down without telling me first, so I loose part of my > stuff. Is there a

Re: [gentoo-user] prevent users from shutting down while other users logged in

2020-04-29 Thread Michael Jones
On Wed, Apr 29, 2020 at 11:19 AM Raffaele BELARDI wrote: > I often have the kids working on my main ~amd64 PC (XFCE, OpenRC, > -consolekit) while I ssh into it doing some maintenance from an old PC. > Often they shut it down without telling me first, so I loose part of my > stuff. Is there a way