Connect to Windows 10 Pro from a Linux Machine on the same network

Issues related to configuring your network
Post Reply
acha
Posts: 3
Joined: 2017/09/15 15:26:48

Connect to Windows 10 Pro from a Linux Machine on the same network

Post by acha » 2017/09/18 16:51:54

Hi
I cannot seem to connect to a windows 10 pro machine from a linux box. I can ping the windows machine and can connect to it from another windows machine. But rdesktop -u"my_login_name_in_windows" -p my_password 192.168.0.107:3389 returns
ERROR: recv: Connection reset by peer
Any suggestions?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Connect to Windows 10 Pro from a Linux Machine on the same network

Post by TrevorH » 2017/09/18 16:59:35

Make sure you are up to date on CentOS by running yum update. If the kernel or glibc (and some other packages) are updated then reboot to have them take effect. Try again.

Check your windows system Windows Firewall to make sure that the relevant ports are allowed.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

acha
Posts: 3
Joined: 2017/09/15 15:26:48

Re: Connect to Windows 10 Pro from a Linux Machine on the same network

Post by acha » 2017/09/18 18:22:36

Thanks.
Yes, I am up to date on kernel. Also, port 3389 are open because other windows machines inside the network can connect via rdesktop. And I can connect from home to another (different) windows pro machine using 3389 although this too is from another windows machine. So the router must be doing the right thing too. It is just linux --> windows which does not work and gives the erro.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Connect to Windows 10 Pro from a Linux Machine on the same network

Post by TrevorH » 2017/09/18 18:30:18

Ah, sorry, I misread and thought you were trying to access shares on the Windows machine. Windows 10 uses a newer RDP protocol and I don't think rdesktop can connect to them. Does CentOS 6 have freerdp? or remmina? Both of those work but I'm using CentOS 7 which has newer things available for it. I see CentOS 6 has freerdp 1.0.2 which is the same version as I have on el7 so it's worth a shot. Otherwise perhaps there are options on the Windows side to change it to be more backwards compatible?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

acha
Posts: 3
Joined: 2017/09/15 15:26:48

Re: Connect to Windows 10 Pro from a Linux Machine on the same network

Post by acha » 2017/09/20 14:01:34

Trevor - thanks a lot. I did not realize that Win10 has a newer RDP protocol. I tried it with Fedora and it worked fine. Then I got freerdp as you suggested and the command is xfreerdp which works just fine. Problem solved. Arun

Post Reply