diff -urN xdm-1.0.3.orig/config/GiveConsole xdm-1.0.3/config/GiveConsole --- xdm-1.0.3.orig/config/GiveConsole 2006-04-19 22:40:45.000000000 -0700 +++ xdm-1.0.3/config/GiveConsole 2006-04-19 23:06:51.000000000 -0700 @@ -8,3 +8,5 @@ # causing serious grief. # chown $USER /dev/console +/usr/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \ + -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER diff -urN xdm-1.0.3.orig/config/TakeConsole xdm-1.0.3/config/TakeConsole --- xdm-1.0.3.orig/config/TakeConsole 2006-04-19 22:40:45.000000000 -0700 +++ xdm-1.0.3/config/TakeConsole 2006-04-19 23:07:37.000000000 -0700 @@ -5,3 +5,5 @@ # chmod 622 /dev/console chown root /dev/console +/usr/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \ + -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER