Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 11:40:02 -0800 (PST)
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/35769: w does not correctly interpret X sessions
Message-ID:  <200203111940.g2BJe2Y84432@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/35769; it has been noted by GNATS.

From: "Crist J. Clark" <crist.clark@attbi.com>
To: Michael Wardle <michael@endbracket.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203111940.g2BJe2Y84432>