Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 21:00:02 -0700 (PDT)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/31309: Running gdm causes a blank X sreen without a login box.
Message-ID:  <200110160400.f9G402Y16784@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31309; it has been noted by GNATS.

From: Maxim Sobolev <sobomax@FreeBSD.org>
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 <marker_d@yahoo.com>)
 > 
 > 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




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