I don't understand what can be the reason of an unsuccessful login with rdesktop. After I run the command:

rdesktop -u "user" -p "pwd" ip-address

it shows me the screen of my remote Windows PC with the message "user name or password incorrect" message. After I press the button to retry the login I can see the correct pc name already entered in the corresponding text field. I enter the password and it shows me the error message again. But the password is correct.

The version of rdesktop is 1.8.3

When I connect with remmina there is no such a problem. If you cannot explain why it's so, could you please at least recommend an RDP client that works well from command line.


There can be several reasons generalized by 'invalid credentials' reply it may be Certificate issue, wrong type of authorization etc. I think that exact reason can be found in the log files.

Meanwhile you may want to try xfreerdp app, it is called from command line and will report issues directly in your console, that later may help you in resolving remmina errors too

Sample command will look like

xfreerdp +clipboard /size:1500x900 /u:username@example.com /p:passw0rd /v:hostname.example.com

xfreerdp is a part of freerdp package which is available for many distributions

  • There may be a certificate problem as I was asked to trust one when I connected via xfreerdp, but there wasn't any confirmation request when I tried to connect via rdesktop. – ka3ak Nov 22 '18 at 19:42

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.