1. Make sure the SSH daemon on the server (the host running the application you want to run from other locations) is configured to allow X forwarding. This is usually done through the file /etc/ssh/sshd_config. Make sure the "X11Forwarding" line is not commented out (everything after a pound sign - # - is ignored) and that it is set to "yes". This is what it should look like:
Restart the SSHD service to make sure the new settings are applied.
2. From the other machine, simply type ssh -X username@hostname
to open up an SSH connection to the server. The -X flag indicates you want X forwarded too so you can launch GUI applications. Log in and launch the program like you use to. The graphical window should pop up on your local computer as if you were running the application locally (remember - you're not!). Append an ampersand (the "&" character) to the end of the command line to launch the program to get the prompt back and be able to launch other commands on the remote computer. When done, exit the GUI program and type exit
or hit Ctrl+D to log out.