当前位置: 首页>>技术教程>>正文


remmina不再工作“无法连接到RDP服务器本地主机”

,

问题描述

直到昨晚的某个时候,我的remmina才能正常工作。我可以通过SSH隧道运行RDP,一切都很好。

然后它停止工作。我可以看到我的工作机的密码对话框,但是它只显示Cannot connect to RDP server localhost

我什至找不到任何有趣的日志。我有re-installed remmina,清除了.remmina目录,重新启动了计算机,甚至重新启动了网关。

只是让它变得很奇怪,我的笔记本电脑(配置相同-最新的Ubuntu和Remmina)可以使连接正常。它甚至可以通过同一路由器,尽管是无线的。

有什么想法吗?

最佳思路

我不知道它为什么起作用,但是我开始一次更改一个设置。当编辑连接属性时,我在”advanced”选项卡上将安全性从”negotiate”更改为”TLS”,瞧,一切正常。

奇怪的是,”negotiate”仍然可以在笔记本电脑上使用,但至少我要用更大的显示器重新投入业务了:)

次佳思路

这只是发生在我身上,我发现this answer解决了该问题。仅rm ~/.freerdp/known_hosts,然后重试。

显然,当隧道服务器上的密钥更改时,会发生这种情况。参见this bug

UPDATE

现在,第一个链接指向已删除的答案,因此,这里有该链接的一些其他信息:

  • It seems that the “known_hosts” file contains some routing data for each server, that data becomes outdated sometimes, and when Remmina tries to connect using the outdated data, it fails. Deleting the known_hosts file solves this problem. – Erel Segal-Halevi Dec 13 ’12 at 10:06

  • FWIW, my problem had nothing to do with known_hosts (as explained bellow), but everything to do with security settings: see http://www.bauer-power.net/2013/10/unable-to-connect-to-rdp-server-in.html for details. – Tomislav Nakic-Alfirevic Apr 24 ’14 at 10:58

  • Totally worked, I was wondering where the certs were being stored. I had same issue for most part, was using Remmina to RDP to a certain machine, then one day it stopped working (nothing on the remote machine changed). Other RDP connections I had saved still worked, except for this one machine. It did happen to use NLA auth, which seems to be part of the problem with the newest Remmina not saving certs. – Nicholi Apr 26 ’13 at 20:26

  • thanks , it used to connect perfectly then i reformatted the server and it stopped working , deleting the line for this host worked . – Bor691 Jan 15 ’14 at 8:50

  • I need to use two services on same address but different ports and using this repeatedly is the only way I could connect to both. – Gringo Suave Oct 13 ’14 at 18:55

第三种思路

当我将remmina配置(在~/.remmina下)从一台计算机复制到另一台计算机时,这发生在我身上。也许remmina版本是不同的。更改安全性无济于事,但删除并重新创建连接确实可以。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/10616.html,未经允许,请勿转载。