Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 16:12:50 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        AlanE <alane@geeksrus.net>
Cc:        FreeBSD Stable List <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Weird uptime(1) output
Message-ID:  <20020923041250.GA500@grimoire.chen.org.nz>
In-Reply-To: <20020923033214.GB48084@wwweasel.geeksrus.net>
References:  <20020923033214.GB48084@wwweasel.geeksrus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                         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




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