Booting in kiosk mode [duplicate]

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.


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.