File gdm-suse-xsession.patch of Package gdm.11221

Index: gdm-2.29.92/data/Init.in
===================================================================
--- gdm-2.29.92.orig/data/Init.in
+++ gdm-2.29.92/data/Init.in
@@ -1,4 +1,9 @@
 #!/bin/sh
+
+if test -x /etc/X11/xdm/Xsetup; then
+	exec /etc/X11/xdm/Xsetup
+fi
+
 # Stolen from the debian kdm setup, aren't I sneaky
 # Plus a lot of fun stuff added
 #  -George
Index: gdm-2.29.92/data/PostSession.in
===================================================================
--- gdm-2.29.92.orig/data/PostSession.in
+++ gdm-2.29.92/data/PostSession.in
@@ -1,3 +1,7 @@
 #!/bin/sh
 
+if test -x /etc/X11/xdm/Xreset; then
+       exec /etc/X11/xdm/Xreset
+fi
+
 exit 0
Index: gdm-2.29.92/data/Xsession.in
===================================================================
--- gdm-2.29.92.orig/data/Xsession.in
+++ gdm-2.29.92/data/Xsession.in
@@ -1,4 +1,9 @@
 #!@XSESSION_SHELL@
+
+if test -x /etc/X11/xdm/Xsession; then
+       exec /etc/X11/xdm/Xsession $1 $GDM_LANG
+fi
+
 #
 # This is SORT OF LIKE an X session, but not quite.  You get a command as the
 # first argument (it could be multiple words, so run it with "eval").  As a
Index: gdm-2.29.92/data/PreSession.in
===================================================================
--- gdm-2.29.92.orig/data/PreSession.in
+++ gdm-2.29.92/data/PreSession.in
@@ -6,4 +6,8 @@
 #
 # Note that output goes into the .xsession-errors file for easy debugging
 #
+if test -x /etc/X11/xdm/Xstartup; then
+       exec /etc/X11/xdm/Xstartup
+fi
+
 PATH="@X_PATH@:$PATH"
openSUSE Build Service is sponsored by