How to resolve the warning message "/usr/bin/xauth: file ~/.Xauthority does not exist".
Issue
Following warning messages shows during login:
/usr/bin/xauth: file /path/to/home/user/.Xauthority does not exist.
Environment
- Red Hat Enterprise Linux 6.
- Red Hat Enterprise Linux 7.
- Red Hat Enterprise Linux 8.
- xauth.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.