[screenlocker] Add emergency mode for greeter crashing

Review Request #124915 - Created Aug. 25, 2015 and submitted

Information
Martin Flöser
plasma-workspace
master
351696
124912
5e2f401...
Reviewers
plasma
davidedmundson
If the greeter crashes on startup ksld is caught in a restart loop which
causes 100 % CPU usage and makes it impossible to unlock the session.

With this change the greeter is only allowed to crash four times and
ksld goes into an emergency mode. This mode ensures that our black
background window gets shown with a message indicating how to unlock
using loginctl. This is rather technical but better than leaving the
system in a state which makes it impossible to unlock.

Directly unlocking in the error case is not an option as that could
be used to attack the screen locker infrastructure.

BUG: 351696

  

Files


Issues

  • 0
  • 5
  • 2
  • 7
Description From Last Updated
Martin Flöser
Kai Uwe Broulik
Martin Flöser
David Edmundson
Martin Flöser
David Edmundson
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 5e2f4016dced0af61f5d2817d8eac0cfef3ad52b by Martin Gräßlin to branch master.
Loading...