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.

I noticed in Ubuntu 11.10, that finally there is possible to log in with guest account already from log in screen. The last step is remaining - how to enable the guest account automatically log in, e.g. when computer starts? This would be very helpful for public computers, e.g. in libraries, schools, universities, student campus etc. This would be workaround for user account deep freeze feature, which is still missing from Ubuntu.

share|improve this question

2 Answers 2

up vote 5 down vote accepted

Edit /etc/lightdm/lightdm.conf with your favourite editor like gksu gedit /etc/lightdm/lightdm.conf and under the section [SeatDefaults] add

allow-guest=true  
autologin-guest=true  
autologin-user-timeout=0  
autologin-session=lightdm-autologin  
user-session=ubuntu
share|improve this answer
    
Thank you very much - it worked! –  zeroconf Jan 15 '12 at 0:39
1  
@zeroconf: Please mark the question as answered since it worked –  mfisch Dec 5 '12 at 19:00

The lightdm config file location has changed in Ubuntu 14.04. To accomplish the same you need to create a new file /usr/share/lightdm/lightdm.conf.d/50-auto-guest.conf, for example by running

gksu gedit /usr/share/lightdm/lightdm.conf.d/50-auto-guest.conf

and putting in this content:

[SeatDefaults]
allow-guest=true  
autologin-guest=true  
autologin-user-timeout=0  
autologin-session=lightdm-autologin  
user-session=ubuntu
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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