Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-30-2004, 01:20 PM
|
#1
|
Member
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101
Rep:
|
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.
|
|
|
11-30-2004, 03:38 PM
|
#2
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
chown -R you.group /home/<your_home_directory> as root
|
|
|
11-30-2004, 03:43 PM
|
#3
|
Member
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101
Original Poster
Rep:
|
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?
|
|
|
11-30-2004, 04:17 PM
|
#4
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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.
|
|
|
11-30-2004, 04:20 PM
|
#5
|
Member
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101
Original Poster
Rep:
|
Thanks a bunch jonr. I will try this as soon as I get home and post results.
|
|
|
11-30-2004, 04:28 PM
|
#6
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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?
|
|
|
11-30-2004, 05:23 PM
|
#7
|
Member
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101
Original Poster
Rep:
|
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?
|
|
|
11-30-2004, 05:42 PM
|
#8
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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 05:44 PM.
|
|
|
11-30-2004, 05:53 PM
|
#9
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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.
|
|
|
11-30-2004, 06:02 PM
|
#10
|
Member
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101
Original Poster
Rep:
|
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.
|
|
|
11-30-2004, 06:32 PM
|
#11
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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.
|
|
|
11-30-2004, 06:54 PM
|
#12
|
Member
Registered: Jul 2003
Location: B.C. Canada
Distribution: Mint 20.1
Posts: 101
Original Poster
Rep:
|
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!!!
|
|
|
11-30-2004, 06:55 PM
|
#13
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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.
|
|
|
11-30-2004, 11:32 PM
|
#14
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
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 11:34 PM.
|
|
|
12-01-2004, 12:10 AM
|
#15
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|