Linux Lite 8.0 RC1 has been released - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Kiosk Mode tweak proposal
#1

[member=2]Jerry[/member],

I have yet another tweak to propose for Lite Tweaks collection; Kiosk Mode. Something basic to allow administrators to disable the options to Shutdown, Restart, Suspend and Hibernate the computer for regular users accounts.

Cases where this might be convenient:

In my own experience, my wife decided to shutdown a VM where I was developing and testing few things that I didn't save before stepping away from it. You can imagine my surprise when I came backĀ  and found out that the VM was off and I hadn't saved my messy work :o

She was actually using her own account and not mine so she didn't "see" I was actually working on that VM. To prevent that from happening again (because she uses the same VM I use since I like to hear from her feedback - our VMs are hosted and shared in a VMWare Hypervisor on the network), I disabled her ability to shutdown, restart, Suspend or Hibernate the machine... something similar to this:

[Image: t4kZIf3.png]

[Image: PTbVRXq.png]

[Image: A3PbSBu.png]

While it doesn't fully prevent users from shutting down (e.g: user can force a reboot using the Terminal), at first sight the option isn't really available to restart the machine. I have to research how we can fully prevent regular users from shutting down even from terminal. I've done so in the past with Ubuntu polkit but I don't remember out of the top of my head how to do it.



https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#2

Approved :)

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#3

Hi Jerry,

This is where it is so far:

Settings by default:

[Image: QAshT2m.png]

Kiosk Mode Enable for all users and power options disable on logon screen

[Image: aV9f55D.png]

[Image: A3PbSBu.png]

I'm considering changing "Enable or Disable Kiosk Mode" title to "Kiosk Mode Options"

Also, I'm removing the column header else the Power options will get scrambled if the user clicks them to reorganize columns.

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#4

More like this:

[Image: A1fvdtQ.png]

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#5

I prefer the inner title to be " Kiosk Mode Options' and to keep the column titles. Therefore, a mix of image 1 & 2 if that makes sense.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#6

The problem with the header title is that if clicked it will scramble all the options around cos' it organizes it alphabetically... that's why I removed it.

[Image: tO1wqfA.png]

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#7

Thanks for the explanation. Go forth :)

Sent from my mobile phone using Tapatalk


Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#8

Ok Jerry, I think I the functionality is there already... ready to push it to master?


https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#9

Go for it. Would be cool to announce this for 3.4 :)

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#10

Indeed, we have Kiosk Mode and zRAM so that's 2 additional tweaks that makes it to Lite Tweaks. Pushing it in a bit as follow in Lite Tweaks:

Kiosk Settings - Administration - System - (description here)

But I'm concerned about these options Jerry. See, there is no explanation about what they do and what they don't do. For example, these settings do not turn the machine into a complete Kiosk. It does allows admins from disabling the shutdown and reboot options plus enabling or disabling the power options on the login screen. We should have a place where that is explained so that users can know what the tweak does instead of having them figure out what changes when the tweak is enabled.

How should we address that?


https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)