From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 13:24:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8071E37B401 for ; Mon, 28 Apr 2003 13:24:49 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 714FE43F3F for ; Mon, 28 Apr 2003 13:24:48 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h3SKOgM4022550; Tue, 29 Apr 2003 08:24:42 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h3SKOgVQ022549; Tue, 29 Apr 2003 08:24:42 +1200 (NZST) Date: Tue, 29 Apr 2003 08:24:42 +1200 From: Jonathan Chen To: "J. Seth Henry" Message-ID: <20030428202442.GD22360@grimoire.chen.org.nz> References: <20030427200729.P26560@alexandria.gambrl01.md.comcast.net> <20030427210629.D27080@alexandria.gambrl01.md.comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030427210629.D27080@alexandria.gambrl01.md.comcast.net> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Odd behavior on 4.8-REL since installing KDE 3.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 20:24:49 -0000 On Sun, Apr 27, 2003 at 09:09:32PM -0400, J. Seth Henry wrote: [...] > The other problem, though, is still baffling. I can't figure out what > uptime is doing. I can understand it may be trying to read info on the > terminal, but shouldn't it be looking at the virtual tty? Then, there is > the strange fact that it doesn't clear after a reboot. [...] > > Now, when I run uptime, I get this: > > > > alexandria# uptime > > uptime: /dev/dhcp0:0: No such file or directory > > uptime: /dev/dhcp4:0: No such file or directory > > 8:13PM up 20:41, 0 users, load averages: 0.08, 0.04, 0.01 > > This is a problem with w(1)+uptime(1) and sessreg(1). FreeBSD's w(1)+uptime(1) code doesn't co-exist peacefully with X11's sessreg. The problem usually manifests itself if you're running kdm. The Xstartup script for kdm invokes sessreg, which puts a utmp entry that w(1)+uptime(1) doesn't like. -- Jonathan Chen ---------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard