You know that when a service file starts, that systemd starts it as 'root' right? You are confusing me why you would want to use 'sudo' in your exec as root(???)
Also, in Linux, there are hundreds of ways to do the same thing.
OpenSSH server with X forwarding... You just use
Code:
ssh -X myusername@machine_IP commmand_of_app
# for example, for a test
ssh -X mafoelffen@10.0.0.3 xeyes
# See attachment
I use xrdp server allot. It is actively listening all the time. You can only a a user logged in once, so I setup an xrdp user, that way if I am logged in, that I don't have to go to that machine just to log myself out.
Most of the time, honestly, I just use ssh. Unless I am connecting to a VM, with a desktop. Then there is a variety of things I use.