Date: Mon, 11 Mar 2002 02:10:17 -0800 (PST) From: Michael Wardle <michael@endbracket.net> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/35769: w does not correctly interpret X sessions Message-ID: <200203111010.g2BAAHb35625@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 35769
>Category: bin
>Synopsis: w does not correctly interpret X sessions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 11 02:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Michael Wardle
>Release: 4.5
>Organization:
>Environment:
FreeBSD water 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Feb 11 20:27:00 EST 2002
root@water:/usr/obj/usr/src/sys/WATER i386
>Description:
If I do "w" on my system, I get this output:
-----
w: /dev/:0: No such file or directory
w: /dev/air.:0: No such file or directory
9:04PM up 20:32, 0 users, load averages: 0.04, 0.06, 0.02
USER TTY FROM LOGIN@ IDLE WHAT
-----
I guess it tries to interpret the terminal (usually something like ttyv1) as an entry in /dev, however a user can also be logged in on an X session such as :0 or remotehost:0. These "terminals" should not
be interpreted as entries in /dev.
Running "who" on my system shows what is really happening:
-----
michael :0 Mar 11 20:57
alison air.:0 Mar 11 20:52
-----
I have configured this host as a remote X server, so most logins are
actually performed remotely using XDMCP, but I expect this will also
work if only a local X session is active.
>How-To-Repeat:
establish an X session on the host, then issue "w".
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
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?200203111010.g2BAAHb35625>
