I have installed Ubuntu 22.04 on my Laptop and use xRDP to access it from my (Windows) Desktop PC. This works fine as long as I log out my session Locally otherwise I get a black screen. This means I have to log out of my laptop if I want to switch from using it locally to remotely. I'd like to have xRDP share the session with my local session to prevent having to log in and out all the time.
xrdp was installed itself via command line:
sudo apt install xrdp
I've seen some other solutions to this problem but they are for some earlier versions of Ubuntu and I cannot seem to get them to work.