Right, so it’s probably the x11 interface that allows access to .Xauthority.
x11
.Xauthority
Also, by $HOME I mean the host $HOME.
$HOME