Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two login screens with the same name and with no preview/image #1912

Open
mYnDstrEAm opened this issue Apr 10, 2024 · 3 comments
Open

Two login screens with the same name and with no preview/image #1912

mYnDstrEAm opened this issue Apr 10, 2024 · 3 comments
Labels

Comments

@mYnDstrEAm
Copy link

In Debian12 with KDE5 (SDDM v0.19.0-5) after an Upgrade from Debian11 under System Settings -> Startup and Shutdown -> Login Screen (SDDM) there are two Login screens with the same name and no preview. Screenshot below. When hovering on the second login screen the trashbin button is also greyed out.

3334445

If I start systemsettings from the console when opening up this page to view the login screens this is the new output:

QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "implicitWidth"
file:///usr/share/kpackage/kcms/kcm_sddm/contents/ui/main.qml:54:20: QML Image: Cannot open: file:///usr/share/sddm/themes/debian-maui/maui.jpg
file:///usr/share/kpackage/kcms/kcm_sddm/contents/ui/main.qml:54:20: QML Image: Cannot open: file:///usr/share/sddm/themes/debian-maui/maui.jpg
file:///usr/share/kpackage/kcms/kcm_sddm/contents/ui/main.qml:54:20: QML Image: Cannot open: file:///usr/share/sddm/themes/debian-maui/maui.jpg
file:///usr/share/kpackage/kcms/kcm_sddm/contents/ui/main.qml:54:20: QML Image: Cannot open: file:///usr/share/sddm/themes/debian-theme/maui.jpg
file:///usr/share/kpackage/kcms/kcm_sddm/contents/ui/main.qml:54:20: QML Image: Cannot open: file:///usr/share/sddm/themes/debian-maui/maui.jpg
file:///usr/share/kpackage/kcms/kcm_sddm/contents/ui/main.qml:54:20: QML Image: Cannot open: file:///usr/share/sddm/themes/debian-theme/maui.jpg
qml: The item SubCategoryPage_QMLTYPE_74(0x55b0a5ab7d50) is already in the PageRow

If this is a KDE bug please let me know where to file it, I could not find SDDM in KDE's packages on their bugtracker site. Or is this a Debian bug? If either is the case, some more details what could be the cause would be useful. I don't know if there is some folder to check under KDE where these login screens are configured.

Maybe this is because two display monitors are configured? I previously had a problem of a second smaller login screen above a larger one (mirrored content where I could login in either) before I disabled the other powered-off display monitor under "Display Configuration". Bug report in need of more info if anybody can provide it here.

I would expect that there only is one login screen and that it has a preview image.

Three other problems that may be related and for which I don't know if I could/should create a new bug report here or elsewhere (please let me know if you know something regarding these):

  • Under Behavior of the login screen the maximum user ID is below the UID for the libvirt-qemu user according to grep LIBVIRT_QEMU_UID /var/lib/dpkg/info/libvirt*. But the user shows up on the login screen despite of that and despite of setting SystemAccount=true (and this shouldn't be required). See the question here and the bug report linked in the answer to it.
  • On one of the machines upgraded from Debian11 to Debian12 I had configured that it automatically logs in. But it seems like in the dropdown next to "with session" after the upgrade this was changed to "Kodi" instead of "Plasma (X11)" (there was no noticeable difference to the standard X11 session and it's probably because "Kodi" is the first value in the dropdown which seems to be sorted alphabetically)
  • When configuring Wayland to be the default at the login screen (dropdown in the upper left) as recommended at places where people asked about how to switch from X11 to Wayland, this doesn't change the session the user is automatically logged into. I think it should be changed or the user be asked if they'd like to change the default after auto-login if they changed it at the lockscreen.
@Vogtinator
Copy link
Contributor

That sounds like a bug in kcm_sddm. Debian ships an older version though so you might want to report that do debian first and not to KDE upstream.

Under Behavior of the login screen the maximum user ID is below the UID for the libvirt-qemu user according to grep LIBVIRT_QEMU_UID /var/lib/dpkg/info/libvirt*. But the user shows up on the login screen despite of that and despite of setting SystemAccount=true (and this shouldn't be required). See the question here and the bug report linked in the answer to it.

What's the output of getent passwd libvirt-qemu?

On one of the machines upgraded from Debian11 to Debian12 I had configured that it automatically logs in. But it seems like in the dropdown next to "with session" after the upgrade this was changed to "Kodi" instead of "Plasma (X11)" (there was no noticeable difference to the standard X11 session and it's probably because "Kodi" is the first value in the dropdown which seems to be sorted alphabetically)

Also kcm_sddm.

When configuring Wayland to be the default at the login screen (dropdown in the upper left) as recommended at places where people asked about how to switch from X11 to Wayland, this doesn't change the session the user is automatically logged into. I think it should be changed or the user be asked if they'd like to change the default after auto-login if they changed it at the lockscreen.

If you set

[Autologin]
Session=

it'll use the last used session for autologin. kcm_sddm does not support that, so you'll have to put that into /etc/sddm.conf.d/y_autologin.conf to override the value from kde_settings.conf.

@mYnDstrEAm
Copy link
Author

Ok, will report the issues there. I have sddm and kde-config-sddm.

What's the output of getent passwd libvirt-qemu?

libvirt-qemu:x:64XXX:1XX:Libvirt Qemu,,,:/var/lib/libvirt:/usr/sbin/nologin (replaced ids with X)

@Vogtinator
Copy link
Contributor

Ok, will report the issues there. I have sddm and kde-config-sddm.

What's the output of getent passwd libvirt-qemu?

libvirt-qemu:x:64XXX:1XX:Libvirt Qemu,,,:/var/lib/libvirt:/usr/sbin/nologin (replaced ids with X)

Please show the full line, without any replacements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants