How to hide a user from the gdm login screen?

Hi

I’m using openSUSE 13.1 with gnome3 gdm

I want to hide a certain user from the list of available logins.

I have edited the /etc/gdm/custom.conf and put this is there:

[greeter]

Exclude=otheruser

… but this changes nothing. The user is still visible.

I also tried to give the user a ID lower than 1000 but this also does not work.

Any suggestion want I should do to acomplish this?

AFAIK gdm now uses the accountservice daemon for that, so you would have to configure it there.

Maybe this will help?

https://bugzilla.redhat.com/show_bug.cgi?id=723708#c40

PS: I don’t use gdm myself, but kdm.
There you can configure this in KDE’s systemsettings->Login Screen… :wink:

Thank you wolfy323

This I had to do (taken from your links provided) and this works for me:

editing or creating /var/lib/AccountsService/users/{theUserYouWantToExclude} with this content:


[User]
Language=
XSession=gnome
SystemAccount=true

This works b.t.w. exactly the same in ligthdm when you have a xfce4 installation.

Thanks for your feedback! :slight_smile:
Other people with the same question might profit from that…

This works b.t.w. exactly the same in ligthdm when you have a xfce4 installation.

Yes. Lightdm also uses the accountservice daemon as I have learned in another thread here where I tried to help.
And IIRC the lightdm config files even tell so. :wink: