Skip to content

sddm: patch SDDM to avoid exiting 1 at all costs

Closes #69

See this comment for the root cause.

The rationale is: we must avoid the SDDM helper to exit 1 at all costs since the logic is flawed which makes SDDM not restart if exited with 1.

We can get around this by patching SDDM to:

  • Properly handle signals and return anything other than 1 if we catch one.
  • For session crashes, exit with 3 to signal the parent SDDM process that the session crashed (and avoid wrongly signaling that there is an auth error)

There are some existing patches out there that does what we want. I think we can use them to get around the issue while upstream properly fixes the issue.

Merge request reports

Loading