Tuesday, January 25, 2022

Connect to remote desktop on windows from linux

To connect to windows remote desktop from linux, there are many tools. But the 2 tools that I used the most are rdesktop and freerdp. 

To install rdesktop
$ sudo apt install rdesktop -y

To use rdesktop to connect to a windows machine with an ip of 10.10.10.10
$ rdesktop 10.10.10.10

To specify username, we can use -u flag
$ rdesktop -u administrator 10.10.10.10

Sometimes rdesktop unable to connect to newer that windows 2012. We can use xfreerdp for that. To install xfreerdp
$ sudo apt install freerdp2-x11 -y

To use xfreerdp to connect to windows server at 10.10.10.10
$ xfreerdp /v:10.10.10.10

To specify username, we can use /u flag
$ xfreerdp /u:administrator /v:10.10.10.10

No comments:

Post a Comment