track ip addresses, phone numbers, etc

How to handle X11 Forwarding using SSH

Published on 01 January 2008

If you need to use X applications/GUI over a remote SSH connection via PuTTY, this tutorial is for you.

What you need

Configure Xming

Configure PuTTY

Running the X applications from PuTTY

You should see a meaningful value for $DISPLAY

The xterm window should open successfully.

Running X apps as root

This requires a little tweak. Suppose your regular user home directory is /var/home/arul and the root user home directory is /root


If you're not able to open any X apps from the session, you may need to enable X11 SSH Forwarding in the /etc/ssh/ssh_config file.

Last Update: 01 January 2008 [Created on 02 January 2008]

Affiliate Disclosure: Some of the links to products on this blog are affiliate links. It simply means, at no additional cost to you, we’ll earn a commission if you click through and buy any product.