Tim wrote:
> Currently I have GDM providing the logon screen, for when I use
the
> MATE desktop. Is it possible to get it to show the user face
> pictures, without having to make user directories world executable?
Todd Zullinger
I don't use MATE, but do still use GDM, so hopefully this is
still useful.
When I set a custom user icon in the Gnome user properties,
the icon is converted to a 96x96 PNG file. The file is
stored in /var/lib/AccountsService/icons/$user and is
referenced via the Icon line in the corresponding users
entry within the AccountsService directory. Here's an
example:
$ cat /var/lib/AccountsService/users/foobar
[User]
Language=en_US.UTF-8
XSession=
PasswordHint=
Icon=/var/lib/AccountsService/icons/foobar
SystemAccount=false
Yes, that works. Currently I'm working on a CentOS box, and it works
there. I'll try it on the Fedora machine, later on (but I can't
remember if that was using GDM).
It didn't have any icon information to begin with (and I had used one
of the user tools to set up my icon, already), the entire file was
this:
cat /var/lib/AccountsService/users/tim
[User]
Language=en_AU.utf8
XSession=mate
SystemAccount=false
And /var/lib/AccountsService/icons/ was empty. But manually adding the
data did the trick.
I guess the third test will be to see if the information stays (nothing
else changing it automatically). I see that the "gdm" user file has
filedate for today (it matches the system boot time), so something
touches the files. Though another user's file's filedate shows the
last time they logged in.
Just did a reboot. While gdm's filedate changed, nothing else did.
--
uname -rsvp
Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically
deleted. I will only get to see the messages that are posted to the
mailing list.