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
Related videos on Youtube
Comments
-
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 over 6 yearsOnly testing the port is not enough, I need to test the credentials.
-
JokinAU almost 6 yearsThanks 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