both the above answers didn't work for me (Ubuntu x64 15.04).. the Ubuntu wiki for LightDM works for me, so thought to post here for others who are looking for it although they can too follow the wiki..
source: What is LightDM?
as per Ubuntu wiki if we want to override the system configured default session (provided in /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf) we should make a file /etc/lightdm/lightdm.conf.d/50-myconfig.conf and define our stuffs there...
for example i want to disable listing user accounts, enable manual login at greeting or login screen and disable guest so wrote the following in
/etc/lightdm/lightdm.conf.d/50-myconfig.conf
first type: sudo mkdir /etc/lightdm/lightdm.conf.d/ in terminal to create lightdm.conf.d folder in /etc/lightdm/
then: sudo nano /etc/lightdm/lightdm.conf.d/50-myconfig.conf
and put the following lines:
[SeatDefaults]
allow-guest=false
greeter-hide-users=true
greeter-show-manual-login=true
now save the file and restart or logout, this is how i get it working.. :)
su -andnano /etc/lightdm/lightdm.confthen Uncommentgreeter-hide-users=false.sudonot work. source, by Ehsan Nazim – EsmaeelE Dec 12 '19 at 17:38List of usernames that are hidden until a special key combination is hit– so, what is the special key combination then? – Frank N Dec 28 '20 at 19:59