Index: gdm-2.23.92/data/Init.in =================================================================== --- gdm-2.23.92.orig/data/Init.in +++ gdm-2.23.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.23.92/data/PostSession.in =================================================================== --- gdm-2.23.92.orig/data/PostSession.in +++ gdm-2.23.92/data/PostSession.in @@ -1,5 +1,9 @@ #!/bin/sh +if test -x /etc/X11/xdm/Xreset; then + exec /etc/X11/xdm/Xreset +fi + PATH="@X_PATH@:$PATH:/bin:/usr/bin" OLD_IFS=$IFS Index: gdm-2.23.92/data/Xsession.in =================================================================== --- gdm-2.23.92.orig/data/Xsession.in +++ gdm-2.23.92/data/Xsession.in @@ -1,4 +1,10 @@ #!@XSESSION_SHELL@ + +if test -f /etc/X11/xdm/Xstartup -a -x /etc/X11/xdm/Xsession; then + /bin/bash /etc/X11/xdm/Xstartup + 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