From owner-freebsd-bugs Wed Dec 6 11: 0: 6 2000 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 6 11:00:03 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 87D8D37B400 for ; Wed, 6 Dec 2000 11:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB6J03D63833; Wed, 6 Dec 2000 11:00:03 -0800 (PST) (envelope-from gnats) Date: Wed, 6 Dec 2000 11:00:03 -0800 (PST) Message-Id: <200012061900.eB6J03D63833@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Rich Wales Subject: Re: misc/23168: xconsole dumps core (XFree86 3.3.6) Reply-To: Rich Wales Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/23168; it has been noted by GNATS. From: Rich Wales To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: misc/23168: xconsole dumps core (XFree86 3.3.6) Date: Wed, 6 Dec 2000 10:58:37 -0800 (PST) I've found a workaround to this problem. Put the following lines in /usr/X11R6/lib/X11/xdm/Xsetup_0, before the call to "xconsole": export USER=root export HOME=/root The problem seems to have something to do with XFree86's _XGetpwuid() macro (defined in include/Xos_r.h). Defining the home directory (in this case, root's home) in the environment should cause the broken _XGetpwuid() call to be sidestepped. I'll bring this problem up with the XFree people. Rich Wales richw@webcom.com http://www.webcom.com/richw/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message