Note the DISPLAY environment variable will be set automatically, and you should not set it yourself on the remote host.Use the SSH client configured with X11 Forwarding above to log in to the Unix server, and it will work with Xming to display the graphics on your PC.See PuTTY SSH client if you don’t have an SSH client installed on your PC.Configure your SSH client program to forward X11 connections (if not done previously).Xming icon will appear at the bottom right of your screen.
![putty and xming putty and xming](https://itfaq.aus.edu/sites/default/files/attachments/faq/434/puttyconfig51.png)
#PUTTY AND XMING INSTALL#
Steps to invoke GUI remotely using xming in Linux: STEP 1: Download and install xming display server. You can verify that your installation by: Creating a terminal window - Type xterm & on the command line.
![putty and xming putty and xming](https://www.cs.swarthmore.edu/oldhelp/putty_setup2.jpg)
#PUTTY AND XMING SOFTWARE#
If you don’t already have an X Server software such as Exceed or X-Win32 installed on your PC, you can follow the procedure outlined here to install Xming and use it with SSH to run graphical applications remotely on a unix server in a secure way. PROBLEM: The application starts but then I get a font error(s). Try to display something like: xclock & (if not present, install it with yum install xorg-x11-apps. Make sure DISPLAY is set to: export DISPLAYlocalhost:10. Check that MIT-MAGIC-COOKIE-1 key has been added with: xauth list. If so, close Xming Make sure that the DNS names and/or IPs are in the C:Program FilesxmingX0.hosts file restart Xming FIX2: If problem is not fixed, restart Xming with the -ac option. From your local Windows, Open ssh remote session on your Linux machine with PuTTY/KiTTY.
![putty and xming putty and xming](https://sites.google.com/site/jonsgoldwiki/_/rsrc/1378899386829/home/use-x-window-system-with-xming/Xlaunch-2.png)
Xming is an X Window server for Microsoft Windows (XP/2003/Vista) freely available at. FIX: Check the Xming log, it probably contains 'Xming.exe: client 4 rejected from IP YOURIP'.
#PUTTY AND XMING HOW TO#
Below are steps on how to install and use Xming.