From owner-freebsd-questions@FreeBSD.ORG Thu Jul 17 17:42:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 199041065675 for ; Thu, 17 Jul 2008 17:42:21 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id BD2728FC20 for ; Thu, 17 Jul 2008 17:42:20 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA07.westchester.pa.mail.comcast.net with comcast id r4fj1Z03P0vyq2s575iLXn; Thu, 17 Jul 2008 17:42:20 +0000 Received: from localhost ([67.188.180.64]) by OMTA05.westchester.pa.mail.comcast.net with comcast id r5iJ1Z00J1PlroK3R5iKU8; Thu, 17 Jul 2008 17:42:20 +0000 X-Authority-Analysis: v=1.0 c=1 a=XGU4rOXAHi1SiH07_64A:9 a=YaJBFhUu7rePnZHgungA:9 a=qfoUHii_l5P5mGmANLIA:7 a=G9PccBFFOaPusovQttt4VRyl0TgA:4 a=LY0hPdMaydYA:10 Date: Thu, 17 Jul 2008 10:42:24 -0700 From: Rem P Roberti To: Roland Smith Message-ID: <20080717174224.GA794@remdog.net> Mail-Followup-To: Roland Smith , FreeBSD References: <20080717164609.GA1010@remdog.net> <20080717172849.GA33118@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080717172849.GA33118@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Subject: Re: X won't play X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 17:42:21 -0000 On 2008.07.17 19:28:49 +0000, Roland Smith wrote: > On Thu, Jul 17, 2008 at 09:46:09AM -0700, Rem P Roberti wrote: > > > > I'm kind of new to this, so would appreciate a hand. I just got through > > > > configuring a custom kernel. Both makebuild and installbuild take place > > > > with no problems and the kernel boots just like it's supposed to. But > > > > when I try to bring up X I get this error message: > > > > > > > > _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed > > > > _XSERVTransMakeAllCOTSServerListeners: server already running > > > > > > Maybe you forgot something netowrking related. Please show a diff(1) of > > > you kernel configurations, see below. > > > > > > > Fatal server error: > > > > Cannot establish any listening sockets - Make sure an X server isn't > > > > already running > > > > > > > > I rebooted with the old kernel and everything is back to normal. > > > > Obviously I removed something from the kernel configuration file that I > > > > shouldn't have. Can someone give me a heads up on just what that might > > > > be? > > > > > > Please post the output of 'diff -u oldconfig newconfig', where oldconfig > > > and newconfig are replaced by the paths of the old and new kernel > > > configuration files. > > > > > Hmm. Nothing suspicious as far as I can see. > > Since it says "server already running" in the original error message, was > there perhaps a stray hidden lockfile or socket in /tmp/? > I cleaned up the /tmp directory, but the new kernel still refuses to allow X to boot. In my original post I failed to include this part of the error message, which comes at the end: XIO: fatal IO error 54 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. As I said earlier, when I unload the new kernel and boot the old one I have no problem bringing up X. Rem