From owner-freebsd-x11@FreeBSD.ORG Tue Feb 17 16:30:59 2009 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5703106566B; Tue, 17 Feb 2009 16:30:59 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id A05028FC0C; Tue, 17 Feb 2009 16:30:59 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1LZSqW-0004JQ-3S; Tue, 17 Feb 2009 16:30:58 +0000 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1LZSqT-0007Cs-F5; Tue, 17 Feb 2009 16:30:53 +0000 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n1HGUqta035560; Tue, 17 Feb 2009 16:30:52 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n1HGUnrI035524; Tue, 17 Feb 2009 16:30:49 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 17 Feb 2009 16:30:49 +0000 From: Anton Shterenlikht To: questions@freebsd.org, x11@freebsd.org Message-ID: <20090217163049.GA31157@mech-cluster238.men.bris.ac.uk> References: <20090213101308.GA52940@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090213101308.GA52940@mech-cluster238.men.bris.ac.uk> User-Agent: Mutt/1.5.19 (2009-01-05) X-Spam-Score: -1.4 X-Spam-Level: - Cc: Subject: Re: xdm -debug 1 => Nothing left to do, exiting X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 16:31:00 -0000 On Fri, Feb 13, 2009 at 10:13:08AM +0000, Anton Shterenlikht wrote: > On 6.4-stable alpha I cannot get xdm to become a daemon, it exits > immediately with empty /var/log/xdm.log. > > I tried to use -debug option, and this is the output: > > # xdm -debug 1 > DisplayManager.errorLogFile/DisplayManager.ErrorLogFile value /var/log/xdm.log > DisplayManager.daemonMode/DisplayManager.DaemonMode value true > DisplayManager.pidFile/DisplayManager.PidFile value /var/run/xdm.pid > DisplayManager.lockPidFile/DisplayManager.LockPidFile value true > DisplayManager.authDir/DisplayManager.authDir value /usr/local/lib/X11/xdm > DisplayManager.autoRescan/DisplayManager.AutoRescan value true > DisplayManager.removeDomainname/DisplayManager.RemoveDomainname value true > DisplayManager.keyFile/DisplayManager.KeyFile value /usr/local/lib/X11/xdm/xdm- > keys > DisplayManager.accessFile/DisplayManager.AccessFile value /usr/local/lib/X11/xd > m/Xaccess > DisplayManager.exportList/DisplayManager.ExportList value > DisplayManager.randomDevice/DisplayManager.RandomDevice value /dev/urandom > DisplayManager.greeterLib/DisplayManager.GreeterLib value /usr/local/lib/X11/xdm > /libXdmGreet.so > DisplayManager.choiceTimeout/DisplayManager.ChoiceTimeout value 15 > DisplayManager.sourceAddress/DisplayManager.SourceAddress value false > DisplayManager.willing/DisplayManager.Willing value su -m nobody -c /usr/local/ > lib/X11/xdm/Xwilling > Nothing left to do, exiting > # Looking at "xdm -debug .." logs on the net it seems the next line after the Willing should be creating socket 177 Perhaps xdm exits because it cannot create socket 177? Is that plausible? How can I test this? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423