Ubuntu 22.04 RDP Issue
Emily Wong
When attempting to use remote desktop from a Windows 10 (21H2 19044.1566) box to an Ubuntu 22.04 LTS (fully patched), I receive the following error:
An authentication error has occurred. The token supplied to the function is invalid.
Remote computer: {Computer name}
This is when attempting to RDP with an AD domain user, which I can confirm logs in successfully locally.
62 Answers
Verify the password in Settings->Share->Remote Desktop in Authentification section, maybe it's not the same as the one you use to connect in SSH or locally
2Unsecuring the "Login" Keyring, as described in this answer has solved the issue for me.
Password and Keys application -> Right-click on Login keyring -> change the password to blank. This adds a security vulnerability but might be acceptable in some setups.