OS openSUSE 13.2 Kernel 3.16.7-35-Desktop KDE Plasma Version 5.6 KDE Framework Version 5.21.0 Qt Version 5.6.0 Kscreenlocker Version kscreenlocker-5.6.2-21.1.x86_64 Output of kscreenlocker_greet --testing kadal@linux-drh2:~> /usr/lib64/libexec/kscreenlocker_greet --testing Locked at 1460995567 file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserPasswordPrompt.qml:25: ReferenceError: userModel is not defined file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserDelegate.qml:82:9: QML Image: Cannot open: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/system-log-out org.kde.keyboardLayout: Layouts list changed: ("us") but the greeter screen is come up like it suppose to be, but the session is not lock up completely (panel and icon in panel are shows up and work when i click it) Reproducible: Always Steps to Reproduce: 1. let the screen lock or time out or using Ctrl + Alt + L 2. Wait until screen black 3. Waking up the screen with key touch or mousepad Actual Results: black screen with the message below " The screen locker is broken and unlocking it is not possible any more. In order to unlock switch to virtual terminal (e.g. Ctrl+Alt+F2) login and execute the command : loginctl unlock-sessions Afterwards switch back to the running session (Ctrl+Alt+F7) Expected Results: come up the greeter like it suppose to be, and the session is completely lock up this bug maybe same as bug number 361187 except that kcreenlock-greeter screen is not show up completely from the beginning, and when I use kcreenlock-greeter --testing, my password can unlock it easily like it suppose to be.
If the message is shown that means the greeter crashed multiple times. It would be great if you could get us the backtrace of those crashes. Best contact your distribution support channel on how to get it in this case (maybe coredumpctl?)
I trying to use gdb after installing kscreenlocker --debuginfo and using this command kadal@linux-drh2:~> gdb /usr/lib64/libexec/kscreenlocker_greet (gdb) run --immediateLock lock screen working well, and nothing come up in gdb.txt
screen lock working too when I use command below /usr/lib64/libexec/kscreenlock_greet this bug only happen when I use Ctrl+Alt+L or right click in the desktop and choose lock screen command
for further information, I don't if it help or not if I use command below, to lock my desktop...... it's work /usr/lib64/libexec/kscreenlock_greet but if I use this command, it won't work and display that message qdbus org.kde.ksmserver /ScreenSaver Lock
Yes, we need the backtrace from when it doesn't work. There is something going wrong in the "real" situation. All the testing with just invoking kscreenlocker_greet won't help - that's working.
Created attachment 98475 [details] strace from qdbus org.kde.ksmserver /ScreenSaver Lock
sorry, but that strace doesn't help at all. It's of the qdbus binary.
kadal@linux-drh2:~> dbus-monitor --profile sig 1461845061 41112 2 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired mc 1461845061 41214 2 :1.142 /org/freedesktop/DBus org.freedesktop.DBus AddMatch sig 1461845069 361320 700 /component/ksmserver org.kde.kglobalaccel.Component globalShortcutPressed -------- ## this is where i press ctrl + alt +L to lock screen sig 1461845070 345601 121 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged mc 1461845070 345657 1 :1.143 /org/freedesktop/DBus org.freedesktop.DBus Hello mc 1461845070 347000 2 :1.143 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845071 82428 3 :1.143 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845071 82691 4 :1.143 /org/freedesktop/DBus org.freedesktop.DBus NameHasOwner mc 1461845071 83248 5 :1.143 /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mc 1461845071 83481 6 :1.143 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845071 83653 7 :1.143 /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1461845071 84082 49 7 :1.143 mc 1461845071 93728 8 :1.143 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845071 93990 9 :1.143 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845071 94193 10 :1.143 /org/freedesktop/DBus org.freedesktop.DBus AddMatch sig 1461845071 109772 122 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1461845071 526333 123 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged mc 1461845071 526392 1 :1.144 /org/freedesktop/DBus org.freedesktop.DBus Hello mc 1461845071 528120 2 :1.144 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845072 144325 3 :1.144 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845072 144450 4 :1.144 /org/freedesktop/DBus org.freedesktop.DBus NameHasOwner mc 1461845072 144837 5 :1.144 /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mc 1461845072 145064 6 :1.144 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845072 145266 7 :1.144 /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1461845072 145833 50 7 :1.144 mc 1461845072 148404 8 :1.144 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845072 148635 9 :1.144 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845072 148848 10 :1.144 /org/freedesktop/DBus org.freedesktop.DBus AddMatch sig 1461845072 173168 124 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1461845072 624718 125 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged mc 1461845072 624774 1 :1.145 /org/freedesktop/DBus org.freedesktop.DBus Hello mc 1461845072 626139 2 :1.145 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845073 239456 3 :1.145 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845073 239713 4 :1.145 /org/freedesktop/DBus org.freedesktop.DBus NameHasOwner mc 1461845073 240174 5 :1.145 /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mc 1461845073 240471 6 :1.145 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845073 240683 7 :1.145 /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1461845073 241223 51 7 :1.145 mc 1461845073 244250 8 :1.145 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845073 244482 9 :1.145 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845073 244667 10 :1.145 /org/freedesktop/DBus org.freedesktop.DBus AddMatch sig 1461845073 264636 126 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1461845073 697891 127 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged mc 1461845073 697956 1 :1.146 /org/freedesktop/DBus org.freedesktop.DBus Hello mc 1461845073 699600 2 :1.146 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845074 308632 3 :1.146 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845074 308895 4 :1.146 /org/freedesktop/DBus org.freedesktop.DBus NameHasOwner mc 1461845074 309337 5 :1.146 /org/freedesktop/DBus org.freedesktop.DBus GetNameOwner mc 1461845074 309602 6 :1.146 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845074 309883 7 :1.146 /org/a11y/bus org.freedesktop.DBus.Properties Get mr 1461845074 310437 52 7 :1.146 mc 1461845074 320528 8 :1.146 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845074 320765 9 :1.146 /org/freedesktop/DBus org.freedesktop.DBus AddMatch mc 1461845074 321290 10 :1.146 /org/freedesktop/DBus org.freedesktop.DBus AddMatch sig 1461845074 337017 128 /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1461845074 351225 352 /ScreenSaver org.freedesktop.ScreenSaver ActiveChanged --------- ## this is where i change to VT1 and using loginctl unlock-sessions sig 1461845074 351273 353 /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver ActiveChanged mc 1461845074 352223 354 :1.11 /kglobalaccel org.kde.KGlobalAccel allComponents mr 1461845074 352674 701 354 :1.11 mc 1461845074 377186 355 :1.11 /component/KDE_Keyboard_Layout_Switcher org.kde.kglobalaccel.Component isActive mc 1461845074 377299 356 :1.11 /component/kded5 org.kde.kglobalaccel.Component isActive mc 1461845074 377313 357 :1.11 /component/mediacontrol org.kde.kglobalaccel.Component isActive mc 1461845074 377324 358 :1.11 /component/kmix org.kde.kglobalaccel.Component isActive mr 1461845074 378393 702 355 :1.11 mr 1461845074 378450 703 356 :1.11 mr 1461845074 378461 704 357 :1.11 mr 1461845074 378495 705 358 :1.11 mc 1461845074 379490 359 :1.11 /component/KDE_Keyboard_Layout_Switcher org.kde.kglobalaccel.Component allShortcutInfos mr 1461845074 380451 706 359 :1.11 mc 1461845074 380529 360 :1.11 /component/kded5 org.kde.kglobalaccel.Component allShortcutInfos mc 1461845074 380563 361 :1.11 /component/mediacontrol org.kde.kglobalaccel.Component allShortcutInfos mc 1461845074 380581 362 :1.11 /component/kmix org.kde.kglobalaccel.Component allShortcutInfos mr 1461845074 382013 707 360 :1.11 mr 1461845074 382420 708 361 :1.11 mr 1461845074 382443 709 362 :1.11 sig 1461845079 480908 723 /modules/touchpad org.kde.touchpad enabledChanged sig 1461845085 765093 363 /ScreenSaver org.freedesktop.ScreenSaver ActiveChanged sig 1461845085 765227 364 /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver ActiveChanged sig 1461845085 800136 724 /modules/touchpad org.kde.touchpad enabledChanged sig 1461845091 224237 725 /Layouts org.kde.KeyboardLayouts layoutListChanged sig 1461845091 224306 726 /modules/keyboard org.kde.KeyboardLayouts layoutListChanged
when I using kdbg with step below 1. file --> executable --> /usr/bin/ksmserver 2. execution --> argument --> /ScreenSaver Lock got this messages on output Qt: Session management error: networkIdsList argument is NULL Configuring Lock Action XSync seems available and ready XSync Inited Supported, init completed ksmserver: "/run/user/1000/KSMserver" ksmserver: KSMServer: SetAProc_loc: conn 0 , prot= local , file= @/tmp/.ICE-unix/13273 ksmserver: KSMServer: SetAProc_loc: conn 1 , prot= unix , file= /tmp/.ICE-unix/13273 ksmserver: KSMServer::restoreSession "saved at previous logout" Qt: Session management error: IO error occured opening connection kwin: unable to claim manager selection, another wm running? (try using --replace)
make sure that all of your Qt5 library IS from http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_13.2/ and not from http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_13.2/ open YAST, and then Software Management, click tab Repositories and then click on Qt5 repository, click on switch system packages to the versions on this repository (your Qt5 repos name) click Accept after you resolve every dependency error.... and screen lock is work again