Edit the SSH deamon config:
$ sudo nano /etc/ssh/sshd_config
Locate the row containing ” X11Forwarding” and make sure it’s set as yes.
Now restart the SSH deamon:
$ sudo service sshd restart
Then on the device you wish to show another X application on do:
$ ssh -X user@IP
Now run the wanted application by simply run it’s command, like: