Tech Tip: Start a Kiosk Style Machine Running a Single X11 Application
By changing your Xsession file you can start a kiosk-style machine that starts a single X11 application.
On Debian you would change the file /etc/X11/Xsession.d/99x11-common_start. In stock form there is a line that reads:
exec $STARTUP
Change that to read:
exec firefox javascript:%20resizeTo\(1024,768\)
and your machine will boot directly into Firefox at a screen size of 1024x768. Of course you can change the size to any resolution you like. You can probably also add more javascript as well and force opening a web page and other stuff. Combine this with Bastille and an autologin of a non-privileged user and you'll have a very convenient (and cheap) kiosk.
On some Linux distros the Xsession file may actually be a single file rather than a directory of files. A search such as:
find /etc/X11 -iname 'Xsession*'
should find it for you. The actual line to change may differ also but should be near the end and be an exec statement or a function call that invokes exec.
Jim Peterson Technology Coordinator, Goodnight Memorial Library Author of Jimmy the Geek blog
Trending Topics
| OpenLDAP Everywhere Reloaded, Part I | May 23, 2012 |
| Chemistry the Gromacs Way | May 21, 2012 |
| Make TV Awesome with Bluecop | May 16, 2012 |
| Hack and / - Password Cracking with GPUs, Part I: the Setup | May 15, 2012 |
| An Introduction to Application Development with Catalyst and Perl | May 14, 2012 |
| Cryptocurrency: Your Total Cost Is 01001010010 | May 09, 2012 |
- OpenLDAP Everywhere Reloaded, Part I
- Strip DRM from WMV File
- Validate an E-Mail Address with PHP, the Right Way
- Boot with GRUB
- Why Python?
- A Statistical Approach to the Spam Problem
- Chapter 16: Ubuntu and Your iPod
- Why Hulu Plus Sucks, and Why You Should Use It Anyway
- Building an Ultra-Low-Power File Server with the Trim-Slice
- Science the GNU Way, Part I
- Editorial Standards?
4 hours 4 min ago - Great one
5 hours 39 min ago - Common form in many
6 hours 16 sec ago - Awsome
11 hours 3 min ago - Euro 2012 Coupon Codes - Get 20% Off Pavtube TiVo Converter
3 days 9 hours ago - Euro 2012 Big Sale: 20% Off Instant Savings on TiVo Converter
3 days 9 hours ago - MakeMKV works as well, though
3 days 9 hours ago - Euro 2012 Big Sale: 20% Off Instant Savings on TiVo Converter
3 days 10 hours ago - Awesome
4 days 8 hours ago - Who worries approx the
4 days 10 hours ago





Comments
R-Kiosk
If you are looking at creating a kiosk then its worth trying the R-Kiosk plugin for firefox. It disables forward/back/right click/menus/mostly everything just leaving you with a browser window. If you manage to lock yourself out of your firefox then you can bypass it with "firefox -safe-mode", not that I ever did that... :)
Privacy Mode
To increase privacy use kiosk mode firefox with private browsing session feature
http://support.mozilla.com/en-US/kb/Private+Browsing#Always_start_Firefo...
thank you!
I need to set up a kiosk here at work in the next couple of days and was just about to look into how to do so.
--
Alison Chaiken
(650) 279-5600 (cell) http://www.exerciseforthereader.org/
Cool!
I've been poking around for the pieces I'd need to turn a laptop into a Video Diary Kiosk for a friends wedding. This sounds like one of my clincher pieces!
Improvements
In Ubuntu (and most distros, I think) you can have a .xsession file in the user home, which is much better than messing with system files.
Also, the javascript could be changed to javascript:resizeTo\(screen.width,screen.height\) to make it full screen in all cases.
Good Tips.... I will try
Good Tips....
I will try this to have fun with "Kiosk" Mode.