From owner-freebsd-bugs Mon Mar 11 11:40: 7 2002 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 ED8B437B400 for ; Mon, 11 Mar 2002 11:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2BJe2Y84432; Mon, 11 Mar 2002 11:40:02 -0800 (PST) (envelope-from gnats) Date: Mon, 11 Mar 2002 11:40:02 -0800 (PST) Message-Id: <200203111940.g2BJe2Y84432@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: bin/35769: w does not correctly interpret X sessions Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/35769; it has been noted by GNATS. From: "Crist J. Clark" To: Michael Wardle Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/35769: w does not correctly interpret X sessions Date: Mon, 11 Mar 2002 11:34:22 -0800 On Mon, Mar 11, 2002 at 05:09:30AM -0800, Michael Wardle wrote: > > [...] > > > What does 'tty' return for one of these sessions? > > This is precisely the problem -- it is not a terminal, indeed there is > no way to issue "tty". I can only issue "tty" if I start a terminal > emulator, but the problem is when w tries to look directly at the X > session itself, not any terminal I have spawned from within the X > session. Ah. Now I realize what you are talking about. You're using xdm(8). xdm(8) is well known for putting broken entries into utmp(5). There isn't much w(1) can do about it. xdm(8) is feeding it invalid data. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message