From ac19c4bc0787e218f5af85925c3e5d0df0059c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Tue, 13 Jan 2026 12:30:34 +0100 Subject: [PATCH] Don't set X-GDM-SessionRegisters to true Window Maker does not call the RegisterSession() method on GDM's D-Bus interface, causing that GDM doesn't know that the login was successful, which leads to problems. If X-GDM-SessionRegisters is not specified or false, GDM registers the session itself. I noticed this when I logged out from Window Maker, and tried to log in into another session with GDM, it doesn't work, because the login screen hangs as the previous session was not entered into registered state within GDM. If X-GDM-SessionRegisters=true is specified, GDM expects that the session will be registered via D-Bus: https://gitlab.gnome.org/GNOME/gdm/-/commit/1c061b84ffc3e874da825982d18d970556ff74bb E.g. GNOME Shell calls RegisterSession() method after login: https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/0e37cd2ec92c5fbbc0870272e5e00fc07a705eba Older versions behave the same way as would be X-GDM-SessionRegisters not set or false. Currently X-GDM-SessionRegisters=true is used only by GNOME Shell. All other sessions omit this property, because they don't call the RegisterSession() method on GDM's D-Bus interface after login. --- WindowMaker/wmaker.desktop | 1 - 1 file changed, 1 deletion(-) diff --git a/WindowMaker/wmaker.desktop b/WindowMaker/wmaker.desktop index 7b57d811..721b73ed 100644 --- a/WindowMaker/wmaker.desktop +++ b/WindowMaker/wmaker.desktop @@ -4,4 +4,3 @@ Comment=This session logs you into Window Maker Exec=wmaker TryExec=wmaker DesktopNames=WindowMaker -X-GDM-SessionRegisters=true