LinuxQuestions.org
Review your favorite Linux distribution.
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 11-30-2004, 12:20 PM   #1
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Slackware 14
Posts: 94

Rep: Reputation: 15
xauth.... time out locking file .Xauthority


I am running Slack 10 and Fluxbox 0.9.10. Everything has been working just fione untill today when I rebooted my pc from Windows XP Pro (dual boot in case you haven't figured that out yet). It booted just fine but after I logged into cli and attempted "startx" just like I always do, it hung for 20 sec or so and then I get the error

xauth time out locking /home/draax/.Xauthority file (not exact error because I am not on my box, I will edit this to the exact error when I get home. This is almost exactly what it says though.)

Then it will repeat this about 4 times and then finally log into Flux. This is frusterating because it takes so long to log in now. Does anyone have any idea as to what might be causing this? If so, any ideas as to how to fix it.
 
Old 11-30-2004, 02:38 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
chown -R you.group /home/<your_home_directory> as root
 
Old 11-30-2004, 02:43 PM   #3
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Slackware 14
Posts: 94

Original Poster
Rep: Reputation: 15
Thank you for the fast reply Vincent_Vega.

Quote:
Originally posted by Vincent_Vega
chown -R you.group /home/<your_home_directory> as root
I will try this as soon as I get home to my box. For the "you.group" I am not sure what I should put here. I am assuming "you" is my user, which would be draax.... I do not know what to put for "group". Also, what would have caused this? Why all of a sudden is this happening when it has never happened before and everything worked fine?
 
Old 11-30-2004, 03:17 PM   #4
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by DraaX
Thank you for the fast reply Vincent_Vega.



I will try this as soon as I get home to my box. For the "you.group" I am not sure what I should put here. I am assuming "you" is my user, which would be draax.... I do not know what to put for "group". Also, what would have caused this? Why all of a sudden is this happening when it has never happened before and everything worked fine?
Just make the "group" name be your name, too. That should fix your problem. I had the exact same thing happen to me a few months ago and it bothered me no end...don't remember how I fixed it, but I just experimented till I fixed it myself--the way described here.
 
Old 11-30-2004, 03:20 PM   #5
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Slackware 14
Posts: 94

Original Poster
Rep: Reputation: 15
Thanks a bunch jonr. I will try this as soon as I get home and post results.
 
Old 11-30-2004, 03:28 PM   #6
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
I've been puzzling ever since it happened to me as to what could have caused it. Like you, I'm unaware of doing anything unusual that would have changed permissions on the authority files.

Does anybody have an idea what does cause this kind of error? Or maybe I should say how a user can without knowing it may change permissions on some important files?
 
Old 11-30-2004, 04:23 PM   #7
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Slackware 14
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jonr
Just make the "group" name be your name, too. That should fix your problem. I had the exact same thing happen to me a few months ago and it bothered me no end...don't remember how I fixed it, but I just experimented till I fixed it myself--the way described here.
I tried this and get

"chown: 'draax.draax' : invalid group"

I am unsure of what to put for the group. Any ideas?
 
Old 11-30-2004, 04:42 PM   #8
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by DraaX
I tried this and get

"chown: 'draax.draax' : invalid group"

I am unsure of what to put for the group. Any ideas?
It ought to work...as far as I know. Hmm. Have you got Midnight Commander on your
setup? If you select a directory and then choose "chown" from the "File" commands,
it will show you all the available owners and groups.

Or you could always put "root" for the group and see if that works. I thought
each user always automatically got a group by the same name as the user, but I guess
not....

Also worth trying would be just

chown -R draax .

as root while in your home directory.

Last edited by jonr; 11-30-2004 at 04:44 PM.
 
Old 11-30-2004, 04:53 PM   #9
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
WHOA! My mistake...

...I'm sorry.

The format is:

chown -R draax:draax .

with a colon, not a dot.

Try with a colon and see if it doesn't work.

I shoulda tested first.
 
Old 11-30-2004, 05:02 PM   #10
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Slackware 14
Posts: 94

Original Poster
Rep: Reputation: 15
Re: WHOA! My mistake...

Quote:
Originally posted by jonr
...I'm sorry.

The format is:

chown -R draax:draax .

with a colon, not a dot.

Try with a colon and see if it doesn't work.

I shoulda tested first.
Tried this and it did not work. Same error as before.

Tried "chown -R draax /home/draax" and this seems to have solved my problem! Thanks so much for helping me! I appreciate so much.
 
Old 11-30-2004, 05:32 PM   #11
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Re: Re: WHOA! My mistake...

Quote:
Originally posted by DraaX


Tried "chown -R draax /home/draax" and this seems to have solved my problem! Thanks so much for helping me! I appreciate so much.
Well, I sure offered clumsy help, but glad you got your problem fixed.
 
Old 11-30-2004, 05:54 PM   #12
DraaX
Member
 
Registered: Jul 2003
Location: B.C. Canada
Distribution: Slackware 14
Posts: 94

Original Poster
Rep: Reputation: 15
Re: Re: Re: WHOA! My mistake...

Quote:
Originally posted by jonr
Well, I sure offered clumsy help, but glad you got your problem fixed.
Well johnr, you actually gave me 'correct' advice in saying:

Quote:
Originally posted by jonr
Also worth trying would be just

chown -R draax .

as root while in your home directory.

Just not the 'exact' command. Which i figured out with your help.

So thanks again for the help!!!
 
Old 11-30-2004, 05:55 PM   #13
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Re: Re: Re: Re: WHOA! My mistake...

Quote:
Originally posted by DraaX
Well johnr, you actually gave me 'correct' advice in saying:




Just not the 'exact' command. Which i figured out with your help.

So thanks again for the help!!!
You should be a diplomat.
 
Old 11-30-2004, 10:32 PM   #14
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
I assume your group is 'users'. That would be standard for what I'm using. If you wanted to make a new group called "draax" and add yourself to it, that's easy too.
To see what group you're in, type "groups" and it will list all of the groups you belong to.
<edit>
and the proper command for you to use is either:
chown -R draax.users /home/draax
or
chown -R draax:users /home/draax
assuming you're part of the 'users' group. Either the '.' or the ":" delimiter is fine. They both do the same thing for that command.

Last edited by Vincent_Vega; 11-30-2004 at 10:34 PM.
 
Old 11-30-2004, 11:10 PM   #15
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Aftershock...

Guess what happened to me about ten minutes after reading the last post in this thread?

You guessed it. No authority to run X.

This time I had to jump through countless hoops with my .bash_profile and .bashrc files to get it
fixed, and I have NO idea what happened to screw them up in the first place.

It wasn't a permissions problem this time.

Talk about coincidences, though.
 
  


Reply

Tags
imp


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? otbibb Linux - Software 6 08-28-2013 01:42 PM
xauth: timeout in locking authority file //.Xauthority karlrb Linux - Software 2 10-26-2006 06:53 AM
computer locking up every time i stick a pcmcia card in CompaqDrew Linux - Laptop and Netbook 0 11-13-2004 09:12 PM
xauth: timeout in locking .Xauthority mcd Slackware 1 11-03-2004 01:42 AM
Xauth will not unlock a file at /home/username javpra Linux - Newbie 3 09-08-2004 07:36 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration