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 (Why am I getting this message from xauth: "timeout in locking authority file /home/<user>/.Xauthority"? -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 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.
rm -rf
. 1) it's dangerous and 2) -f tells it to NOT give you any errors. You probably need those errors.ls -l .Xauthority
says file not found, can you try creating it?touch .Xauthority ; rm .Xauthority
. Possibly you can't write new files?-f
and just-r
and the other option-r
isn't necessary either. You really shoudln't copy paste things from websites without fully understanding what they do. Especially with therm
command.