From owner-freebsd-stable Mon Sep 23 1:46:10 2002 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 9F2F537B401 for ; Mon, 23 Sep 2002 01:46:09 -0700 (PDT) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0569943E4A for ; Mon, 23 Sep 2002 01:46:09 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id g8N8k4GG000300; Mon, 23 Sep 2002 01:46:04 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id g8N8k4ro000299; Mon, 23 Sep 2002 01:46:04 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Mon, 23 Sep 2002 01:46:04 -0700 From: David Schultz To: KDE FreeBSD List Cc: Jonathan Chen , FreeBSD Stable List Subject: Re: Weird uptime(1) output Message-ID: <20020923084604.GA272@HAL9000.homeunix.com> Mail-Followup-To: KDE FreeBSD List , Jonathan Chen , FreeBSD Stable List References: <20020923033214.GB48084@wwweasel.geeksrus.net> <20020923041250.GA500@grimoire.chen.org.nz> <20020923042115.GA43567@wwweasel.geeksrus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923042115.GA43567@wwweasel.geeksrus.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake AlanE : > >I've changed it from :0 to console (and it works fine). The file to > >patch manually is the last line of /usr/local/share/config/kdm/Xstartup: > > > > exec sessreg -a -l $DISPLAY -x /usr/local/share/config/kdm/Xservers -u /var/run/utmp $USER > > > >to: > > exec sessreg -a -l console -x /usr/local/share/config/kdm/Xservers -u /var/run/utmp $USER [...] > copied to stable, but replies set to kde-freebsd only; please respect that and > do not copy this topic further on the stable list. thanks. Actually, this is not a KDE-specific problem. If you add the canonical invocation of sessreg in /usr/X11R6/lib/X11/xdm/Xstartup in order to log ordinary X logins, you will experience the same problem. w/uptime and wall don't seem to have trouble with ':N' entries in utmp on Linux or Solaris as they do on FreeBSD, so perhaps the appropriate solution is merely to suppress the diagnostic. In any case, I'm interested in this problem, so if you insist on not CCing stable, please CC me. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message