Bug#1142038: Found the bug and sent upstream!

Anonymous <[email protected]> Fri, 17 Jul 2026 13:38:55 +0200
Newsgroups gmane.linux.debian.devel.qt-kde
Message-ID <caa2fc58-d90e-4dea-8914-ea08b1f43fe1__18578.0217567057$1784288487$gmane$org@debian.org>
Hey,

I managed to find the SDDM bug causing the issues when logging out.

I created a pull request upstream: https://github.com/sddm/sddm/pull/2205

It fixes the bug entirely on my machine.

The bug was because when logging out there can be a race condition where 
the new server socket of the SDDM daemon starts before the old server 
socket gets closed and deleted.

The fix will explicitly close the server socket before opening a new one.

Regards.