5

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 Answers1

7

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

Example:

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
Icon=
Type=Application

References: 1, 2.

desgua
  • 32,917
  • Could you explain to the OP how to make this session for any program? – nanofarad Aug 02 '12 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 05 '12 at 15:10
  • Also see question http://askubuntu.com/questions/184610/custom-session-window-does-not-capture-full-screen-area-by-default-12-04 – Juzer Ali Sep 06 '12 at 07:12