Saturday, May 7, 2011

Making Ubuntu 11.04 as Kiosk using Google Chrome

1. Create Kiosk Users (with password)
2. Switch to Login Kiosk Users, Open Chrome to create default setting, Set Screensaver Setting (E.g. 5 minutes with no password lock)
3. Logout Kiosk Users, Switch back to your normal users
4. sudo vi /usr/share/xsessions/kiosk.desktop
[Desktop Entry]
Name=Kiosk Mode
Comment=Chromium Kiosk Mode
5. sudo vi /usr/share/xsessions/
while true; do google-chrome %u --incognito; sleep 5s; done
6. sudo chmod 755 /usr/share/xsessions/
7. sudo vi /home/kiosk/.dmrc
8. sudo chown root.root .dmrc
9. sudo chmod 644 .dmrc
10. sudo vi /home/kiosk/.config/google-chrome/Default/Preferences

  "browser": {
      "window_placement": {
         "maximized": true,

      "exited_cleanly": true,

11. Change Kiosk Users to Auto Login without asking Password
12. Login Kiosk and Test

PS: Chrome will automatically reopen after 5 second, somehow if you want to logout that session, just kill in console will do.



  1. Hi

    Thank you very much - your idea helped me setting up a Kiosk-Mode surfing Laptop with limited internet Access in less than an hour of installing.

    I also made the Chrome/Chromium preferences owned by root and launch chromium-browser using the ' -kiosk ' which exactly fullfills my requirement :-)

  2. Auto-login feature is not working for me. Whenever I boot my system (with autologin enabled) it just leaves me at a blank screen. Pressing Alt+F1 takes me to shell prompt and asks me for login userid. Also how to disable auto-login feature once this is implemented successfully.

    Can you please help me with this

  3. One extension I found that seems like it will work well with a kiosk is called idle reset. You can give it a URL and set a time for inactivity. It also has the option of clearing out cookies. After a certain period of inactivity, it will reload the "home page" and optionally delete cookies in the process.

  4. Thanks for sharing information about Kiosks.

  5. Very informative blog. Nice explain how to create Ubuntu 11.04 as Kiosk using Google Chrome. Kiosk mode chrome is a great facility of Google Chrome. Thanks for the useful information.