首页 > 技术文章 > Xshell 6 首次连接虚拟机 CentOS 7.6报错:/usr/bin/xauth: file /root/.Xauthority does not exist

chenjo 2020-04-16 00:26 原文

使用 Xshell 6 首次连接虚拟机 CentOS 7.6 出现这样的提示:

/usr/bin/xauth: file /root/.Xauthority does not exist

解决:

只需要退出再次登录即可,系统会自动创建

推荐阅读