Xauth: timeout in lock authority file /home/user /.Xauthority
2
votes
1
answer
8037
views
I ask for your help since I am on linux and when I wanted to log in normally (typing my password) it kept loading indefinitely, and when I open the "console" with the key combination
**(ctrl alt fn f3)** and start session From there everything is fine, but when I want to start with **startx** it gives me the following error:
Xauth: timeout in lock authority file / home / user /. Xauthority
Try to solve it with the first two answers of (https://unix.stackexchange.com/questions/215558/why-am-i-getting-this-message-from-xauth-timeoutin-locking -authority -file-home) but it keeps giving me that error, also check the **/home/user/** folder and seeing the files with the command **ls -l .Xauthority** didn't show me anything, it gave me the error Didn't find the file, and even typing the **rm --rf Xathority** command didn't give me an error, no matter how many times I ran that command, when I rebooted my computer it still didn't work like it hadn't done anything. What I can do? Thanks in advance :) and I hope I have made myself understood.
Update
-----------------
Try to solve it also based on [this question](https://cyberwarzone.com/how-to-fix-timeout-in-locking-authority-file-home-xauthority-2018/) but it also didn't work giving me the same errors from the beginning.
I want to add that I already tried to do this:
rm -fr .Xauth- *
And also this:
rm -fr / home / user / .Xauthority
And neither way gives me an error, so I think if they are removed, but if immediately after typing those commands, I type startx
, it keeps giving me the error of:
Xauth: timeout in lock authority file / home / user /. Xauthority
Second update
---------------------
When I try to end the ssh session it gives me errors that are the same as some people describe in this question (https://qastack.mx/ubuntu/103889/how-do-i-restart-the-ssh-service) , try to fix it with the same answers from that question but it still doesn't work where there are errors at the end of the session.
Asked by DFG
(145 rep)
Oct 24, 2021, 11:03 PM
Last activity: Jan 7, 2025, 05:04 PM
Last activity: Jan 7, 2025, 05:04 PM