Fix Timeout in locking authority file */.Xauthority

When logging in (via SSH) to one of my systems, it said:

timeout in locking authority file */.Xauthority

When this happens:

  • Make sure the users’ home dir is readable + writeable by the user
  • Make sure the SELinux context is set correctly; this is usually a problem when the users’ home dir is mounted on a non-standard location