LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-02-2009, 05:30 PM   #1
agrestic
Member
 
Registered: Jan 2009
Location: atlanta, ga, usa
Distribution: sabayon 5, slack64, Lenny, LFS 6.4 user # 20665
Posts: 61

Rep: Reputation: 16
Question SOLVED xauth: error in locking authority file


I installed 12.2, then the latest nvidia driver. I rebooted, leaving the initial boot parameters alone in inittab (e.g., init 3). I used startx as a normal user to log into KDE. Then to start GIMP as root, and edit slack.bmp, I did this as root:
Code:
xauth merge /home/agrestic/.Xauthority
Then I rebooted.

I logged in (init 3) as agrestic, then tried startx. I could move the mouse (which looked like an X) over the screen but KDE never loaded. I did Ctl+Alt+F1 and saw this error multiple times, once every few seconds:
Code:
AUDIT: Mon Feb 2 15:01:32 2009: 3486 X: client 1 rejected from local host (uid 500)
At the end of the errors, which lasted several minutes, I also got this, below the aforementioned error:
Code:
No protocol specified
xinit: Server error
xauth: error in locking authority file /home/agrestic/.Xauthority
Is this because root, instead of agrestic, executed "xauth merge /home/agrestic/.Xauthority"? If not, what did I do wrong?
TIA

******
SOLVED
******
I found /$HOME/.Xauthority-c, .Xauthority-l, and .Xauthority. Deleted them all, rebooted, & all is right with the world again.
...Though I still don't know what I did wrong in the first place.

Last edited by agrestic; 02-02-2009 at 06:15 PM. Reason: SOLVED
 
Old 02-03-2009, 06:56 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I haven't done that in a while, but I used to run xauth merge ~steve/.Xauthority on one of my older boxes so I could run a particular gui app as root. After running that command I had to run chown steve:steve ~steve/.Xauthority because the ~steve/.Xauthority file was being changed to root ownership.

If you strike the problem again it may be worth checking whether that has happened.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xauth: timeout in locking authority file //.Xauthority v@ny@ Slackware 14 11-20-2013 06:52 AM
xauth: timeout in locking authority file ~/.Xauthority? otbibb Linux - Software 6 08-28-2013 02:42 PM
Timeout in locking authority file ERROR Frame360 Linux - Newbie 0 01-24-2007 12:42 PM
xauth: timeout in locking authority file //.Xauthority karlrb Linux - Software 2 10-26-2006 07:53 AM
error in locking authority file Spyder23 Linux - Newbie 1 06-22-2002 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration