1,ubuntu远程连接,ssh -X 10.12.xx.xx,提示:/usr/bin/xauth: /home/xxx/.Xauthority not writable, changes will be ignore
启动eclipse:“sudo eclipse”,提示:
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
...
推测可能是我使用远程链接软件时设置出错,导致出问题。网上有说.Xauthority的权限问题,有说干脆删掉的。试了好像没效果。
后来看到说关机,然后开机,不要直接重启。
怕麻烦,我直接"sudo reboot"
嘿,好了。果然简单吧。
个人推测是重启重置了某些参数,不过还没有去深究
2,ubuntu bash '/bin/sh: Syntax error: "(" unexpected'错误解决
sudo dpkg-reconfigure dash
弹出窗口选择
No或者否
本文解决了 Ubuntu 系统中通过 SSH 远程连接出现的权限问题及 bash '/bin/sh: Syntax error: “(” unexpected' 的错误。通过重新启动和调整配置文件的权限设置来修复这些问题。
641

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



