I log in via ssh -Y to a remote host from my ubuntu PC with IP-address 192.168.2.137.
On the remote host I say "export DISPLAY=127.0.0.1:10.0" and can run applications with gui.
ping 192.168.2.137...