Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 18:27:35 -0500
From:      Bob Perry <rperry@gti.net>
To:        freebsd-x11@freebsd.org
Subject:   [Fwd: Re: Unable to Startx Following Upgrade--Error in, Locking Authority File]
Message-ID:  <43F7AD67.2050006@gti.net>

next in thread | raw e-mail | index | archive | help
Just had a chance to review some of the archived messages on this 
subject and thought I would offer what help I could to resolve this 
issue.  I have little experience with debugging techniques but can 
follow directions.

I'm running FreeBSD 5.4 on two machines.  Both allow startx access as 
root at this time.

If you thing I might be of help, let me know.  If not, I certainly can 
understand given my lack of experience.

Bob Perry

-------- Original Message --------
Subject: Re: Unable to Startx Following Upgrade--Error in,Locking 
Authority File
Date: Thu, 16 Feb 2006 21:49:10 -0500
From: Bob Perry <rperry@gti.net>
To: Bob Perry <rperry@gti.net>,  freebsd-x11@freebsd.org
References: <43F40518.8000003@gti.net> 
<20060216055405.GB6213@mail.scottro.net>

Scott Robbins wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, Feb 15, 2006 at 11:52:40PM -0500, Bob Perry wrote:
> 
> 
>>>    Xlib: No protocol specified
>>> I have no problem running startx as root.
> 
> I wrote:
> 
>  
>>> 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.)
> 
> 
> 
> 
>> Hi Scott,
>> I ran the command, xauth -b quit, but no change.  You are correct however, in 
>> that two files, .Xauthority-c and .Xauthority-l, were present.  Now only 
>> .Xauthority remains.
>>
>> Not sure what my next steps are.
>>
>> Bob
> 
> 
> Hrrm, I'm not sure either.  The xauth -b quit should remove those two
> files.   It was explained to me on this list that they're lock files
> that weren't properly removed.
> 
> Also, I missed that you could run it as root, which means it probably
> has a different cause.  It's probably some silly permissions issue that
> we're overlooking.   
> 
I need to review .Xauthority and see what it's all about.  Hopefully,
I'll find the answer soon.

Thanks again,

Bob Perry




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