You are not logged in.

#1 2005-09-04 18:16:02

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Help me fix .Xauthority

How is this done with arch linux?  Is there anyone that knows how to get KDE or anything else working again after .Xauthority .ICEauthority corruption?
I tried to install some stupid program, and I took the wrong step somewhere.
Man, I'm lost on this one.

I'm just worried that anymore meddling without knowing precisely what to do  is going to get me deeper.

Offline

#2 2005-09-04 20:11:25

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me fix .Xauthority

What caused problems in the first place?  What were you trying to install?

Maybe it would help if you gave us some output from your terminal

Offline

#3 2005-09-04 23:27:04

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: Help me fix .Xauthority

mv ~/.Xauthority ~/.Xauthority~
mv ~/.ICEauthority ~/.ICEauthority~

xorg should write a new one

Offline

#4 2005-09-05 00:35:50

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Help me fix .Xauthority

Some game demo, I can't remember.   It wouldn't install right, and I think I accidentally tried to run it while root in console.  I've heard this can sometimes happen if signing into X as root.  Apparently, this is literally the same thing

Thanks for the input, TomE.  I'll try that and let you know.  big_smile

Offline

#5 2005-09-05 00:58:53

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Help me fix .Xauthority

Well, that probably would have worked, had I not deleted .Xauthority and .ICEauthority before trying it. 

So, what I assume needs to be done is give access back to my username.
chown doesn't seem to work, but I might be doing something wrong.

What do I do?

Offline

#6 2005-09-05 01:39:02

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Help me fix .Xauthority

The error is:

xauth:  timeout in locking authority file /home/[user]/.Xauthority

More things I've tried that didn't work:
chmod 600 ~/.Xauthority~
same for ICEauthority

and

chmod uo=rw ~./Xauthority~

Offline

#7 2005-09-05 01:53:56

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me fix .Xauthority

I've had that problem before.

it should be .Xauthority
without the tilde...

Make sure your rights are fine on the home dir.
and then get rid of .Xauthority and .Iceauthority

It should just create a new one when you startx again.

Offline

#8 2005-09-05 02:23:15

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Help me fix .Xauthority

:cry:

Nothing is working.

Looks like I don't have .Xauthority or .ICEauthority recognized by the bash prompt anymore, unless I slocate them and they show up in root and user.

How'n the damn hell does that happen?  The files don't exist, yet, slocating it shows where they're at.

Well, ha, ha, anyway, I know they're deleted from root and user, which, I know you're going to tell me is bad.

I'll be patiently waiting, and hopefully somebody can help me fix this crap.

Thanks.  big_smile


well, tried this also:

xauth -vib generate :0 . trusted

cp /root/.Xauthority /home/[user]/.Xauthority

chmod [user] /home/[user]/.Xauthority

reboot

vim /home/[user]/.ICEauthority  shift :wq
reboot

NADA  heh, heh.  What am I doing?

edit:
permissions are --rw------------  [user].root

I need to get it to [user].[user] right?
I can't seem to figure that out.  I'm missing some basic understanding.

Offline

#9 2005-09-06 22:51:28

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Help me fix .Xauthority

Maybe there was a way to fix this, but I've come to realize I've royally screwed myself somehow, and I've taken this as a lesson learned as to what NOT to do. 
Looking into alternative window and startup management right now.  First thing that has gone out the window is KDE.

Enjoying fluxbox.  Already learned some things such as editing the menu file that has me very impressed at simplicity.  Thanks, guys.  Loving the opportunity to learn.

Offline

#10 2005-09-07 04:26:48

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me fix .Xauthority

I had that problem...I just fixed it by removing the user and recreating it with adduser instead of useradd.  It was slack though.

Offline

#11 2005-09-07 23:53:12

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Help me fix .Xauthority

I don't know.  didn't try that.   It probably would have worked.  LOL.  If I manage to do it again, which I don't think I will, hopefully, I'll try it.  LOL.

Offline

#12 2005-09-08 01:33:28

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me fix .Xauthority

If you don't need to then there is no point.

Offline

#13 2012-05-04 23:15:58

Storris
Member
Registered: 2012-04-26
Posts: 14

Re: Help me fix .Xauthority

I know this post is old but...

I had trouble after starting awesome from awesome, as root, 4 or 5 times!  After reboot my user wouldn't: "startx" and kept getting:  "timeout locking file .Xauthority".  After deleting "/etc/home/user/.Xauthority" I got back in.  Thanks you guys.

Offline

#14 2012-05-04 23:29:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Help me fix .Xauthority

It is beyond the realms of possibility that any of the people who posted in this thread seven years ago are still a) around, and b) interested in this issue.

Please do not necrobump: https://wiki.archlinux.org/index.php/Fo … Bumping.27

Closing.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB