默认情况下archlinu是不允许x11 forwarding的,修改/etc/ssh/sshd_config

1
2
3
4
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes