Skip site navigation (1)Skip section navigation (2)
Date:      29 May 2003 16:53:01 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Fredrick Nilsson <bender@impala.mine.nu>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gdm2 - uptime
Message-ID:  <1054241581.317.55.camel@gyros>
In-Reply-To: <20030529224019.242fcbb0.bender@impala.mine.nu>
References:  <20030529224019.242fcbb0.bender@impala.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-2dGLDPo8IKf6+dRYZ0fh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2003-05-29 at 16:40, Fredrick Nilsson wrote:
> Hi!=20
>=20
> Seems that gdm2 has effects on the command uptime, but i'm not sure. When=
 i log in with gdm it seems to do entries in /var/run/utmp which uptime sca=
ns. This gives me an output like:
>=20
> uptime: /dev/:0: No such file or directory
> 10:39PM  up 1 day,  4:39, 4 users, load averages: 1.36, 1.17, 1.09

This is due to the sessreg command that gdm runs in PreSession.  It's
debatable as to whether this is a bug in gdm or in w/uptime.  The
sessreg manpage says that gdm is going it correctly.  If you edit
/usr/X11R6/etc/gdm/PreSession/Default, and remove the "-l $DISPLAY"
option from the sessreg command, this won't happen.  However, IMHO, I
think w should be fixed to recognize X displays.

Joe

>=20
> BR
> .f
>=20
> (using gdm2-2.4.1.4_1, 4.8-STABLE)
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-2dGLDPo8IKf6+dRYZ0fh
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA+1nMtb2iPiv4Uz4cRArspAKCKiOTfuJIw/1Z0QO3QSPf8sEOo6QCfaV5c
DEid8knMNe/c2c4SBx8oSCg=
=UwMC
-----END PGP SIGNATURE-----

--=-2dGLDPo8IKf6+dRYZ0fh--



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