You are not logged in.

#1 2014-04-22 05:44:10

Tm201
Member
Registered: 2014-04-14
Posts: 3

Error: xauth: timeout in locking authority file /home/...

Hey archlinux-forum,
i'm a absolute newbie with archlinux.
in past i have used only Debian oder Ubuntu.

At present i have a problem while starting the xserver on my archlinux-system.

After start with the command "startx", some error messages will show.

xauth: timeout in locking authority file /home/ ... /.Xauthority
xauth: timeout in locking authority file /home/ ... /.Xauthority
xauth: timeout in locking authority file /home/ ... /.Xauthority


After this errors the system try to start X (without success, black Display no mousepointer).

Have someone a tip to solve the problem?
Will write a log file of this process?


Thank you.

Tm201

Offline

#2 2014-04-22 05:48:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,706
Website

Re: Error: xauth: timeout in locking authority file /home/...

What's in Xorg's log? What are the permissions on your user's /home and on their .Xauthority?

Have you tried moving the .Xauthority and letting X write a new one?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-04-22 05:52:35

derekArch
Member
Registered: 2013-02-02
Posts: 22

Re: Error: xauth: timeout in locking authority file /home/...

check

ls -l ~/.Xauthority

It should be owned by you. If not, run

 sudo chown user ~/.Xauthority 

where user is your username
Then, run

 chmod u+rw ~/.Xauthority

then, retry startx

Last edited by derekArch (2014-04-22 05:53:10)

Offline

#4 2014-04-22 07:05:22

Tm201
Member
Registered: 2014-04-14
Posts: 3

Re: Error: xauth: timeout in locking authority file /home/...

@jasonwryan

What's in Xorg's log? What are the permissions on your user's /home and on their .Xauthority?

It was only a idea from me to investigate the problem.

Have you tried moving the .Xauthority and letting X write a new one?

Write a new .Xauthority file is not possible.

After the command "xauth generate :0 .trusted", i get the same error (xauth: timeout in locking authority file /home/ ... /.Xauthority).

@derekArch
I'm owner of this file and i have all permissions.
"ls -la" -> -rwxrwxrwx 1 toni users 104 Apr 9 20:04 .Xauthority


I think the problem is that i clound not generate a new .Xauthority file.

Offline

#5 2014-04-22 07:21:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,706
Website

Re: Error: xauth: timeout in locking authority file /home/...

Tm201 wrote:

@jasonwryan

What's in Xorg's log? What are the permissions on your user's /home and on their .Xauthority?

It was only a idea from me to investigate the problem.

What? Is there no Xorg log?

Have you tried moving the .Xauthority and letting X write a new one?

Write a new .Xauthority file is not possible.

What does that mean? What did you do? What errors did you get?

I think the problem is that i clound not generate a new .Xauthority file.

Perhaps you could paste the actual commands you tried and the output that followed? That way we can stop guessing and start helping...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-04-22 08:01:23

Tm201
Member
Registered: 2014-04-14
Posts: 3

Re: Error: xauth: timeout in locking authority file /home/...

Sorry because of my bad english.
It's the cause of this misunderstandings.

What? Is there no Xorg log?

No, the xorg-logging run correctly.

Have you tried moving the .Xauthority and letting X write a new one?
Write a new .Xauthority file is not possible.
What does that mean? What did you do? What errors did you get?

Here my method:
1.

mv .Xauthority .Xauthority_backup 

-> o.k. 
2.

xauth generate :0 .trusted

-> error:

xauth: timeout in locking authority file /home/toni/.Xauthority 

Is it the correct way/command to generate a new .Xauthority file?

Perhaps you could paste the actual commands you tried and the output that followed? That way we can stop guessing and start helping...

o.k., next time.

Thank you.

Last edited by Tm201 (2014-04-22 09:19:50)

Offline

#7 2016-03-19 03:04:08

novcn
Member
Registered: 2016-03-19
Posts: 4

Re: Error: xauth: timeout in locking authority file /home/...

From my experience this is due to not the (non-root) user not having write access to their home directory. like if you did a

mkdir /home/<user>

as root before creating a new user.

Make sure you have write access to your home directory.

Last edited by novcn (2016-03-19 03:04:33)

Offline

#8 2016-03-19 03:05:22

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,611

Re: Error: xauth: timeout in locking authority file /home/...

novcn wrote:

From my experience this is due to not the (non-root) user not having write access to their home directory. like if you did a

mkdir /home/<user>

as root before creating a new user.

Make sure you have write access to your home directory.

I seriously doubt the OP is still looking for an answer 2 years later.

Offline

#9 2016-03-19 04:39:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,706
Website

Re: Error: xauth: timeout in locking authority file /home/...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB