【发布时间】:2018-07-07 23:55:06
【问题描述】:
我尝试使用 Windows 10 机器作为客户端和 Ubuntu Linux 机器作为服务器转发 X11。 ssh 在 Cygwin 下运行,其中包含 xinit 和 xorg。步骤:
- 开启 linux 服务器机器。
- 我使用 sshd_config 配置文件在客户端和服务器端都启用了转发。
- 我通过执行以下命令在 Cygwin 中设置显示: 导出显示=r1:0.0 其中 r1 是服务器的名称
- 我在服务器端启用了访问列表: xhost 192.168.1.143
- 使用 ssh 从 Cygwin 连接到服务器。
- 运行 lxterminal 应用程序,但得到:
r1@r1:~$ lxterminal debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from 127.0.0.1 37184 connect r1 port 6000: Connection refused
r1 服务器端口 6000 是否被拒绝?如果是,怎么会?
【问题讨论】:
标签: ubuntu cygwin portforwarding openssh ssh-tunnel