Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 09:37:40 -0700
From:      George <jirka@5z.com>
To:        Joe Kelsey <joe@zircon.seattle.wa.us>
Cc:        George <jirka@5z.com>, ezislis <kesor@mail.ru>, gnome@freebsd.org
Subject:   Re: GDM 2.4.0.x & FreeBSD
Message-ID:  <20020712163740.GA11052@monique.linux.bogus>
In-Reply-To: <1026429227.8748.67.camel@zircon.zircon.seattle.wa.us>
References:  <20020711010419.H37195-100000@finone.in.kesor.net> <1026353333.8748.40.camel@zircon.zircon.seattle.wa.us> <20020711163859.GC16083@monique.linux.bogus> <1026429227.8748.67.camel@zircon.zircon.seattle.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 11, 2002 at 04:13:47PM -0700, Joe Kelsey wrote:
> # gdm --nodaemon ttyv8
> 
> Lo and behold, it worked!  It still hangs in the same place when run
> from /etc/ttys, and when run from the console still generates the NULL
> encoding error messages, but I was able to successfully login.
> 
> This would seem to indicate that some one of the stdio file descriptors
> is causing a problem, since that is the main difference between running
> in /etc/ttys and running from /dev/ttyv0 root login (I think?)

Ahh, this may be a bit of an insight.  So perhaps gdm doesn't handle well the
case where stdin/out is missing (I suppose that may be the case when run from
/etc/ttys) and when it is not daemonizing.  I think I know where the problem
lies.  I think there may be many errors when the 0,1,2 descriptors are not
open sicne that's not a well tested case.  I'll be committing a fix that
ensures that 0,1 and 2 exist on execution.

Not sure if this is the only problem as kesor had a problem no matter where
he ran gdm from.

George

-- 
George <jirka@5z.com>
   A physical understanding is a completely unmathematical, imprecise, and
   inexact thing, but absolutely necessary for a physicist.
                       -- Richard P. Feynman

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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