SDDM login screen no longer showing users with faces?
Hi all, is it just me or did the SDDM login screen recently stop displaying the list of users with their pictures/faces? I only have username/password prompt, that at least seems to remember the last user. But the pictures of the local users are gone. Not sure when this started, if memory serves last week. Maybe with the big Plasma6 upgrade? I deleted the empty /etc/sddm.conf and moved an old (?) file from /etc/sddm.conf.d/, but no change. Kind Regards Johannes
Le 22/03/2024 à 07:37, Johannes Kastl a écrit :
Hi all,
is it just me or did the SDDM login screen recently stop displaying the list of users with their pictures/faces?
I only have username/password prompt, that at least seems to remember the last user. But the pictures of the local users are gone.
Not sure when this started, if memory serves last week. Maybe with the big Plasma6 upgrade?
I deleted the empty /etc/sddm.conf and moved an old (?) file from /etc/sddm.conf.d/, but no change.
Kind Regards Johannes I had the same problem and solved the problem adding the pictures in /usr/share/sddm/faces. These are jpg pictures saved as <user>.face.icon. Not sure that this is the correct location because we should not save user data in /usr but in /etc
see also https://github.com/sddm/sddm -- Philippe Condé
Hello,
In the Message;
Subject : Re: SDDM login screen no longer showing users with faces?
Message-ID :
On 22.03.24 08:15 Philippe Condé wrote:
I had the same problem and solved the problem adding the pictures in /usr/share/sddm/faces. These are jpg pictures saved as <user>.face.icon. Not sure that this is the correct location because we should not save user data in /usr but in /etc
OK, thanks for the confirmation and the possible solution. The question is why did the *.face.icon files vanish in the first place? Kind Regards, Johannes
Le 22/03/2024 à 14:54, Johannes Kastl a écrit :
OK, thanks for the confirmation and the possible solution.
The question is why did the *.face.icon files vanish in the first place?
Kind Regards, Johannes Maybe the remove of sddm (qt5) removed all settings, and sddm (qt6) was installed after. I did a test with program sddm-conf and changed the face directory to /etc/sddm/face, copied therein the pictures and it works. It seems cleaner to me and should maybe not be overwritten by next big changes
-- Philippe Condé
On 3/22/24 03:15, Philippe Condé wrote:
Le 22/03/2024 à 07:37, Johannes Kastl a écrit :
Hi all,
is it just me or did the SDDM login screen recently stop displaying the list of users with their pictures/faces?
I only have username/password prompt, that at least seems to remember the last user. But the pictures of the local users are gone.
Not sure when this started, if memory serves last week. Maybe with the big Plasma6 upgrade?
I deleted the empty /etc/sddm.conf and moved an old (?) file from /etc/sddm.conf.d/, but no change.
Kind Regards Johannes I had the same problem and solved the problem adding the pictures in /usr/share/sddm/faces. These are jpg pictures saved as <user>.face.icon. Not sure that this is the correct location because we should not save user data in /usr but in /etc
see also https://github.com/sddm/sddm
-- Philippe Condé
If you add the face pictures using System Settings / users on Tumbleweed then the pictures are stored in /var/lib/AccountService/icons/ The file name will be the username without any extension. I added the face pictures that way when I was running plasma 5 and after updating to plasma 6 the face pictures still appeared on the greeter screen. -- Regards, Joe
Hi Joe, On 23.03.24 00:13 Joe Salmeri wrote:
If you add the face pictures using System Settings / users on Tumbleweed then the pictures are stored in
/var/lib/AccountService/icons/
The file name will be the username without any extension.
I see my user's pictures there and will try to copy them to /usr/share/sddm/faces/ (or configure SDDM to look for them in /etc/ somewhere). I'll keep you posted. Johannes
On 23.03.2024 12:12, Johannes Kastl wrote:
Hi Joe,
On 23.03.24 00:13 Joe Salmeri wrote:
If you add the face pictures using System Settings / users on Tumbleweed then the pictures are stored in
/var/lib/AccountService/icons/
The file name will be the username without any extension.
I see my user's pictures there and will try to copy them to /usr/share/sddm/faces/ (or configure SDDM to look for them in /etc/ somewhere).
SDDM gets user icon from the following locations in order of preference. This presumes user icons are enabled in the first place. 1. Global system location in SDDM configuration defaulting to /usr/share/sddm/faces. The file name has to be $USER.face.icon. 2. User home directory. File name has to .face.icon. 3. AccountsService directory /var/lib/AcctountsService/icons. File name has to be $USER. SDDM does not use AccountsService API, it hard-codes the directory name. When you configure user property via KDE System Settings, it is using AccountsService and so stores icon in the last location (strictly speaking, where AccountsService is setup to store them, this is actually done by AccountsService) and *also* saves this location in AccountsService user metadata (/var/lib/AccountsService/users/$USER). Now, I can edit this metadata manually and change location. In which case System Settings will show empty icon but SDDM will happily pick the existing icon from /var/lib/AccountsSerive/icons. So storing icon in the last location most certainly works unless there is some information in the earlier locations that override it.
Hi Andrei, On 23.03.24 16:29 Andrei Borzenkov wrote:
SDDM gets user icon from the following locations in order of preference. This presumes user icons are enabled in the first place.
1. Global system location in SDDM configuration defaulting to /usr/share/sddm/faces. The file name has to be $USER.face.icon.
2. User home directory. File name has to .face.icon.
3. AccountsService directory /var/lib/AcctountsService/icons. File name has to be $USER. SDDM does not use AccountsService API, it hard-codes the directory name.
Thanks for the detailled explanation. The last point is where SDDM previously got the icons from. However, that no longer works. Or, rather, it might be that the theme does no longer show them or something like that. I tried setting FacesDir in /etc/sddm.conf.d/ but also those pictures do not show up. I'll try a different theme next. Kind Regards, Johannes
On 23.03.2024 18:52, Johannes Kastl wrote:
Hi Andrei,
On 23.03.24 16:29 Andrei Borzenkov wrote:
SDDM gets user icon from the following locations in order of preference. This presumes user icons are enabled in the first place.
1. Global system location in SDDM configuration defaulting to /usr/share/sddm/faces. The file name has to be $USER.face.icon.
2. User home directory. File name has to .face.icon.
3. AccountsService directory /var/lib/AcctountsService/icons. File name has to be $USER. SDDM does not use AccountsService API, it hard-codes the directory name.
Thanks for the detailled explanation.
The last point is where SDDM previously got the icons from. However, that no longer works.
It works here on the up to date Tumbleweed, so this is something specific to your system.
On 23.03.24 16:57 Andrei Borzenkov wrote:
On 23.03.2024 18:52, Johannes Kastl wrote:
It works here on the up to date Tumbleweed, so this is something specific to your system.
Possible, yes, hence my initial question. Or it might be related to a different theme for SDDM or something else. We'll see. Kind Regards Johannes
Am Samstag, 23. März 2024, 16:57:35 CET schrieb Andrei Borzenkov:
On 23.03.2024 18:52, Johannes Kastl wrote:
Hi Andrei,
On 23.03.24 16:29 Andrei Borzenkov wrote:
SDDM gets user icon from the following locations in order of preference. This presumes user icons are enabled in the first place.
1. Global system location in SDDM configuration defaulting to /usr/share/sddm/faces. The file name has to be $USER.face.icon.
2. User home directory. File name has to .face.icon.
3. AccountsService directory /var/lib/AcctountsService/icons. File name has to be $USER. SDDM does not use AccountsService API, it hard-codes the directory name.
Thanks for the detailled explanation.
The last point is where SDDM previously got the icons from. However, that no longer works.
It works here on the up to date Tumbleweed, so this is something specific to your system.
At my side the user is at /var/lib/AccountsService/icons/$USER on my Desktop as well Notebook. But at my notebook it won't be schown at only one user "ulf" but "ulfi" and the other users are displayed. ls -l /var/lib/AccountsService/icons/ insgesamt 364 -rw-r--r-- 1 root root 94434 28. Mär 2023 gabi -rw-r--r-- 1 root root 29437 28. Mär 2023 homebanking -rw-r--r-- 1 root root 78910 28. Mär 2023 ub1x -rw-r--r-- 1 root root 69080 26. Mär 2023 ulf -rw-r--r-- 1 root root 46625 28. Mär 2023 ulfi -rw-r--r-- 1 root root 40425 26. Mär 2023 ulfx Ulf
Hi, find the reason 🥳 Am Samstag, 23. März 2024, 17:42:10 CET schrieb Ulf via openSUSE Factory:
Am Samstag, 23. März 2024, 16:57:35 CET schrieb Andrei Borzenkov:
On 23.03.2024 18:52, Johannes Kastl wrote:
On 23.03.24 16:29 Andrei Borzenkov wrote:
SDDM gets user icon from the following locations in order of preference. This presumes user icons are enabled in the first place.
1. Global system location in SDDM configuration defaulting to /usr/share/sddm/faces. The file name has to be $USER.face.icon.
OK, not used
2. User home directory. File name has to .face.icon.
At user "ulf" have .face.icon which links to .face. But there the owner was user:users and the rights was -rw-r--r--. But the SSDM client seams to be not have the required rights to access it. If I delete .face* it works fine 🥳
3. AccountsService directory /var/lib/AcctountsService/icons. File name has to be $USER. SDDM does not use AccountsService API, it hard-codes the directory name.
$USER was present but not used due to lower priority. Ulf
On 03-22-2024 01:37AM, Johannes Kastl wrote:
Hi all,
is it just me or did the SDDM login screen recently stop displaying the list of users with their pictures/faces?
I only have username/password prompt, that at least seems to remember the last user. But the pictures of the local users are gone.
Not sure when this started, if memory serves last week. Maybe with the big Plasma6 upgrade?
I deleted the empty /etc/sddm.conf and moved an old (?) file from /etc/sddm.conf.d/, but no change.
Kind Regards Johannes
Hi, I had an issue with SDDM display similar to your problem description. It was prior to the openSUSE Plasma6 MEGARELEASE though. Was caused by a Mesa update not working correctly shading on the machine here's very very old hardware. I do not know which hardware you have. Solution that worked here: create '/etc/environment' and enable software rendering by adding 'QT_QUICK_BACKEND=software' (without quotes). Here is the solution link: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10523#note_2304029 When I first asked about the SDDM problem here someone suggested trying this following information. It did not help on the machine here though: https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/message/... I have reviewed some information about the openSUSE Plasma6 MEGARELEASE and the notes about SDDM are as follows: 1. package 'plasma6-x11' was not installed, although I used 'plasma5-x11' 2. I've got a control panel for sddm only after manually uninstalling the package 'sddm' and installing the new 'sddm-qt6'. -Best Wishes
Hi, On 22.03.24 08:25 -pj via openSUSE Factory wrote: [user pictures no longer visible in SDDM login screen]
Hi, I had an issue with SDDM display similar to your problem description. It was prior to the openSUSE Plasma6 MEGARELEASE though. Was caused by a Mesa update not working correctly shading on the machine here's very very old hardware. I do not know which hardware you have.
Solution that worked here: create '/etc/environment' and enable software rendering by adding 'QT_QUICK_BACKEND=software' (without quotes).
Thanks, but that did not help. Instead it messed up the icons and descriptions for Reboot/Shutdown/... and showed all of them in the upper left corner of the screen.
I have reviewed some information about the openSUSE Plasma6 MEGARELEASE and the notes about SDDM are as follows:
1. package 'plasma6-x11' was not installed, although I used 'plasma5-x11'
I only find plasma6-session-x11 (which is installed), but neither plasma5-x11 nor plasma6-x11... Kind Regards, Johannes
Op vrijdag 22 maart 2024 07:37:40 CET schreef Johannes Kastl:
Hi all,
is it just me or did the SDDM login screen recently stop displaying the list of users with their pictures/faces?
I only have username/password prompt, that at least seems to remember the last user. But the pictures of the local users are gone.
Not sure when this started, if memory serves last week. Maybe with the big Plasma6 upgrade?
I deleted the empty /etc/sddm.conf and moved an old (?) file from /etc/sddm.conf.d/, but no change.
Kind Regards Johannes
I have these faces in ~/.face.icon, but you need to make them world readable. At least accessible from user sddm. -- fr.gr. member openSUSE Freek de Kruijf
Hi, thanks for the reply. On 22.03.24 10:49 Freek de Kruijf wrote:
I have these faces in ~/.face.icon, but you need to make them world readable. At least accessible from user sddm.
I created and managed the users in the user's panel in KDE's/Plasma's system settings. I can still see the users and their pictures there without problems. But none of the users has a .face-icon file in their $HOME. And none are in /usr/share/sddm/faces/. Not sure if there were files in that directory before the issue appeared. So, in short, I can of course manually add the .face.icon files, but would like to avoid that. Kind Regards, Johannes
On 22.03.24 07:37 Johannes Kastl wrote:
Hi all,
is it just me or did the SDDM login screen recently stop displaying the list of users with their pictures/faces?
I only have username/password prompt, that at least seems to remember the last user. But the pictures of the local users are gone.
Funnily enough on the lock screen, i.e. after a user was logged in and locked the screen, the picture is shown... Kind Regards, Johannes
On 3/22/24 07:53, Johannes Kastl wrote:
On 22.03.24 07:37 Johannes Kastl wrote:
Hi all,
is it just me or did the SDDM login screen recently stop displaying the list of users with their pictures/faces?
I only have username/password prompt, that at least seems to remember the last user. But the pictures of the local users are gone.
Funnily enough on the lock screen, i.e. after a user was logged in and locked the screen, the picture is shown...
Kind Regards, Johannes
That isn't surprising, as sddm isn't "part" of KDE, and the lock screen doesn't use it. The integration isn't as tight as gdm is with GNOME, where they're able to leverage gdm to provide the lock screen functionality.
Hi Shawn, On 22.03.24 21:07 Shawn W Dunn wrote:
That isn't surprising, as sddm isn't "part" of KDE, and the lock screen doesn't use it. The integration isn't as tight as gdm is with GNOME, where they're able to leverage gdm to provide the lock screen functionality.
Ah, that makes sense. I thought the lock screen was also part of / handled by SDDM, not KDE/Plasma. Johannes
participants (9)
-
-pj
-
Andrei Borzenkov
-
Freek de Kruijf
-
Joe Salmeri
-
Johannes Kastl
-
Masaru Nomiya
-
Philippe Condé
-
Shawn W Dunn
-
Ulf