How can we configure the machine to boot directly into a restricted interface, with limited options that we can configure? This is to make a kiosk machine.


1 Answer 1


You will have to create a customized session at /usr/share/xsessions and Enable Auto-Login.


1) Open a file (gksu gedit /usr/share/xsessions/Firefox.desktop) and paste:

[Desktop Entry]
Name=Firefox (No effects)
Comment=This session only opens Firefox
Exec=/usr/bin/firefox -height 1200 -width 1600

References: 1, 2.

  • Could you explain to the OP how to make this session for any program?
    – nanofarad
    Aug 2, 2012 at 15:31
  • @desgua : Thanks for sharing, it is working like a charm except for one thing. The window doesn't cover the complete screen area. Some area is left on right side and bottom. I tried same with Opera and Chromium, to no avail. I also tried a pyGtk app and used window.fullScreen(). That also leaves some area on all sides. I couldn't understand whats the issue.
    – Juzer Ali
    Sep 5, 2012 at 15:10
  • Also see question askubuntu.com/questions/184610/…
    – Juzer Ali
    Sep 6, 2012 at 7:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.