How to Change RDP Password ? Not Root Password

Posted June 14, 2019 4.6k views
DigitalOceanUbuntu 18.04

How to change RDP Password if I lost it accidentally?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You should be able to do that by running this command as your root user:

passwd your_rd_user

Change the your_rdp_user part accordingly and you would be prompted to enter your new password.