Page 1 of 1

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

Posted: 2017/09/18 16:51:54
by acha
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?

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

Posted: 2017/09/18 16:59:35
by TrevorH
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.

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

Posted: 2017/09/18 18:22:36
by acha
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.

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

Posted: 2017/09/18 18:30:18
by TrevorH
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?

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

Posted: 2017/09/20 14:01:34
by acha
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