I've been asked to test from time to time some RDP credentials, and it must be done through a linux server.

Is there any way to test some RDP credentials in command line, without a X11 server ?


xfreerdp is an x11 client. You could try to monitor TCP 3389 if you don't want the required x11 parts.


| improve this answer | |
  • Only testing the port is not enough, I need to test the credentials. – SBO Oct 18 '17 at 14:14
  • Thanks for the info, I just needed to similarly test config through firewalls, credentials... so I used your tips and I managed to use it with: xfreerdp /cert-ignore /auth-only /d:microsoft.com /u:bgates /p:Melinda4Ever /v:remotes.microsoft.com /port:3390 – JokinAU Jun 11 '18 at 9:43

Did some tests and research on my side, it can be done with freerdp, with the following command line :

xfreerdp --ignore-certificate --authonly -u user -p pass host
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.