Skip site navigation (1)Skip section navigation (2)
Date:      16 Aug 2004 15:33:46 -0400
From:      Lowell Gilbert <freebsd-stable-local@be-well.no-ip.com>
To:        leo <trampeagle@yahoo.com.cn>, freebsd-stable@freebsd.org
Subject:   Re: why the command of "who" dosen't work while i login through xdm
Message-ID:  <44zn4u7u91.fsf@be-well.ilk.org>
In-Reply-To: <20040816102637.B30211@carver.gumbysoft.com>
References:  <20040813034317.56188.qmail@web15306.mail.bjs.yahoo.com> <20040816102637.B30211@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White <dwhite@gumbysoft.com> 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.



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