Hi, I am trying to hide a user from the gdm login screen on fedora 43. The only way I could find to do this was to edit /var/lib/AccountsService/users/ and add the line:
SystemAccount=true
This removes the account from the login, but then I am unable to unlock the user settings, and am presented with a message that states ‘error: some settings cannot be unlocked’.
I have tried editing /etc/gdm/ configuration files, but I am unable to find the correct way to hide the account from the greeter. Any help greatly appreciated…
So there is a limitation, as you have found, in setting SystemAccount=true. From what I understand, it sets it as a system account and not a normal user. Do you need to show any users on the login screen? You could make it so you type in your user and password instead if that is easier.
Edit,
You could also set their shell to nologin in sbin, and that should make GDM hide it from the login page.
Edit 2,
sorry keep adding but here are places i found some info you might want to read its from stack exchange for the same question from 13 years ago but there was a reply in 2022 that i think should work which is
This worked for me on Zorin 16 - gdm3
Uncomment the line which says disable-user-list=true in /etc/gdm3/greeter.dconf-defaults
nano /etc/gdm3/greeter.dconf-defaults
# - Disable user list
disable-user-list=true
Then
/etc/gdm3/greeter.dconf-defaults
By: surajsheikh
There is also this article, although it is for Deb commands the same concepts should apply