Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

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.

share|improve this question

marked as duplicate by Eliah Kagan, Chris Wilson, hhlp, Jorge Castro, stephenmyall Mar 20 '13 at 16:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to Ask Ubuntu. This site is in English, so I've translated your question into English. – Gilles May 5 '12 at 19:10
sorry, my English is not so good, my next question will be on english I promise, thanks for translate – Miguel Eduardo Servellon May 5 '12 at 23:31
up vote 5 down vote accepted

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.

share|improve this answer
thanks a lot! I'll try it – Miguel Eduardo Servellon May 5 '12 at 23:28
Could you explain to the OP how to make this session for any program? – hexafraction Aug 2 '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 5 '12 at 15:10
Also see question… – Juzer Ali Sep 6 '12 at 7:12

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