Sunday, November 20, 2011

How To Disable Guest Session in Ubuntu 11.10 Oneiric Ocelot

Ubuntu 11.10 added guest account by default.This is the part of new display manager lightDM. To disable his feature follow the below step

1. Open terminal
2. Type ' sudo vi /etc/lightdm/lightdm.conf ' .Then you got a file like this

[SeatDefault]
greeter-session=unity-greeter
user-session=ubuntu


3. Add the line 'allow-guest=false' to the end of the file
4. Save file and exist
5. Reboot your system or restart lightdm service using “sudo restart lightdm” command


For video demonstration visit: http://www.youtube.com/watch?v=qBmF6rZCYh8