From owner-freebsd-stable Sun Sep 22 21:13: 4 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 B000037B401 for ; Sun, 22 Sep 2002 21:13:03 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EC5D43E42 for ; Sun, 22 Sep 2002 21:13:02 -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.6/8.12.6) with ESMTP id g8N4Co5Q000540; Mon, 23 Sep 2002 16:12:50 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.6/8.12.6/Submit) id g8N4CoBf000539; Mon, 23 Sep 2002 16:12:50 +1200 (NZST) Date: Mon, 23 Sep 2002 16:12:50 +1200 From: Jonathan Chen To: AlanE Cc: FreeBSD Stable List Subject: Re: Weird uptime(1) output Message-ID: <20020923041250.GA500@grimoire.chen.org.nz> References: <20020923033214.GB48084@wwweasel.geeksrus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923033214.GB48084@wwweasel.geeksrus.net> User-Agent: Mutt/1.4i 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 On Sun, Sep 22, 2002 at 11:32:14PM -0400, AlanE wrote: > I have discussed this with the KDE maintainer of kdm, and he states that > he *wants* the utmp entry to be :0 (or :0.0, or whatever the DISPLAY > is). While I disagree with that, it's kinda hard to get that information > (the tty) to the script that makes the utmp entry. > > I may try another way to do it in a FBSD patch once KDE 3.1 hits the > tree (whenever that is). For right now, you'll just have to live with > it, as I'm the guy who normally maintains kdm in the ports tree. 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 Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Power corrupts, Absolute Power is pretty neat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message