Re: user pictures on logon screen [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux