i've installed freerdp on my ubuntu vps i got it from digital ocean
after few problems regarding the x server problem and freerdp can't work without x server i able to configure it to check the credintal of rdp without x server
this command xfreerdp /cert-ignore +auth-only /v:"iprdp:3389" /u:"username" /p:"password"
and it works good now all i want is how to detect rdp ram with only command line like this without x-server or any idea like this to remotely know rdp ram please notice that rdp i try to connect to is windows server 2012 r2 and some rdps like that upto windows server 2019