Running a command from remote terminal that runs the same as a local terminal?

wrybread

New Member
Joined
Oct 27, 2020
Messages
4
Reaction score
0
Credits
49
I'm working on a system to display a security camera, and trying to debug it on the same computer it runs on is challenging. It would be much easier to be able to run it in a remote terminal.

That works mostly if I run "export DISPLAY=:0" before running my command in the remote terminal window. But it's still not perfect. I can get details if needed, but some windows don't behave exactly as they do when I launch the process locally.

I'm wondering if there's some way to run a command in a remote terminal that's exactly like running it locally?

And is there a way to do the "export DISPLAY=:0" as part of the command I'm running, instead of setting the parameter in a different command?

Thanks for any help!
 

Members online


Top