From owner-freebsd-ports Mon Oct 15 21: 0: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 72A5737B40C for ; Mon, 15 Oct 2001 21:00:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9G402Y16784; Mon, 15 Oct 2001 21:00:02 -0700 (PDT) (envelope-from gnats) Date: Mon, 15 Oct 2001 21:00:02 -0700 (PDT) Message-Id: <200110160400.f9G402Y16784@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Maxim Sobolev Subject: Re: ports/31309: Running gdm causes a blank X sreen without a login box. Reply-To: Maxim Sobolev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/31309; it has been noted by GNATS. From: Maxim Sobolev To: heath@cs.byu.edu, freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/31309: Running gdm causes a blank X sreen without a login box. Date: Tue, 16 Oct 2001 06:50:18 +0300 (EEST) On Mon, 15 Oct 2001 17:34:59 -0700 (PDT), Heath Nielson wrote: > > >Number: 31309 > >Category: ports > >Synopsis: Running gdm causes a blank X sreen without a login box. > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-ports > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Mon Oct 15 17:40:01 PDT 2001 > >Closed-Date: > >Last-Modified: > >Originator: Heath Nielson > >Release: 4.4-FreeBSD Stable > >Organization: > >Environment: > FreeBSD hershey.dyn.bar.net 4.4-STABLE FreeBSD 4.4-STABLE #1: Fri Oct 12 22:28:00 MDT 2001 heath@hershey.dyn.bar.net:/usr/src/sys/compile/HERSHEY i386 > >Description: > When gdm is run, a blank X screen appears. The gdm login box doesn't appear and appears not to be running. Users will be unable to login in. This is due to the fact that gdm tries to set an environment variable "GDM_TIMED_LOGIN" with a NULL value. This causes a Segmentation Fault on FreeBSD. I'm not sure whether the value should be NULL or not, but by passing in a space rather than a NULL fixed the problem. (Fix inspired from David Marker ) > > Also there is a problem when gdm creates a local socket. The sizeof() wasn't specified correctly causing a truncated filename to be created in the /tmp directory, when gdm tries to remove the file through an unlink() call, the unlink() fails and subsequent attempts to bind the local socket will fail with EADDRINUSE. Woohoo! Much needed fix. I'll test it today and commit if it works. > (BTW sorry for trashing the diffs by sending them through the web page, currently I have no other access to GNATS.) Not a big deal, though it might be a good idea to learn how to use send-pr(1) - it isn't a rocket science, really. :) -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message