You are not logged in.

#1 2009-06-06 20:29:35

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Error in locking authority file .Xauthority [Solved]

Hi,

I am having a little trouble with X after a fresh install.  I can start X fine as root, but as a normal user it just says "error in locking authority file .Xauthority."  I have never had this problem before so I don't really know what do to, and searching didn't clear anything up for me, so if someone could give me some advice I'd be very grateful.

Thanks.

Edit:  Solved by deleting all the .Xauthority files and starting X again.

Last edited by cyclotomic (2009-06-07 07:08:22)

Offline

#2 2009-06-06 20:45:33

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,170

Re: Error in locking authority file .Xauthority [Solved]

Check the permissions on ~/.Xauthority, and make sure your non-root user owns it. You could also just delete it as normal non-root user and try again- it will get re-created when you run xinit/startx.

Offline

#3 2009-06-06 21:08:24

cyclotomic
Member
From: New York
Registered: 2008-07-08
Posts: 52

Re: Error in locking authority file .Xauthority [Solved]

Thanks, that worked.  I just deleted all the .Xauthority files and it worked fine.

Offline

#4 2009-06-06 21:19:41

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,170

Re: Error in locking authority file .Xauthority [Solved]

NP. Next time don't fiddle around in your home directory as root. wink
Please mark your thread as [solved]

Offline

Board footer

Powered by FluxBB