From owner-freebsd-questions@FreeBSD.ORG Mon Jan 30 14:04:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0828A16A420 for ; Mon, 30 Jan 2006 14:04:12 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id A72FD43D4C for ; Mon, 30 Jan 2006 14:04:11 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 28943 invoked from network); 30 Jan 2006 14:04:11 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Jan 2006 14:04:11 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id F367028420; Mon, 30 Jan 2006 09:04:09 -0500 (EST) Sender: lowell@be-well.ilk.org To: Bob Perry References: <43DC4330.6080607@gti.net> From: Lowell Gilbert Date: 30 Jan 2006 09:04:09 -0500 In-Reply-To: <43DC4330.6080607@gti.net> Message-ID: <441wypu812.fsf@be-well.ilk.org> Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Unable to Startx Following Upgrade--Error in Locking Authority File X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 14:04:12 -0000 Bob Perry writes: > Hi everyone, > I'm running FreeBSD 5.4-RELEASE #0 and just completed weekly upgrade. > Now when I run "startx", I can not connect to the graphical display > window. I simply see the gray screen with the small x in the middle. > > I went back to the command line to review the text immediately > following the startx command and the first line reads: xauth: creating > new authority file /home/rperry/.serverauth.8414; then, repeated four > (4) times is the following: > /usr/X11R6/bin/xauth: error in locking authority file > /home/rperry/.Xauthority > (skip) > error opening security policy file > /usr/X11R6/lib/X11/xserver/SecurityPolicy > AUDIT: Sat Jan 28...8433 X: client 1 rejected from local host > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > I have no problem running startx as root. > > cd /home/rperry > ls -l .Xauthority > -rw-------1 root rperry 112 Jan 28 22:13 .Xauthority > > FWIW, also had trouble running portupgrade due to repeated timeouts > and/or loss of connections. > > Is there a location that lists the error messages like the one I > encountered? Tried Google and the mailing list archives but wasn't > able to resolve the issue. > > Any assistance would be appreciated. Sounds like you have a stale authority file. Try just deleting it before the next time you start up...