Question

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

  • Posted June 8, 2013

Whenever I ssh in to my droplet (puTTY), Ubuntu 12.04 spits out:

/usr/bin/xauth: timeout in locking authority file /home/username/.Xauthority

Does anyone know how I should address this?

Thanks!

Subscribe
Share

Hola Pablo,

Esto tratando de instalar en ubuntu un desktop. Estoy usando puTTY para conectarme a un server con ubuntu 14.04. xauth: timeout in locking authority file /home/ubuntu/.Xauthority I did:

1 ) cd /home/ubuntu mv .Xauthority .Xauthority.old touch .Xauthority SUDO chown machine:machine .Xauthority

  1. cd /home/user ls -a -lh SUDO chown user:user .Xau*

but still no good results, any idea?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Im having the same issue.

My username is bob and I did:

cd /home/bob mv .Xauthority .Xauthority.old touch .Xauthority chown bob:bob .Xauthority

But nothing. Restarted vncserver, same error and now I cant use VNC.

can anybody tells me what does ? ----------- ? ? ? ?selinux means in below output

[oracle@relxmedia01 /]$ ls -lrth total 14G ?--------- ? ? ? ? ? selinux drwxr-xr-x 2 root root 4.0K Feb 17 2010 srv drwxr-xr-x 2 root root 4.0K Feb 17 2010 media drwxr-xr-x 18 root root 4.0K Oct 3 2011 usr drwx------ 2 root root 16K Oct 18 2011 lost+found drwxr-xr-x 3 root root 4.0K Oct 18 2011 tftpboot

can anybody tells me what does ? ----------- ? ? ? ?selinux means in below output

[oracle@relxmedia01 /]$ ls -lrth total 14G ?--------- ? ? ? ? ? selinux drwxr-xr-x 2 root root 4.0K Feb 17 2010 srv drwxr-xr-x 2 root root 4.0K Feb 17 2010 media drwxr-xr-x 18 root root 4.0K Oct 3 2011 usr drwx------ 2 root root 16K Oct 18 2011 lost+found drwxr-xr-x 3 root root 4.0K Oct 18 2011 tftpboot

can anybody tells me what does ? ----------- ? ? ? ?selinux means in below output

[oracle@relxmedia01 /]$ ls -lrth total 14G ?--------- ? ? ? ? ? selinux drwxr-xr-x 2 root root 4.0K Feb 17 2010 srv drwxr-xr-x 2 root root 4.0K Feb 17 2010 media drwxr-xr-x 18 root root 4.0K Oct 3 2011 usr drwx------ 2 root root 16K Oct 18 2011 lost+found drwxr-xr-x 3 root root 4.0K Oct 18 2011 tftpboot

can anybody help me to get what does ?------ ?? ? ? ?selinux means in below [oracle@relxmedia01 /]$ ls -lrth total 14G ?--------- ? ? ? ? ? selinux drwxr-xr-x 2 root root 4.0K Feb 17 2010 srv drwxr-xr-x 2 root root 4.0K Feb 17 2010 media drwxr-xr-x 18 root root 4.0K Oct 3 2011 usr drwx------ 2 root root 16K Oct 18 2011 lost+found drwxr-xr-x 3 root root 4.0K Oct 18 2011 tftpboot

Kamal Nasser had it right the first time, the only thing is that you have to do it from a local console. If you do it whilst ssh-ing in then any Xauth you create during that session will have the same ownership issues.

Tu maquina inicial le hayas puesto #xhost + <br>En tu maquina donde te conectas verifica <br>Que el /etc/selinux/config este como permissive o disable <br>

Awesome!! Really glad to hear that :]

Holy $H!T Kamal; <br> <br>It worked like a charm!!! You’re a genius… or, a really good Googler! (Is that even a word?) <br> <br>In all seriousness, thanks for taking the time to help me out. <br> <br>-Pablo