Ubuntu – Don’t list all users at login with LightDM


I just upgraded to Ubuntu 11.10 and I was wondering if it's possible to not list all the current users and instead require the user to type in their username? My company's IT policies require that users not be listed on login screens.

In Ubuntu 11.04, I was able to do this with the following commands…

$ sudo -u gdm gconftool-2 --type boolean --set /apps/gdm/simple-greeter/disable_user_list true

Best Answer

You can do this by editing /etc/lightdm/lightdm.conf The default contents are just:


And you can just add:


To that. For the full list of options, see /usr/share/doc/lightdm/lightdm.conf (or look at this post about lightdm conf).