Bug 372275 - New session breaks login screen locker
Summary: New session breaks login screen locker
Status: RESOLVED DUPLICATE of bug 407305
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: greeter (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 03:03 UTC by kde.user
Modified: 2021-06-21 22:57 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde.user 2016-11-10 03:03:18 UTC
I am running KDE Neon with latest updates (Plasma 5.8.3 at this moment). Every time I start a new session, when I return to the initial one (ctrl+alt+F7) I get black screen saying that screen locker is broken and I should go to virtual terminal and run "loginctl unlock-sessions".

Here is my log:
lock called
Lock window Id:  25165846
CreateNotify: 25165846
UnmapNotify: 25165846
CreateNotify: 46137347
CreateNotify: 46137350
CreateNotify: 46137352
CreateNotify: 46137354
CreateNotify: 46137356
MapNotify: 46137354
MapNotify: 25165846
CreateNotify: 46137358
powerdevil: ACTIVE SESSION PATH CHANGED: "/"
powerdevil: Switched to inactive session - leaving unchanged
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kscreenlocker_greet path = /usr/lib/x86_64-linux-gnu/libexec pid = 2092
KCrash: Arguments: /usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet --immediateLock --graceTime 5000 --ksldfd 73
UnmapNotify: 46137354
UnmapNotify: 25165835
UnmapNotify: 25165835
powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_33"
powerdevil: Current session is now inactive
CreateNotify: 46137347
CreateNotify: 46137350
CreateNotify: 46137352
CreateNotify: 46137354
CreateNotify: 46137356
MapNotify: 46137354
uhoh! duplicate!
uhoh! duplicate!
CreateNotify: 46137358
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kscreenlocker_greet path = /usr/lib/x86_64-linux-gnu/libexec pid = 2154
KCrash: Arguments: /usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet --immediateLock --graceTime 5000 --ksldfd 64
UnmapNotify: 46137354
CreateNotify: 46137347
CreateNotify: 46137350
CreateNotify: 46137352
CreateNotify: 46137354
CreateNotify: 46137356
MapNotify: 46137354
uhoh! duplicate!
uhoh! duplicate!
CreateNotify: 46137358
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kscreenlocker_greet path = /usr/lib/x86_64-linux-gnu/libexec pid = 2174
KCrash: Arguments: /usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet --immediateLock --graceTime 5000 --ksldfd 64
UnmapNotify: 46137354
QXcbConnection: XCB error: 3 (BadWindow), sequence: 15555, resource id: 46137354, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 15556, resource id: 46137354, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 15557, resource id: 46137354, major code: 20 (GetProperty), minor code: 0
CreateNotify: 56623107
CreateNotify: 56623110
CreateNotify: 56623112
CreateNotify: 56623114
CreateNotify: 56623116
MapNotify: 56623114
CreateNotify: 56623118
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kscreenlocker_greet path = /usr/lib/x86_64-linux-gnu/libexec pid = 2183
KCrash: Arguments: /usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet --immediateLock --graceTime 5000 --ksldfd 64
UnmapNotify: 56623114
powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_34"
powerdevil: Current session is now inactive
powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_32"
powerdevil: Current session is now active
powerdevil: Can't contact ck
powerdevil: We are now into activity  "6bcf02db-444e-4ca6-96f8-9d206adb7798"
powerdevil: () ()
powerdevil: () ()
powerdevil: Loading profile for plugged AC
powerdevil: Activity is not forcing a profile
powerdevil:
powerdevil: Loading timeouts with  600000
CreateNotify: 56623107
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
CreateNotify: 58720259
Initializing  "kcm_input" :  "kcminit_mouse"
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
CreateNotify: 56623112
QXcbConnection: XCB error: 3 (BadWindow), sequence: 16761, resource id: 56623112, major code: 18 (ChangeProperty), minor code: 0
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
Initializing  "kcm_input" :  "kcminit_mouse"
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
CreateNotify: 58720264
QXcbConnection: XCB error: 3 (BadWindow), sequence: 16950, resource id: 58720264, major code: 18 (ChangeProperty), minor code: 0
powerdevil: ACTIVE SESSION PATH CHANGED: "/"
powerdevil: Switched to inactive session - leaving unchanged
powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_35"
powerdevil: Current session is now inactive
Grab Released
powerdevil: ACTIVE SESSION PATH CHANGED: "/org/freedesktop/login1/session/_32"
powerdevil: Current session is now active
powerdevil: Can't contact ck
powerdevil: We are now into activity  "6bcf02db-444e-4ca6-96f8-9d206adb7798"
powerdevil: () ()
powerdevil: () ()
powerdevil: Loading profile for plugged AC
powerdevil: Activity is not forcing a profile
powerdevil:
powerdevil: Loading timeouts with  600000
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
Initializing  "kcm_input" :  "kcminit_mouse"
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 17902, resource id: 56623112, major code: 18 (ChangeProperty), minor code: 0
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
Initializing  "kcm_input" :  "kcminit_mouse"
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
QXcbConnection: XCB error: 3 (BadWindow), sequence: 18424, resource id: 56623112, major code: 18 (ChangeProperty), minor code: 0
Comment 1 kde.user 2016-11-10 03:07:54 UTC
Here is the link to KDE Neon forum where I posted about this problem initially: https://forum.kde.org/viewtopic.php?f=309&t=137086
Comment 2 Martin Flöser 2016-11-10 06:20:50 UTC
Are you starting a new session with same user name?
Comment 3 kde.user 2016-11-10 07:11:23 UTC
No, different user.
Comment 4 Ahmed Badr 2017-02-15 22:31:32 UTC
I'm having this problem as well with Kubuntu, Neon and OpenSUSE.
I have 2 sessions running with different user accounts, and this problem occurs most of the time I switch between them.

Searching online some reported that this might be a problem with:
- a full root partition - tested and not the case
- a full tmp partition - tested and not the case
- a root btrfs partition reporting wrong space info - tested with both btrfs and ext4 and not the case

I would appreciate it if you could confirm this issue and try to resolve it.

A workaround is to disable the screen locker but I can only do that at home not in an office environment.

Thanks.
Comment 5 Maximilian Hartert 2017-06-03 14:25:26 UTC
I am not shure if it is the same problem, since it does not involve a new session (I think).

But lately my lock screen is broken too. The normal log in works fine. But once I lock my system or let it lock due to inactivity, I have to reboot the system.

It also tells me to put in "loginctl unlock-sessions", which does not help.
Currently I am on KDE 5.10, that is running on neon stable dev.

I don't know since when I have this problem, but it can't be that long. Usually I won't lock my system at home, since I don't need to.
Comment 6 Christoph Feck 2017-06-07 10:38:55 UTC
Maximilian, kscreenlocker 5.10.0 regression is tracked at bug 380491. Please check if it is fixed for you with 5.10.1, open a new ticket, if you still see an issue.
Comment 7 Facundo Aguilera 2017-06-22 14:19:25 UTC
(In reply to Christoph Feck from comment #6)
> Maximilian, kscreenlocker 5.10.0 regression is tracked at bug 380491. Please
> check if it is fixed for you with 5.10.1, open a new ticket, if you still
> see an issue.

I'm having the same problem as Maximiliam. It is not related to bug #380941 because there is no any password request, just a black screen with the folowing message "The screen locker is broken and unlocking is not possible anymore". The screenlocker background image is showed three times before the message.
Comment 8 Facundo Aguilera 2017-06-22 14:20:26 UTC
I'm using plasma 5.10.2 from Arch.
Comment 9 Nate Graham 2021-06-21 22:57:41 UTC

*** This bug has been marked as a duplicate of bug 407305 ***