Revert "XAUTHLOCALHOSTNAME doesn't seem to matter"

This reverts commit 9bac0d42bb6da966bc1f9fe1f0439b6688fe6fe1.