Index: gdm-2.29.5/data/Init.in =================================================================== --- gdm-2.29.5.orig/data/Init.in +++ gdm-2.29.5/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.5/data/PostSession.in =================================================================== --- gdm-2.29.5.orig/data/PostSession.in +++ gdm-2.29.5/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.5/data/Xsession.in =================================================================== --- gdm-2.29.5.orig/data/Xsession.in +++ gdm-2.29.5/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