
Open PuTTY as normal, filling in the IP address or DNS alias name. There are also two settings in PuTTY that need to be changed to make X11 forwarding work. This should automatically pop up and request the required access. You will need to allow the Windows firewall to be modified to allow Xming forwarding to work. Once Xming is installed you are ready to try out X11 forwarding. During installation, you might see a number of options I'd suggest going with the defaults.
#INSTALL X11 FOR MAC OS X PC#
Download Xming to your Windows PC and run the setup. In this example we are using Xming, which is free and downloadable from.

There are many display managers you can use.
#INSTALL X11 FOR MAC OS X FULL#
I'd suggest using the full download package.
#INSTALL X11 FOR MAC OS X INSTALL#
If you don't already have PuTTY, download the PuTTY application from the PuTTY website and install it. On the Windows guest, the first requirement is to install PuTTY, which provides the mechanism to forward the display data between the host (the Linux server) and guest (your Windows machine). To turn off Iptables on a temporary basis, you can use the command: service iptables stop

Iptables' configuration may need to be adjusted if they are. It is also prudent to check that the firewall is not blocking the forwarded requests. As a funny little test, install "xeyes." Use the command: yum -y install xeyes Restart the services by using the command: service sshd restartĪll being well, the sshd service will be fully restarted. Once the config file's modifications have been made to your Linux system, the SSH service will need to be restarted to effect the revised configuration.

The system can also be configured to allow multiple X11 forwarded users, but each user will have to use a separate port range. There are additional options that can be configured for X11 forwarding, but those go beyond the scope of this introductory article. X11 forwarding can be configured on a per user basis. These items allow the traffic to be forwarded over to your computer from the host and also allow forwarding to be used. Locate and uncomment (or add) the following lines: X11Forwarding yes The SSH configuration file is located at /etc/ssh/sshd_config. Other Linux distributions will have a very similar SSH daemon configuration. In this basic example I am using a standard CentOS 6.5 installation with GNOME installed. There are a few minor changes needed on your Linux box to enable X11 forwarding.

X11 forwarding is a mechanism that allows a user to start up remote applications but forward the application display to your local Windows machine. That's all well and good but what about if you need to use some tool that has a GUI? More experienced users know that you can connect to a Linux server quite easily using a variety of SSH (Secure Shell) clients.
