代码改变世界

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

2020-04-16 00:26  jetwill  阅读(5985)  评论(0编辑  收藏  举报

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

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

解决:

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