X11无法显示的问题 先删除~/.Xauthority ,然后 cd /etc/ssh/sshd_config 修改如下 1 2 3X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes 然后 systemctl restart sshd