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
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Using Salt Stack and Vagrant for Drupal Development
- Reply to comment | Linux Journal
2 hours 21 min ago - Dynamic DNS
2 hours 55 min ago - Reply to comment | Linux Journal
3 hours 54 min ago - Reply to comment | Linux Journal
4 hours 44 min ago - Not free anymore
8 hours 46 min ago - Great
12 hours 33 min ago - Reply to comment | Linux Journal
12 hours 41 min ago - Understanding the Linux Kernel
14 hours 56 min ago - General
17 hours 25 min ago - Kernel Problem
1 day 3 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



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.