How do I run a command on a remote PC and make it display the result on its screen instead on the client pc?

GustavoM@lemmy.world to Linux 101 stuff. Questions are encouraged, noobs are welcome!@lemmy.world – 13 points –

Title. Yep, I'm trying to multitask with a Orange pi zero 3 (remotely) without the need of kvm's.

Both client and remote PC's are wayland-related. Trying to connect w/ ssh.

3

AFAIK, Wayland explicitly doesn't do this by design

If you use X you can tunnel it over SSH

Completely misread the question

You want to look into the DISPLAY (or maybe WAYLAND_DISPLAY in your situation, I can't remember off the top of my head) environment variable

Yep, using "WAYLAND_DISPLAY=wayland-1 $command" worked in my case. Thank you very much.