canonical / lightdm

Display Manager
GNU General Public License v3.0
846 stars 140 forks source link

slick-greeter.conf , hidden-users | hide few users #110

Open x09 opened 4 years ago

x09 commented 4 years ago

lightdm-1.16.7 slick-greeter-1.0.8 accountsservice installed

/etc/lightdm/slick-greeter.conf [Greeter] section, hidden-users option

if one user, all work fine. hidden-users=user2 But i add few users, not working nothing.. hidden-users=user2 user3

All users, include user2, user3 are visible.. How set few users logins?

ervilsoft commented 3 years ago

I had the same problem and after trying everything the solution is to use ";" between usernames instead of a space

So it should look like this: hidden-users=user2;user3

I don't know why every here it says to use a space, even on the default file "/etc/lightdm/users.conf" it comes with this line "hidden-users=nobody nobody4 noaccess"

Hope this helps everyone looking for a solution for this problem.