用R或ferret画图时报错,X11 connection rejected because of wrong authentication。
一开始发现 .Xauthority 文件为空,且不可写,发现是quota满了,删一些文件后确保quota足够。
sudo chown root:root .Xauthority
输入account密码
提示 #username is not in the sudoers file. This incident will be reported.
然后退出账户和服务器,重新登入账户和服务器
就可以了。