Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How do I enable auto-login in LightDM?
How to permanently disable LightDM greeter and enable autologin?

I'm trying to set up an Ubuntu 12.04 machine as a kiosk and I would like it, on boot, to automatically log in as my kiosk user "kiosk", and start the appropriate display manager, in this case blackbox.

I have configured /etc/lightdm/lightdm.conf as in this question and have an appropriate /usr/share/xsessions/blackbox.desktop to launch blackbox.

I managed to get initial autologin by using the dbus-send method in this question, however if I right-click and select "Exit" from blackbox, then I am taken back to the login screen.

How can I configure lightdm/ubuntu to always autologin as "kiosk" instead of displaying the login screen?

Or, failing that, how can I configure blackbox to not display a menu when I right-click?

share|improve this question
    
I don't know what Blackbox is but if you want to set a profile to auto login you can open the user accounts program and select your account you want to auto login then unlock the dialogue and select auto login. –  Weylin Schreck Oct 11 '12 at 21:19
add comment

marked as duplicate by Jorge Castro, Stephen Myall, Tom Brossman, Mik, John S Gruber Oct 12 '12 at 1:55

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.

1 Answer

As far as disabling the Exit button, have a look at this and this they explain that the default menu is located in /usr/share/blackbox/menu, but can be overidden with a ~/.blackbox/menu file referenced from a .blackboxrc. The man page also states that adding blackbox to your .xinitrc or .xsession will get blackbox to kill the X session on exit.

If you're doing a kiosk you'll have to make sure the account is locked down. That way, if somebody switches to a virtual terminal (Ctrl+Alt+F1-7) they can't do any damage.

share|improve this answer
add comment

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