From owner-freebsd-gnome Fri Jul 12 9:28:44 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 924AB37B480 for ; Fri, 12 Jul 2002 09:28:37 -0700 (PDT) Received: from zinc.5z.com (zinc.5z.com [64.23.60.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id E73B343E3B for ; Fri, 12 Jul 2002 09:28:36 -0700 (PDT) (envelope-from jirka@zinc.5z.com) Received: from localhost (localhost [[UNIX: localhost]]) by zinc.5z.com (8.11.6/8.11.6) id g6CGSSA17543; Fri, 12 Jul 2002 12:28:28 -0400 Date: Fri, 12 Jul 2002 09:37:40 -0700 From: George To: Joe Kelsey Cc: George , ezislis , gnome@freebsd.org Subject: Re: GDM 2.4.0.x & FreeBSD Message-ID: <20020712163740.GA11052@monique.linux.bogus> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1026429227.8748.67.camel@zircon.zircon.seattle.wa.us> User-Agent: Mutt/1.4i Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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