Date: Fri, 1 Jun 2007 02:30:12 GMT From: "Takamichi Tateoka" <tate@tateoka.org> To: freebsd-x11@FreeBSD.org Subject: Re: ports/112983: x11/xdm - XDMCP login from remote host crashs xdm in xorg 7.2 Message-ID: <200706010230.l512UChr046413@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/112983; it has been noted by GNATS. From: "Takamichi Tateoka" <tate@tateoka.org> To: <bug-followup@FreeBSD.org>, <tate@tateoka.org> Cc: <tate@tateoka.org> Subject: Re: ports/112983: x11/xdm - XDMCP login from remote host crashs xdm in xorg 7.2 Date: Fri, 1 Jun 2007 11:29:16 +0900 This problem can fix by following patch: BEGIN--- cut here --- diff -c -r xdm-1.1.4.DIST/config/Xreset.cpp xdm-1.1.4/config/Xreset.cpp *** xdm-1.1.4.DIST/config/Xreset.cpp Tue Nov 7 07:02:49 2006 --- xdm-1.1.4/config/Xreset.cpp Fri Jun 1 11:17:36 2007 *************** *** 2,5 **** 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 --- 2,5 ---- 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 diff -c -r xdm-1.1.4.DIST/config/Xstartup.cpp xdm-1.1.4/config/Xstartup.cpp *** xdm-1.1.4.DIST/config/Xstartup.cpp Tue Nov 7 07:02:40 2006 --- xdm-1.1.4/config/Xstartup.cpp Fri Jun 1 11:17:42 2007 *************** *** 2,5 **** 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 --- 2,5 ---- 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 diff -c -r xdm-1.1.4.DIST/greeter/greet.c xdm-1.1.4/greeter/greet.c *** xdm-1.1.4.DIST/greeter/greet.c Sat Feb 3 10:25:25 2007 --- xdm-1.1.4/greeter/greet.c Fri Jun 1 11:00:41 2007 *************** *** 541,548 **** (*pamhp, PAM_RHOST, hostname)); free(hostname); } ! } else ! RUN_AND_CHECK_PAM_ERROR(pam_set_item, (*pamhp, PAM_TTY, d->name)); if (!greet->allow_null_passwd) { pam_flags |= PAM_DISALLOW_NULL_AUTHTOK; --- 541,548 ---- (*pamhp, PAM_RHOST, hostname)); free(hostname); } ! } ! RUN_AND_CHECK_PAM_ERROR(pam_set_item, (*pamhp, PAM_TTY, d->name)); if (!greet->allow_null_passwd) { pam_flags |= PAM_DISALLOW_NULL_AUTHTOK; END--- cut here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706010230.l512UChr046413>