How can I require users to also enter their usernames upon login?

Good day,

Does anyone know how to modify the login screen so that users are required to type their username along with their password?

I'm running Ubuntu 12.04 with all default settings


Solution 1:

You need three settings in /etc/lightdm/lightdm.conf to get exactly what you want:

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

Solution 2:

Well I've found one option that seems to work partially

add greeter-show-manual-login = true to /etc/lightdm/lightdm.conf and then reboot.

It still shows local accounts which is not ideal but does allow me to log in with ldap user accounts now.