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.

Calvin So’s IT Memo Blog: Making Ubuntu 11.04 as Kiosk using Google Chrome.