I am trying to use Remote Desktop connection on Linux. After some research, it seems that xfreerdp can do what I need. The basic usage example provided by that tool is:

xfreerdp /u:CONTOSO\\JohnDoe /p:Pwd123! /v:rdp.contoso.com

Some comments:

  • /u corresponds to User name: in picture 1
  • /v corresponds to Server name: in picture 2

I also need to enter a Computer name: (see picture 1). How could xfreerdp take this into account?

enter image description here enter image description here

I am ok with using another tool other than xfreerdp if it can accomplish this as well.

  • Related - unix.stackexchange.com/questions/140047/…. – slm Jul 6 '18 at 17:37
  • /v: corresponds to Computer on Pic1. Pic2 is about RD Gateway which is another story, you hardly need it unless you know you do – Tagwint Jul 6 '18 at 18:07
  • Could you provide a command I can use that takes into account the "Computer:", "User name:" and "Server name:" fields shown the pictures? @Tagwint – nathanesau Jul 6 '18 at 19:02
  • Here it is xfreerdp +clipboard /size:1920x1145 /u:'john.doe@fun.com' /p:'SuperSecurePwd!' /v:rdp.fun.com -grab-keyboard No need of specifiyn Server name in my case. Are you sure you need it in yours? – Tagwint Jul 9 '18 at 8:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.