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

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

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
    
Why is RDP not the default choice? –  Capt.Nemo Feb 27 at 17:59
    
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 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

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
up vote 0 down vote accepted

I had to open port 3389 in my Router in order to fix this.

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

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.