I got a Raspberry Pi 3 which I got fully running, its running Debian with XFCE desktop. I knew it was possible to use X11 forwarding.
Now, my question, is it possible to start a program with one command? I want to create a desktop entry for my main OS (Ubuntu GNOME) so I can just click it and it will run.
I have to create a .sh file for this..
Is there a way to login and start a program with only ONE command? Let´s say I want to start GIMP.
Usually I do this:
ssh -XC -C -c arcfour,blowfish-cbc username@IP
Then it will open the SSH client for the RPi and ask for a password, then I type this in, and lastly I have to type in ¨Gimp¨ so it starts on my main desktop.
Is there a way I can do all of this with only ONE command? I want to make a desktop entry, but I dont want the terminal everytime to open up and ask for my password to login to the Pi.