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

If you are encountering delays in entering your linux account and instead notice

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

The Issue is that xauth is trying to open a lock files.

To resolve the issues, first list the file to check whether it exists

% ls -l .Xauthority*
% rm -fr .Xauthority-*

Log off and Log on again.