Yup: write down the password when you set up the software and feed it to your “own” RustDesk on your computer.
Although I recently had a case where the password on the remote machine seemed to have changed by its own, but it could be me or the machine owner who did something funny without noticing.
The first one 48 years ago : https://en.wikipedia.org/wiki/1975_Icelandic_women’s_strike
It has apparently become necessary to do it a second time…