How to Disable Guest Login in Ubuntu

Create a file called lightdm.conf in the /etc/lightdm directory that contains the following:

[SeatDefaults]
greeter-show-manual-login=true
greeter-hide-users=true
allow-guest=false

This also hides usernames requiring you to explicitly enter the username (for more security).

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License