Two upstream issues are at work here to make remoting into an autologin desktop session very difficult:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3547 https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/27 The first issue (the RDP password being reset to a random passphrase when the keyring that holds it is unlocked) is being fixed in an upstream merge request. The second one (the RDP password being held in a keyring which is not unlocked after autologin) is unlikely to be fixed any time soon, if ever. There are numerous reports of the second issue on AskUbuntu/Reddit/etc. The least insecure workaround for it appears to store the RDP password, and the RDP password ONLY, in an unprotected keyring (keyring with no password): https://askubuntu.com/a/1409857 ** Bug watch added: gitlab.gnome.org/GNOME/gnome-control-center/-/issues #3547 https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3547 ** Bug watch added: gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues #27 https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/27 -- You received this bug notification because you are a member of Debcrafters packages, which is subscribed to gnome-remote-desktop in Ubuntu. https://bugs.launchpad.net/bugs/2000063 Title: RDP password is silently reset to a random passphrase if using autologin Status in gnome-control-center package in Ubuntu: Confirmed Bug description: rdp cannot be used in a headless configuration as the saved rdp password is changed. If using manual login then the rdp password remains unchanged. This means that rdp cannot be used remotely. ProblemType: Bug DistroRelease: Ubuntu 22.10 Package: gnome (not installed) ProcVersionSignature: Ubuntu 5.19.0-26.27-generic 5.19.7 Uname: Linux 5.19.0-26-generic x86_64 ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Mon Dec 19 11:56:47 2022 InstallationDate: Installed on 2022-12-15 (3 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) SourcePackage: meta-gnome3 UpgradeStatus: Upgraded to kinetic on 2022-12-18 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/2000063/+subscriptions -- Mailing list: https://launchpad.net/~debcrafters-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~debcrafters-packages More help : https://help.launchpad.net/ListHelp

