sddm not showing users

Hi.

Hi have opensuse 15.1 with the standard login: sddm with opensuse breaze theme.
yesterday I created a new user from cntl-alt-f2 console, then returned to graphic login with cntl-alt-f7 and select “other user” or someting similar to log in whint the new user as it was not listed in the icons over the login prompt. sunce then the system does not show the users list anymore but the “user” field to type the username.
I have tried to change themes and to change something in sddm.conf but it does not work and I can’t see how to change it in the documentation of sddm.
The users have all ids over 1000
This is my sddm.conf

abraracurcix:~ # cat /etc/sddm.conf
[Autologin]
Relogin=false
User=

[General]
HaltCommand=
InputMethod=
RebootCommand=

[Theme]
Current=breeze-openSUSE
CursorTheme=breeze_cursors
EnableAvatars=true

[Users]
HideUsers=root,pruebas
MaximumUid=65000
MinimumUid=1000
RememberLastUser=false
abraracurcix:~ # 

any ideas?

thanks

How did you create that user? With YaST > Security and Users > Users and Groups?

Yes, also bitten by this since yesterday because, due to some Leap 15.2 “speed” comments. I tried “elarun” as the SDDM theme.

  • Be that as it may, the issue is caused by a “maximum number of Avatars to be shown
    ” issue with the Breeze and openSUSE-Breeze themes. - I seem to remember, the default maximum numbers of Avatars shown is 6 but, I could be wrong.

The solution is – in the [Users] section of sddm.conf or, a file in /etc/sddm.conf.d/:

  1. Possibly reduce the Maximum UID to the default of 60000 if possible.
  2. Use “HideUsers=” to reduce the number of Avatars displayed to 6 or less. You’ll have to use “Other users” to login as one of the hidden users.
  3. There is an undocumented [Theme] parameter: “DisableAvatarsThreshold
    =” – set it to a value > 6 if you have to show the Avatars of all those users who need to login to the system.

[HR][/HR]This happened because, the SUSE staff, and those members of the SUSE staff who work on openSUSE, had a problem scrolling left/right through the Avatars to their user – as of 2019, there were 1750 employees listed …

One of the reasons I do not want that feature on my systems. When people can not even remember their username and type it …:frowning:

no, with


useradd -m username
passwd username

It didin’t work.
I have been trying several themes downloaded from the KDE settings “download more themes” it does not work for any of them… except for some
It shows the users for sweet, Sugar Candy, and others, but what I have noticed is that all the themes that show the users in fact are not working, all of them show this login screen
https://susepaste.org/87808916

all same color and format, all complaining that the current theme cannot be loaded due to errors below… and some different errors all related to QT versions

I am guessing that your new user was created with a UID outwith the graphical login display range.

In KDE find or modify the UID display range with:
System Settings > Startup & Shutdown > Login Screen > Advanced
Minimum UID and Maximum UID

Use YaST to see and modify the user’s UID
YaST > Security and Users > User and Group Administration > Users

I normally choose out of range UIDs for administrative accounts (who rarely use a GUI to avoid confusing regular users.

Then, there’re, possibly, two issues here:

  1. The theme hasn’t been installed correctly – check the contents of the directory of each installed theme below ‘/usr/share/sddm/themes/’ – an example for “breeze-openSUSE” is below.
  2. Check the protection of the .PNG files for the Avatars – they have to be either, world/other readable or owned by the SDDM user: “sddm” – group: “sddm”.

The Avatar locations needs to be checked – also the default system directory: ‘/usr/share/sddm/faces/’ – parameter “FacesDir=”.
The SDDM documentation is here: <https://github.com/sddm/sddm&gt;.

The normal users have ids from 1000. The new user has id 1010
Minimum UID and Maximum UID are set to 1000 and 1200
The problem is not that my new user is not listed is that no users are listed at all
https://susepaste.org/88991221
This is so since i did “log in as another user”

Ooops! – Forgot to add the example:


 > ls /usr/share/sddm/themes/breeze-openSUSE/
Background.qml   **components**           Login.qml   Main.qmlc         SessionButton.qml   theme.conf.user
Background.qmlc  KeyboardButton.qml   Login.qmlc  metadata.desktop  SessionButton.qmlc
Clock.qml        KeyboardButton.qmlc  Main.qml    **preview.png**       theme.conf
 > 

The *.qml files are in the package; the *.qmlc files are generated when the Theme runs for the first time …

My apologies to all for an irrelevant post. I only heard the first part of the initial post. I will have to investigate whether it was a technical or personal failure.

I think the error in the themes is a dependencies error. in the previous photo you can’t see it, but look at these

https://susepaste.org/89620507

https://susepaste.org/30587917

Anyway, what I was trying to point out is that is only in the cases in which the theme is not loading when the user list is shown.
With all the themes that “work” the user list is not shown, and I can’t find why.

Yes, they’re dependency errors – “QtQuick Controls” version 2.5 is needed and, “QtQuick” version 2.11 is needed.

  • Are the packages “libQtQuick5” and “libqt5-qtquickcontrols” and “libqt5-qtquickcontrols2” installed on your system?

yes, they are.


fernando@abraracurcix:~> rpm -qa |grep libQtQuick
libQtQuick5-5.9.7-lp151.2.2.x86_64
fernando@abraracurcix:~> rpm -qa |grep libqt5
libqt5-qttranslations-5.9.7-lp151.1.1.x86_64
libqt5-qtgraphicaleffects-5.9.7-lp151.1.2.x86_64
libqt5-qtstyleplugins-platformtheme-gtk2-5.0.0+git20170311-lp151.4.2.x86_64
libqt5-qtquickcontrols2-5.9.7-lp151.1.3.x86_64
libqt5-qtimageformats-5.9.7-lp151.1.2.x86_64
libqt5-qtbase-platformtheme-gtk3-5.9.7-lp151.4.3.1.x86_64
libqt5-qtvirtualkeyboard-5.9.7-lp151.1.1.x86_64
libqt5-qdbus-5.9.7-lp151.1.38.x86_64
libqt5-qtpaths-5.9.7-lp151.1.38.x86_64
libqt5-qtwebengine-5.9.7-lp151.1.42.x86_64
libqt5-qtwayland-5.9.7-lp151.1.4.x86_64
libqt5-qtquickcontrols-5.9.7-lp151.1.3.x86_64
fernando@abraracurcix:~> 


I guess that when you install a theme from the control panel, it installs it as a tgz so it does not check for dependencies, so maybe some themes simply are not compatible with my system.

fernando@abraracurcix:~> ls /usr/share/sddm/themes/breeze-openSUSE
Background.qml  Clock.qml  components  KeyboardButton.qml  Login.qml  Main.qml  metadata.desktop  preview.png  SessionButton.qml  theme.conf  theme.conf.user
fernando@abraracurcix:~> ls -l /usr/share/sddm/faces/
total 8
-rw-r--r-- 1 root root 5111 jul 18  2018 root.face.icon
fernando@abraracurcix:~> 

I have reinstalled sddm, sddm-theme-openSUSE, sddm-branding-openSUSE, kcm_sddm, kcm_sddm-lang, it has not changed anything, I still have less files than you.

The workaround I found was using gdm.
I tried sddm, kdm, xdm and lightdm, none of them shows the user list, but gdm does.