I wish things were as easy as they were with X11. Being able to ssh into a box and “export DISPLAY=192.168.0.7:0.0” then start an app and have it show up locally is just magical.
Yeah, the days of remote displaying unwanted adult content on other computers on university lab for anyone clueless about xhost command, as teenagers do.
Something tells me modern remote access tools that use video codecs are much more performant than SSH + X forwarding when dealing with resolutions and desktop effects we use today.
This still works if X11 is installed on the remote. I have a remote that runs Wayland locally, and I run Wayland in the client machine as well, but I have X11 installed on the remote and X11 forwarding still works, it just opens the remote application in an XWayland window inside the local Wayland session. No biggie
Instead, you should "ssh -x" or "ssh -y" to pull the traffic over the ssh encrypted channel.
The -y option should be used with caution; read the docs.