/usr/bin/X11/xauth: error in locking authority file
If you started your ssh session with the X11 forwarding enabled but with the following message:
/usr/bin/X11/xauth: error in locking authority file ...
There is a chance the .Xauthority in your home-directory has wrong permissions ( should be -rw-------, and owned by you; check with ls -al, solve with chmod/chown ) or that your diskspace for your home directory is full. If this is the case try cleaning up your home directory.
本文介绍了当使用SSH会话并启用X11转发时出现的/usr/bin/X11/xauth: error in locking authority file错误的原因及解决方案。该错误通常由于.Xauthority文件权限不正确或磁盘空间不足引起。检查文件权限(应为-rw-------且由当前用户拥有),使用ls -al查看,并通过chmod/chown命令修正;若磁盘空间已满,则需清理家目录。
1万+

被折叠的 条评论
为什么被折叠?



