Remotely opening a window/process/application of a Linux Server


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

Gulshan Yashveer Beejan

Gulshan holds a BSc(Hons) Computer Science with Distributed systems from the City University of London. He is currently working at DSOGroup(Mauritius) as a Linux Administrator on SaaS Solutions. More about Gulshan

Leave a Reply

Your email address will not be published. Required fields are marked *