Disable Guest Session on Ubuntu 12.04
1 | gksu gedit /etc/lightdm/lightdm.conf |
Add allow-guest=false to the end so your final result should look like:
1 | [SeatDefaults] |
Restart the display manager:
1 | sudo restart lightdm |
Reference:
http://askubuntu.com/questions/62564/how-do-i-disable-the-guest-session