Running X window graphical application over ssh session
SSH the server has a feature called X11Forwarding. It specifies whether X11 forwarding is permitted or not. You need to set this parameter to yes. Once this is enabled, you will be able to run a graphical application on the server and get the application display (window) on your desktop.
For example, login on Linux/BSD system called server1-mydomain-com. Open the /etc/ssh/sshd_config file using text editor:
vi /etc/ssh/sshd_config
Find out parameter X11Forwarding and set it to yes:
X11Forwarding yes