timeout in locking authority file /home/pi/.Xauthority


5 posts
by hibol » Fri Jul 27, 2012 5:57 pm
Hello !
I received my Rpi today and booted it (with only a mouse, a keyboard and aTV) without problem.

Then I tried to boot again but this time with a powered hub for the keyboard and a USB->wifi dongle.
When I typed "startx", it said :
Code: Select all
timeout in locking authority file /home/pi/.Xauthority
and the screen stayed black for a long time, then I could read
Code: Select all
Invalid MIT-MAGIC-COOKIE-1 key..
.

Just before, the Pi seemed to have installed drivers or stuff like that for my wifi dongle.

I found a topic which told to rename the .Xauthority file to .Xauthority.backup, then change rights of /home/pi but it didn't work in my case.
By the way, I also expended the main partition of my SD card, as I read this could be a problem if it was full.

Does someone has an idea how to solve this issue ?
Thanks, and sorry if there are mistakes in my message, my mothertongue is french.
User avatar
Posts: 33
Joined: Thu Jul 26, 2012 9:44 am
Location: Switzerland
by hibol » Fri Jul 27, 2012 8:11 pm
I tried with another SD card (same other stuff, with powered usb hub), and I got other errors after typing startx... :roll:
Code: Select all
Segmentation fault at adress 0x408b8000
Fatal server error :
Caught signal 11 (Segmentation fault). Server aborting

I must admit I am lost :?
User avatar
Posts: 33
Joined: Thu Jul 26, 2012 9:44 am
Location: Switzerland
by JohnStodden » Fri Aug 24, 2012 1:50 pm
Hi

I have just had exactly the same problem, also running with a wifi dongle. 2 weeks ago, when I tried the dongle it worked fine, now it gives me the same message as you have had.

Help someone!!
Posts: 16
Joined: Wed Jul 18, 2012 9:01 am
by hibol » Fri Aug 24, 2012 1:59 pm
Hi,
I don't know if there is something "cleaner" to do, but I managed to solve this problem by rewriting the SD card.
So I still don't know what caused this error, and why I have never seen it again.
User avatar
Posts: 33
Joined: Thu Jul 26, 2012 9:44 am
Location: Switzerland
by JohnStodden » Mon Aug 27, 2012 12:44 pm
Today I did a

sudo apt-get update
sudo apt-get upgrade

and the problem went away!

the upgrade step takes a long time, about 20 minutes.
Posts: 16
Joined: Wed Jul 18, 2012 9:01 am