Until sometime last night, I had remmina working fine. I could run RDP through an SSH tunnel and all was well.
Then it stopped working. I can get as far as the password dialog for my work machine, but then it just says Cannot connect to RDP server localhost
.
I can't even find any logs that look interesting. I've re-installed remmina, cleared my .remmina
directory, restarted my machine, and even restarted my gateway.
Just to make it really weird, my laptop (which has the same setup -- latest Ubuntu and Remmina) can make the connection just fine. It is even going through the same router, albeit wirelessly.
Any thoughts?
I have no idea why it worked, but I started changing settings one at a time. When I edited the connection properties, I looked on the "advanced" tab and changed the security from "negotiate" to "TLS", and voila, everything works.
Strangely, "negotiate" still works on the laptop, but at least I'm back in business with my bigger monitor :)
This just happened to me, and I found this Stack Overflow answer by Alejandro Sanchez (archived), which resolved the issue. Just run
rm ~/.freerdp/known_hosts
and try again.Apparently this happens when the keys on the tunnel server change. See Launchpad Bug #944040: Cannot connect to RDP if host fingerprint changes.
Update
The first link now points to an answer that was deleted and may not be archived completely. Here's some of the additional info from that link:
This happened to me when I copied my remmina configuration (under
~/.remmina
) from one machine to another. Perhaps the remmina versions were different; changing security did not help but deleting and recreating the connection did.Probably stupid answer, but the problem for me was that I tried connecting through an open Wi-Fi network (unencrypted) and remmina wouldn't allow that. Once I connected to a secure network everything worked as planned again.
It worked for me by changing security to NLA for some unknown reason.
Today had the same problem with remmina 1.4.8, which I installed from flatpak. I tried all solutions, mentioned above, and none of them was working. I have two laptops, and on one remmina was working, but on new laptop with fresh installation it did not work. So only solution, that was working for me, was uninstalling flatpak version and installing deb version 1.4.2. And it works without any issue.
Just to add to itsadok's answer
Had this same issue when trying to RDP into a Windows server. To confirm that the issue is not related to an incorrect password, I tried to SSH into an Ubuntu server and it worked fine.
Here's how I fixed it:
First, we need to delete the
known_host
/known_hosts
/known_hosts2
file that Remmina uses:If you installed Remmina as a snap package then run the command below to delete the
known_host
/known_hosts
/known_hosts2
file:OR
OR
If you installed Remmina as an apt package then run:
Next, fully stop Remmina. To do so open the Remmina app and then run the command below to stop the Reminna process from the command line:
You can then start the Remmina application again, this time everything should work fine.
That's all.
I hope this helps
The problem is with the viewmode=1 setting in the saved conf file. If you resize the window it should refresh and start showing the session. Changing this boolean to 0 will force the window to defaults and it'll refresh on load. The problem is if you resize the window after the session has started, remmina will change this setting back.
It could also be an issue with the certificate verification, To test if this is the problem go to:
Advanced -> check "Ignore certificate"
Be careful, with this check disabled, you may be open to man in the middle attacks. But should be fine connecting on internal networks.
It appears to be a permission problem. Try:
Note: Your
known_hosts2
file location might differ based on your distro.