I can connect to my Ubuntu 22.04 computer using Remmina RDP with "Remote Login" enabled when I'm logged in. However, as soon as the target's console is locked, I can no longer connect. Port 3389 is open but it shuts down the connection immediately. As soon as I log in physically I can access it remotely again (until the display lock kicks in).
I can disable the display lock but then anyone can access the display without needing my credentials.
I can change my account to autologin and disable the keysafe but then the computer is accessible all the time.
How do I protect my 22.04 machine while being able to access it remotely using the new "Remote Login" RDP method?