远程桌面连接问题

远程桌面连接问题

我在通过 ssh 隧道远程连接我的桌​​面时遇到了问题。

主机和客户机都是 Ubuntu 14.04。SSH 正在运行,高编号备用端口。X 转发有效。

我按照指示在这篇文章中设置 vino 服务器并使用 remmina。启动 remmina 连接时,它会挂起。最后我不得不取消。在远程主机上,连接的条目/var/log/auth.log如下:

Nov 18 08:54:49 Bear systemd-logind[31920]: New session 13 of user patton.
Nov 18 08:54:50 Bear sshd[12394]: error: connect_to bear.ddns.net port 5900: failed.
Nov 18 08:55:54 Bear sshd[12394]: channel_by_id: 0: bad id: channel free
Nov 18 08:55:54 Bear sshd[12394]: Disconnecting: Received ieof for nonexistent channel 0.
Nov 18 08:55:54 Bear sshd[12356]: pam_unix(sshd:session): session closed for user patton

有任何故障排除建议吗?我怎样才能让它工作?

编辑:根据 Letizia 的问题,关闭并重新启动远程主机上的 vino-server:这是输出:

(vino-server:19903): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion 'global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed
19/11/2014 12:53:26 AM Autoprobing TCP port in (all) network interface
19/11/2014 12:53:26 AM Listening IPv6://[::]:5900
19/11/2014 12:53:26 AM Listening IPv4://0.0.0.0:5900
19/11/2014 12:53:26 AM Autoprobing selected port 5900
19/11/2014 12:53:26 AM Advertising security type: 'TLS' (18)
19/11/2014 12:53:26 AM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
19/11/2014 12:53:26 AM Listening IPv6://[::]:5900
19/11/2014 12:53:26 AM Listening IPv4://0.0.0.0:5900
19/11/2014 12:53:26 AM Clearing securityTypes
19/11/2014 12:53:26 AM Advertising security type: 'TLS' (18)
19/11/2014 12:53:26 AM Clearing securityTypes
19/11/2014 12:53:26 AM Advertising security type: 'TLS' (18)
19/11/2014 12:53:26 AM Advertising authentication type: 'No Authentication' (1)
19/11/2014 12:53:26 AM Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface
19/11/2014 12:53:26 AM Listening IPv6://[::]:5900
19/11/2014 12:53:26 AM Listening IPv4://0.0.0.0:5900
19/11/2014 12:53:26 AM Clearing securityTypes
19/11/2014 12:53:26 AM Clearing authTypes
19/11/2014 12:53:26 AM Advertising security type: 'TLS' (18)
19/11/2014 12:53:26 AM Advertising authentication type: 'VNC Authentication' (2)

答案1

解决了

链接的帖子没有提到这一点,我也没有想到在 Remmina 的 SSH 选项卡上选中“通过环回地址建立隧道”框。最后成功了。速度慢得可悲,但成功了。谢谢你的想法。

相关内容