In this article I will show you how to hide users from the LightDM login screen. By default, only the users having their UID < 50 are not displayed in the login screen.

The LightDM login screen is the graphical login, where you have a list of users you can actually login to.
The LightDM configuration file is /etc/lightdm/users.conf.
$ grep -v "#" /etc/lightdm/users.conf
[UserAccounts]
minimum-uid=500
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin
By default, the users nobody, nobody4 and noaccess are hidden from the LightDM login screen.
To hide also, john and mike, append the names on the hidden-users line. The hidden-users line should look like this:
hidden-users=nobody nobody4 noaccess mike john