If you are running a distribution of Linux, it usually comes out of the box to remotely open an application if you run the following:
ssh -X username@server_ip
-X Forwards the X Window to your linux machine
If the above does not work, try to do an xhost + on your linux machine first.
If you are running windows and access your linux server via putty, you will have to download a software called Xming (Free).
Run Xming server and then go to putty, set the following as per the screenshot below:
And then connect normally to your session.
To test, try xclock