Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2006 22:12:02 -0500
From:      Scott Robbins <scottro@nyc.rr.com>
To:        freebsd-x11@freebsd.org, x11@freebsd.org
Subject:   Re: [Fwd: [Fwd: Unable to Startx Following Upgrade--Error in Locking Authority File]]
Message-ID:  <20060212031202.GA72643@mail.scottro.net>
In-Reply-To: <43EEA04B.2080004@gti.net>
References:  <43EEA04B.2080004@gti.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Feb 11, 2006 at 09:41:15PM -0500, Bob Perry wrote:
> Following upgrade of xorg to version 6.9.0, I have been unable to start my 
> gnome session.  Following reflects my attempts to resolve via messages to other 
> mailing lists.
> 
> My .xinitrc file reads:
> /usr/X11R6/bin/gnome-session
> 
> 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.

I had a similar problem, although in my case, I suspect it's due to some
cheap hardware.

At any rate, before starting X try

xauth -b quit

This will break any locks.  (If your problem has similar causes as mine
did, there will be an .Xauthority, and a couple of others--.Xauthority-c
and .Xauthority-l, if I remember correctly.)

Your description sounds as if it is similar, so perhaps this solution
will help.


- -- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Cordelia: What's her saga?
Xander: She's freaking.
Cordelia: About what?
Xander: The mayor is gonna kill us all during graduation.
Cordelia: Oh. Are you gonna go to 5th period?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD7qeC+lTVdes0Z9YRAiRhAJ9V+zOaLOt3MBN8hvgCIEiup0JIrACeJTjM
ClGQ9o+MMNL141gVKE58Ds4=
=dTYk
-----END PGP SIGNATURE-----



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