[systemd-devel] How should Wayland compositors handle logind restarts?
Vlad Zahorodnii
vlad.zahorodnii at kde.org
Mon Feb 8 09:43:35 UTC 2021
Hi,
Currently, a lot of Wayland compositors can't recover from logind
restarts. For example, that's the case with weston, sway, kwin, and
perhaps other compositors.
The culprit seems to be that atomic commits fail with the "Permission
denied" error.
My question is - should Wayland compositors handle logind restarts in
any way?
At the moment, many Wayland compositors don't take any precautions
against the case where logind is restarted. They assume that the DRM
file descriptors will remain valid and the session will be restored
auto-magically.
Cheers,
Vlad
More information about the systemd-devel
mailing list