You are not logged in.

#1 2022-10-15 11:39:03

schumischumi
Member
Registered: 2017-03-21
Posts: 11

can' unlock kde / sddm randomly

Hi,

from time to time I have the problem, that I get back to my pc and my screen  got locked like it is intended after some minutes.
Most of the time I put in my password, the screen unlocks and I can go back to work.
Sometime I put in my password and the sddm screen switches from the normal unlock screen with a password field and some options like "switch user" to another screen where only my profile pic, username and a button "unlock" is shown.
The problem is, that the button "unlock" does nothing and I can't unlock my system.

The only option to unlock is it, is to switch to console with ctrl+alt+f2 and restart sddm.
After that I can login but, of course, my session is gone, which is not super critical but quite annoying.

Does anybody know a solution for that?

journal before the restart (complet log https://pastebin.com/nMb4hAC8)

Okt 15 13:12:21 user-pc kscreenlocker_greet[4013]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Okt 15 13:12:21 user-pc kscreenlocker_greet[4013]: libpng warning: iCCP: known incorrect sRGB profile
Okt 15 13:12:21 user-pc kscreen_backend_launcher[1452]: kscreen.xrandr: Emitting configChanged()
Okt 15 13:15:31 user-pc kscreenlocker_greet[4013]: kscreenlocker_greet: Greeter tried to quit without being unlocked
Okt 15 13:15:31 user-pc kscreenlocker_greet[4013]: kscreenlocker_greet: Greeter tried to quit without being unlocked
Okt 15 13:15:31 user-pc kscreenlocker_greet[4013]: kscreenlocker_greet: Greeter tried to quit without being unlocked
Okt 15 13:15:31 user-pc kscreenlocker_greet[4013]: kscreenlocker_greet: Greeter tried to quit without being unlocked
Okt 15 13:15:47 user-pc sudo[4718]: pam_systemd_home(sudo:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Okt 15 13:15:51 user-pc sudo[4718]:     user : TTY=tty2 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/systemctl restart sddm
Okt 15 13:15:51 user-pc sudo[4718]: pam_unix(sudo:session): session opened for user root(uid=0) by user(uid=1000)
Okt 15 13:15:51 user-pc kscreenlocker_greet[4013]: The X11 connection broke (error 1). Did the X11 server die?

Systeminfo:

Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.1-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASUS
Product Name: All Series
user:~ $ cat /etc/sddm.conf.d/kde_settings.conf 
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/usr/bin/systemctl poweroff
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=Sweet

[Users]
MaximumUid=60000
MinimumUid=1000

Offline

#2 2022-10-15 14:08:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,207

Re: can' unlock kde / sddm randomly

What you're seeing there isn't SDDM but the kde screenlocker.

Can you instead "loginctl unlock-session <session id here>"?
From your log I suspect one of your outputs unregisters and that somehow throws off the greeter UI.

Edit: google found https://bugs.kde.org/show_bug.cgi?id=374890

Last edited by seth (2022-10-15 14:09:56)

Offline

#3 2022-10-15 16:28:55

schumischumi
Member
Registered: 2017-03-21
Posts: 11

Re: can' unlock kde / sddm randomly

thanks for your reply!

I got "lucky" and the login froze again.
loginctrl unlock-session indead help, thank you very much for that!

according to the bug you linked I should remove

[Compositing]
Enabled=false  #This line.

but that line does not exist in my .kwinrc

[Compositing]
[$Version]
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default,kwin.upd:overview-group-plugin-id,kwin.upd:animation-speed-cleanup

[Compositing]
OpenGLIsUnsafe=false

[Desktops]
Id_1=d25084eb-edd7-4f61-bd64-96ee0563d1e9
Number=1
Rows=1

should I set it to "true" or delete  the .kwinrc file and let it generate anew?

Offline

#4 2022-10-15 16:34:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,207

Re: can' unlock kde / sddm randomly

I'd deem https://bugs.kde.org/show_bug.cgi?id=374890#c17 coincidental and compositing is enabled by default (shadows, transparency, etc.)

Offline

#5 2022-10-15 16:41:51

schumischumi
Member
Registered: 2017-03-21
Posts: 11

Re: can' unlock kde / sddm randomly

well so I can't really do a thing to solve this permanently, right?
at least, thanks to you, I can unlock the session from the commandline.

Offline

Board footer

Powered by FluxBB