7

I have two laptops, one with windows 10, and another with Ubuntu 18.04.1 (with gnome desktop, the default one)

On the Ubuntu laptop, I installed the ssh server and the xrdp server (enabled xrdp sudo systemctl enable xrdp, opened the firewall sudo ufw allow 3389 , etc.). On the windows laptop I installed winscp.

On the windows laptop, I can use winscp to connect to the Ubuntu laptop. However the windows remote desktop application cannot connect to the Ubuntu laptop.

Any idea on why is this? How can I fix it?

8
  • How do you specify the Ubuntu computer? Use the IP address if the computer-name does not work.
    – harrymc
    Commented Jan 6, 2019 at 20:02
  • have there any error showed on connection try? (both side, linux server and windows client), have you try out with other RDP client like remmina?
    – AtomiX84
    Commented Jan 7, 2019 at 7:53
  • Does it work within the firewall?
    – Joseph
    Commented Jan 8, 2019 at 4:21
  • @harrymc: I already use the IP address Commented Jan 8, 2019 at 7:25
  • Have you done all these configuration settings?
    – harrymc
    Commented Jan 8, 2019 at 7:39

1 Answer 1

3

Log in to the Linux box, open a terminal window.and type

  sudo tcpdump -n -i any src or dst IP.OF.WIN.BOX

Then try rdp and see.if you are getting any packets from the Windows.box. If yoy see packets entering but not leaving you know the problen is in the Linux box.

Check that rdp server is listening on the correct interface by

  telnet ip.of.lin.box 3389

And seeing if you get an rdp banner. If not, you know rdp is not running, or if it is it is not listening on the correct interface or firewalled.

Check that your system is using ufw rather then firewalld or something else. To check the underlying firewall

sudo iptables -vnL

Check input for DEST 3389 tcp and output for new/rstablished/related rule.

2
  • I was sshing and ftping with no problem, but not able to connect via RDP from remmina to Win10. After command sudo tcpdump -n -i any src or dst IP.OF.WIN.BOX I connected via RDP on first attempt. Is this something expected? I would have guessed this command is only for listening, not for enabling anything. Commented Sep 6, 2021 at 13:53
  • @sancho.s.reinstatemonicacelio Correct - that command is only listening for traffic.
    – davidgo
    Commented Oct 15, 2021 at 18:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .