How to access gui apps. on a remote server using ssh
If you would like to access gui applications such as firefox, gnome-terminal or anything else on a remote server, try the following command.
ssh -C -X user@host gui_command
Replace the user, host and gui_command with the appropriate information.
Example
$ssh -C -X john@231.32.23.34 gnome-terminal