How to test RDP credentials in command line without X server installed?

8,214

Solution 1

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

https://support.microsoft.com/en-us/help/187628/using-telnet-to-test-port-3389-functionality

Solution 2

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
Share:
8,214

Related videos on Youtube

SBO
Author by

SBO

Zabbix Expert, open source lover, Linux user.

Updated on September 18, 2022

Comments

  • SBO
    SBO over 1 year

    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 ?

  • SBO
    SBO over 6 years
    Only testing the port is not enough, I need to test the credentials.
  • JokinAU
    JokinAU almost 6 years
    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