--- xdm-1.1.1/config/Xreset.cpp.orig 2006-11-06 22:02:49.000000000 +0000 +++ xdm-1.1.1/config/Xreset.cpp 2006-11-15 08:45:26.669505000 +0000 @@ -2,4 +2,4 @@ XCOMM Deregister a login. (Derived from TakeConsole as follows:) XCOMM BINDIR/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \ - -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER + -x XDMCONFIGDIR/Xservers -l $DISPLAY -h "" $USER --- xdm-1.1.1/config/Xstartup.cpp.orig 2006-11-06 22:02:40.000000000 +0000 +++ xdm-1.1.1/config/Xstartup.cpp 2006-11-15 08:45:34.609505000 +0000 @@ -2,4 +2,4 @@ XCOMM Register a login (derived from GiveConsole as follows:) XCOMM BINDIR/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \ - -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER + -x XDMCONFIGDIR/Xservers -l $DISPLAY -h "" $USER --- xdm-1.1.0/config/Xresources.cpp.orig 2006-08-14 20:12:34.000000000 +0200 +++ xdm-1.1.0/config/Xresources.cpp 2006-10-15 02:18:19.860305500 +0200 @@ -78,7 +78,7 @@ #endif /* XPM */ XHASHendif #ifdef XPM -XHASHif PLANES >= 8 +XHASHif PLANES > 8 xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP XHASHelse xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP --- xdm-1.1.0/xdm-xinitrc-0.2/GiveConsole.orig 2000-10-29 20:59:44.000000000 +0100 +++ xdm-1.1.0/xdm-xinitrc-0.2/GiveConsole 2006-10-15 02:18:00.359086750 +0200 @@ -8,4 +8,4 @@ # causing serious grief. # chown $USER /dev/console -/usr/X11R6/bin/sessreg -a -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER +/usr/bin/sessreg -a -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER --- xdm-1.1.0/xdm-xinitrc-0.2/TakeConsole.orig 2000-10-29 20:59:44.000000000 +0100 +++ xdm-1.1.0/xdm-xinitrc-0.2/TakeConsole 2006-10-15 02:18:07.591538750 +0200 @@ -5,4 +5,4 @@ # chmod 622 /dev/console chown root /dev/console -/usr/X11R6/bin/sessreg -d -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER +/usr/bin/sessreg -d -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER --- xdm-1.1.0/configure.ac.orig 2006-10-04 03:11:27.000000000 +0200 +++ xdm-1.1.0/configure.ac 2006-10-15 02:17:10.495970500 +0200 @@ -216,6 +216,11 @@ [XDMPIDDIR="$withval"], [XDMPIDDIR="/var/run"]) AC_SUBST(XDMPIDDIR) +AC_ARG_WITH(xdmauthdir, + AC_HELP_STRING([--with-xdmauthdir=], + [specify directory for authentication cookie files (default=configdir)]), + [XDMAUTHDIR="$withval"], [XDMAUTHDIR="$XDMCONFIGDIR"]) + AC_ARG_WITH(default-vt, AC_HELP_STRING([--with-default-vt=], [specify default vt to start xdm on (default=none)]), @@ -494,7 +499,7 @@ # -DDEF_AUTH_DIR="$(XDMDIR)" -AC_DEFINE_DIR(DEF_AUTH_DIR, XDMCONFIGDIR, +AC_DEFINE_DIR(DEF_AUTH_DIR, XDMAUTHDIR, [Define to pathname where authentication cookie files should be stored]) # -DDEF_GREETER_LIB="$(XDMDIR)/libXdmGreet.so"