From owner-freebsd-stable@FreeBSD.ORG Mon Aug 16 19:33:47 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A83B616A4CE for ; Mon, 16 Aug 2004 19:33:47 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77D2043D5A for ; Mon, 16 Aug 2004 19:33:47 +0000 (GMT) (envelope-from freebsd-stable-local@be-well.no-ip.com) Received: (qmail 28924 invoked from network); 16 Aug 2004 19:33:47 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.no-ip.com) ([66.92.78.145]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Aug 2004 19:33:47 -0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 8300B7D; Mon, 16 Aug 2004 15:33:46 -0400 (EDT) Sender: lowell@be-well.ilk.org To: leo , freebsd-stable@freebsd.org References: <20040813034317.56188.qmail@web15306.mail.bjs.yahoo.com> <20040816102637.B30211@carver.gumbysoft.com> From: Lowell Gilbert Date: 16 Aug 2004 15:33:46 -0400 In-Reply-To: <20040816102637.B30211@carver.gumbysoft.com> Message-ID: <44zn4u7u91.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: why the command of "who" dosen't work while i login through xdm X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 19:33:47 -0000 Doug White writes: > On Fri, 13 Aug 2004, [gb2312] leo wrote: > > > Hello, > > The version of FreeBSD I use is 4.10. > > > > After I login the system through the xdm from a remote > > machine which runs the simulated X terminal.I start > > the kde enviornment in the .xsession file under the ~/ > > directory. after the kde started.I open konsole of > > kde(version 1.3.2) and type the command of who, and > > the konsole tells me that there nobody login to the > > system. neither i can see anybody has logined the > > system in the local terminal.It's a surpring > > phenomena. > > konsole is not writing utmp entires it appears. I'll have to check this > on my work box (which is on -CURRENT) but I think its fixed in later > versions of konsole. The login records are a function of whatever spawns > the terminal, which is usually login(8) but in X its usually xterm. xterm(1) can be told whether to write into utmp. I have no idea about konsole, but I'm pretty sure that xconsole(1) cannot.