Maybe with Xpra you could do something like that
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
VNC? You have your choice of servers, and clients are ubiquitous.
A big gotcha is that you need to be careful with encryption/security, as in classic UNIX style VNC does one thing (remote desktops). It's easy to forward over ssh though.
You can also use VNC to share, which is not what you want; this depends on the type of server/settings. But you can definitely create a new virtual X11 session and access it remotely.
I think xvnc does this with vnc. If using gnome start gnome-remote-desktop with systemctl --user start gnome-remote-desktop then use grdctl to set it up (or the settings gui). I've had luck with rdp on a Wayland session this way.
Xrdp won't work if there is already an active user session locally with the same user account that is trying to connect remotely.
Some ideas for the future
Xrdp fail… plain and simple…
Xrdp usually works fine, you should try to find any specific error messages or logs. Xrdp also runs a service so you could also see if the service itself is running or what it's status is (systemctl status xrdp).
For me Xrdp did fail when I initially tried to run it. I don't remember the exact error being produced but there was something wrong with the port number xrdp wanted to use.. in the end I had to stop the service, edit /etc/xrdp/xrdp.ini and set the port to a specific port number without using vsock. xrdp by default was set to use vsock ports which wasn't working for for me.
Sounds like you want something like X11 forwarding. I have never used it, but I believe it is proper remote desktop, not sharing.