cdoc
Posts: 1
Joined: Mon Aug 22, 2016 6:11 pm

GUI jail - how?

Mon Aug 22, 2016 6:15 pm

Hello, I am trying to figure a way of "jailing" the functionality of my raspberry pi to a GUI's functionality. Meaning, all i wanna do is power up the RPi and have no other functionality but my own program's. I need it to be impossible for the user to "escape" my pseudo-sandbox and access the RPi's operating system.

Any directions would be appreciated. Thank you!

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: GUI jail - how?

Tue Aug 23, 2016 9:37 am

A "knowledgeable" user with physical access to the device can break any jail you can create. ( he just extracts the SD-card and change it on another device )

But first you have to identify the ways a "less knowledgable" user might try to access the terminal or the filesystem and then disable those ways.

- disable ctrl-alt-backspace as a way of killing the X-server.
- uninstall all editors, filebrowsers and terminalprograms. ( or at least clean them out of the menus )
- disable "run" menu (if it exist)
- .... and more..

--

Do you want the user to use more than one program or is it specifically one program that the user only need to use ? You could then start that program in kiosk-mode and no "desktop" features would be available.

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: GUI jail - how?

Tue Aug 23, 2016 9:48 am

also
limit virtual terminals to 1
disable ssh access
...

but exactly why ?
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
Gavinmc42
Posts: 4534
Joined: Wed Aug 28, 2013 3:31 am

Re: GUI jail - how?

Wed Aug 24, 2016 4:49 am

Ultibo
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Graphics programming”