ssh X连接

服务器端
/etc/ssh/ssh_config

AllowTcpForwarding yes
X11Forwarding yes
XAuthLocation /usr/bin/xauth
X11DisplayOffset 10
X11UseLocalhost yes

客户端
~/.ssh/config
XAuthLocation /opt/X11/bin/xauth

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注