Bug 19643

Summary: no faces icon with breeze sddm theme
Product: Mageia Reporter: Olivier Hoarau <olivier.hoarau>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: Normal CC: aurelienmurith, marja11, ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: sddm-0.14.0-12.mga6.src.rpm CVE:
Status comment:

Description Olivier Hoarau 2016-10-23 21:55:49 CEST
Description of problem:

I can't see faces icon with breeze sddm theme.

my /etc/sddm.conf

[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=breeze
CursorTheme=Adwaita
FacesDir=/usr/share/sddm/faces
EnableAvatars=true

[Users]
HideShells=/sbin/nologin,/bin/false
MaximumUid=65000
MinimumUid=1000

I put png file in /usr/share/sddm/faces

-rw-r--r-- 1 root root 1527728 oct.  23 17:56 julie.face.icon
-rw-r--r-- 1 root root 1534202 oct.  23 17:56 lena.face.icon
-rw-r--r-- 1 root root  262316 oct.  23 17:57 olivier.face.icon
-rw-r--r-- 1 root root    5111 août  28 13:54 root.face.icon
-rw-r--r-- 1 root root  295423 oct.  23 17:58 veronique.face.icon

I don't find if there is a limitation of size for png file

Version-Release number of selected component (if applicable):

Mageia 6 sta 1
sddm-kcm-5.8.2-1.mga6
sddm-0.14.0-8.mga6


How reproducible:
always

Steps to Reproduce:
1. at boot
Comment 1 Marja Van Waes 2016-10-24 12:39:53 CEST
Wasn't that disabled on purpose, for security reasons?

I think there's another bug report about this issue, which contains a link to the bug that was filed to get those faces disabled, but don't have time to look now.

CC: (none) => marja11
Assignee: bugsquad => kde

Comment 2 Olivier Hoarau 2016-10-24 20:03:53 CEST
I understand people who want to disable this, but they can also choose a theme without userlist which are more secured. For a personal family use, I would like to personalize face icons. There is also the EnableAvatars option which can be used to desactivate face icons. I hope that mageia would let the user choose.
Comment 3 Aurélien Murith 2017-02-27 18:13:43 CET
There is also a bug filed at KDE about it:
https://bugs.kde.org/show_bug.cgi?id=361460

Quotation:
"I've found this can depend on your distro's default permissions for $HOME. In short, sddm (unprivledged) needs to have read access to your $HOME/.face"


At another distribution:
https://chakralinux.org/bugtracker/index.php?do=details&task_id=1395

Quotation:
"Sorry I didn't write here how to solve this. There are two different solutions:

1.- First one is to save you avatar (png format) in /usr/share/sddm/faces with the name your_user.face.icon.
2.- Second one is to give exec permission to you home folder in order to sddm user to be able to "see" your avatar.

chmod o+x /home/your_user"

Source RPM: sddm-0.14.0-8.mga6 => sddm-0.14.0-12.mga6.src.rpm
CC: (none) => aurelienmurith

Comment 4 Aurelien Oudelet 2020-08-14 18:03:03 CEST
For this to work, we should use account-daemon.service from accountsservice-0.6.55-2.mga8.src.rpm

Also, on Mageia 8 Beta 1, this is working. So closing it.

Status: NEW => RESOLVED
CC: (none) => ouaurelien
Resolution: (none) => WORKSFORME