Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
138
rated 0 times [  138] [ 0]  / answers: 1 / hits: 115392  / 2 Years ago, wed, january 26, 2022, 4:36:00

How do I hide a particular user from the login screen on a default install of 11.10 and higher? (ie. using Unity Greeter)?


More From » lightdm

 Answers
7

If your system uses AccountsService, you can not hide a user from the greeter screen by reconfiguring lightdm because it defers to AccountsService. That is stated very clearly in the comments in /etc/lightdm/users.conf.




What you need to do instead is to reconfigure AccountsService.


To hide a user named XXX, create a file named


/var/lib/AccountsService/users/XXX

containing two lines:


[User]
SystemAccount=true

If the file already exists, make sure you append the SystemAccount=true line to the [User] section.


The change takes effect after reloading AccountsService:


sudo systemctl restart accounts-daemon.service

[#41162] Thursday, January 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
piscen

Total Points: 134
Total Questions: 117
Total Answers: 133

Location: Indonesia
Member since Wed, Jul 7, 2021
3 Years ago
;