Fix gdm-x-session parameter, now it uses "--handle-registration"

Related: https://redhat.atlassian.net/browse/RHEL-178659
This commit is contained in:
Joan Torres Lopez 2026-05-27 13:23:51 +02:00
parent bb387009b9
commit 4558239f31
No known key found for this signature in database

View File

@ -419,7 +419,7 @@ index 36b3975..f756706 100644
{ "run-script", 'r', 0, G_OPTION_ARG_NONE, &run_script, N_("Run program through /etc/gdm/Xsession wrapper script"), NULL },
{ "allow-remote-connections", 'a', 0, G_OPTION_ARG_NONE, &allow_remote_connections, N_("Listen on TCP socket"), NULL },
- { "register-session", 0, 0, G_OPTION_ARG_NONE, &register_session, "Register session after a delay", NULL },
+ { "register-session", 0, 0, G_OPTION_ARG_NONE, &handle_registration, "Register session after a delay", NULL },
+ { "handle-registration", 0, 0, G_OPTION_ARG_NONE, &handle_registration, "Handle session and display registration (fallback for non-GNOME sessions)", NULL },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &args, "", "" },
{ NULL }
};