lots of tech info here

How to handle X11 Forwarding using SSH

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.

Updated on 01 Jan 2008 {Created on 02 Jan 2008}

If you liked this article, follow us on Facebook and Twitter (@aruljohn).

Share this with Others