From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 21 02:56:57 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFFB31065672; Fri, 21 Nov 2008 02:56:57 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 80AF68FC14; Fri, 21 Nov 2008 02:56:57 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (matteo@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAL2uvhd052048; Fri, 21 Nov 2008 02:56:57 GMT (envelope-from matteo@freefall.freebsd.org) Received: (from matteo@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAL2uvmZ052044; Fri, 21 Nov 2008 02:56:57 GMT (envelope-from matteo) Date: Fri, 21 Nov 2008 02:56:57 GMT Message-Id: <200811210256.mAL2uvmZ052044@freefall.freebsd.org> To: fbsd@opal.com, matteo@FreeBSD.org, freebsd-bugs@FreeBSD.org From: matteo@FreeBSD.org Cc: Subject: Re: bin/117830: [patch] who(1) no longer displays entries for folk logged in from xdm(1) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2008 02:56:57 -0000 Synopsis: [patch] who(1) no longer displays entries for folk logged in from xdm(1) State-Changed-From-To: open->suspended State-Changed-By: matteo State-Changed-When: Ven 21 Nov 2008 02:49:33 UTC State-Changed-Why: Mark this PR as suspended: I think the problem actually resides in how xdm registers the session in utmp. This is done by the command sessreg in /usr/local/lib/X11/xdm/Xstartup. Instead of using -l $DISPLAY -h "", I suggest using just -h $DISPLAY (no -l), so that xdm behaves like gdm does and adds a more invormative entry in utmp. Just in case we want to reopen this PR: Notice that w(1) is affected too. http://www.freebsd.org/cgi/query-pr.cgi?pr=117830