File gdm-workaround-boo971852.patch of Package gdm.11221

Index: gdm-3.19.92/libgdm/gdm-sessions.c
===================================================================
--- gdm-3.19.92.orig/libgdm/gdm-sessions.c
+++ gdm-3.19.92/libgdm/gdm-sessions.c
@@ -171,6 +171,9 @@ collect_sessions_from_directory (const c
                 if (! g_str_has_suffix (filename, ".desktop")) {
                         continue;
                 }
+                if (! g_strcmp0 (filename, "xsession.desktop")) {
+                        continue;
+                }
                 id = g_strndup (filename, strlen (filename) - strlen (".desktop"));
 
                 full_path = g_build_filename (dirname, filename, NULL);
openSUSE Build Service is sponsored by