gnome
Making the GNOME login screen ask for a username instead of showing the user list.
1 min read
GNOME login username prompt by default
To force the GNOME Display Manager (GDM) to show a username prompt instead of a user list by default, you must configure GDM to hide the user list. This is often done for security (to prevent username enumeration) or on systems with many users.
sudo nano /etc/gdm3/greeter.dconf-defaults[org/gnome/login-screen]disable-user-list=true# banner-message-enable=true# banner-message-text="Enter Username"Optional: You can also add banner-message-enable=true and banner-message-text='Enter Username' to prompt the user.
Restart GDM
sudo systemctl restart gdm