Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'm using Ubuntu and I'm trying to connect to another machine in a different network using remote desktop.

In Windows7 I have made the following in order to activate remote desktop:

  1. I've gone to computer -> properties -> remote settings
  2. I've selected the option: "Allow connections from computers running any version of Remote Desktop
  3. I've opened "Windows Firewall with Advanced Security"
  4. In inbound rules I've enabled the rules for remote desktop (public and domain)

I have also installed Remmina in the Ubuntu machine.

For configuring it I did the following steps:

  1. Selected the RDP protocol
  2. In the server input I have written the Windows machine public IP.
  3. In username / password I have typed my login credentials (the same as my Windows admin account)

But when I try to connect I get this error message:

"Unable to connect to RDP server 89.130.251.160"

If I ping my Windows7 machine, I have a correct response.

Any suggestions?

share|improve this question
1  
you opened the right ports on the machine and the modem/router?! –  Dr_Bunsen Jun 21 '12 at 12:43
    
Try launching this command from Ubuntu: telnet 89.130.251.160 3389 What do you get as an output? –  konrad Jun 21 '12 at 14:12

5 Answers 5

up vote 47 down vote accepted

Make sure port 3389 is opened on your firewall and router.

In Remmina edit your connection, click the "Advanced" tab and choose RDP under the "Security" option and save.

Remmina Advanced Settings dialog

share|improve this answer
3  
did that, doesn't help –  woohoo Jun 5 '13 at 22:23
1  
Why is RDP not the default choice? –  Abhay Rana Feb 27 '14 at 17:59
4  
This helped me, but I'm confused: Why might a connection work for a while without this change then suddenly require it? –  Sam Jun 17 '14 at 11:20

Just delete the server causing problem from the file ~/.freerdp/known_hosts and it will work.

share|improve this answer
2  
did that, doesn't help –  woohoo Jun 5 '13 at 22:24
    
This worked for me, thanks! –  TimE May 13 at 0:56
    
This worked for me too after a server I'd been connecting too just stopped working! –  Nathan S. Watson-Haigh Aug 12 at 0:53

For me deleting the offending host in ~/.freerdp/known_hosts and changing the Security setting to NLA worked.

RDP used to work, but does not anymore for the Windows 7 machines I work with.

share|improve this answer

I had similar problem when trying to connect a PC running Precise from a laptop running Precise also. Since I had other 2 successful connections one of which was a PC running Windows XP and the other running Lucid. Both used VNC protocol (blue monitors icons) but the one with the problem was set with RDP (flower icon). Just go to the main window of Remina, right-click the connection in question, choose Edit and change protocol to VNC. Hope this will help.

share|improve this answer

I have the same problem. In my case the remote server is wondows2012R2 which was new installed and i connected to it latest when it was windows 2008R2.

In each case i try, i got that error message, so suddenly, i didn't change the Advanced -> Security to RDP and stay on Negotate and it take the new server certificate and connect.

share|improve this answer

protected by Community Apr 5 '13 at 23:33

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.