Xming is totally secure when used with SSH and optionally includes an enhanced PuTTY Link SSH client and a portable PuTTY replacement package. Xming installers include executable code, and libraries, only built by Colin Harrison (Project Xming's chief developer).
Mesa with GLX, or Microsoft WGL, provide interactive OpenGL® 2D and 3D network transparent graphics rendering. High performance Windows AIGLX is available for graphics cards that support hardware-accelerated OpenGL.
PuTTY is Project Xming's preferred and integrated X terminal emulator for Microsoft Windows: superseding any requirement for a cumbersome POSIX API compatibility layer and simulated directory mount points.
Xming is cross-compiled on Linux for Microsoft Windows, using MinGW-w64, mostly from canonical X.Org source code with my patches applied. It is kept current and secure with frequent updates from X.Org, XCB, XKB, FreeType, Pthreads-Win32, Mesa, PuTTY and Freedesktop Bugzilla.
Screenshots
Xming -multiwindow mode on Windows 7 with five clients including a remote ParaView. |
XDMCP on one X server and an xlogo X client on another. |
XDMCP on one X server used to access a remote Raspberry Pi and a few clients on another. |
Releases
Website Releases | Version | State/Notes | Released | MD5 signatures | Size MB |
---|---|---|---|---|---|
Xming Xming-x64 |
7.5.0.78 | Website Release | 11 Apr 2014 | MD5 signatures | 4.59 4.87 |
Xming-portablePuTTY Xming-portablePuTTY-x64 |
7.5.0.79 | Website Release | 21 Apr 2014 | MD5 signatures | 1.70 1.78 |
See Donations for how to obtain a Donor Password. |
Public Domain Releases | Version | State/Notes | Released | MD5 signature | Size MB |
---|---|---|---|---|---|
Xming-fonts | 7.5.0.70 | Public Domain | 30 Aug 2013 | df9b9d54e1a8cb291dcb4a8bc87fca23 | 30.8 |
Xming Xming-mesa |
6.9.0.31 | Public Domain | 4 May 2007 | 4cd12b9bec0ae19b95584650bbaf534a e580debbf6110cfc4d8fcd20beb541c1 | 2.10 2.50 |
Website Snapshots | Version | State/Notes | Snapshot | MD5 signature | Size MB |
---|---|---|---|---|---|
Snapshot Xming Snapshot Xming-x64 |
7.5.0.79 | Work in progress | 2 May 2014 12:58 | Not yet released | 4.65 4.92 |
See Donations for how to obtain a Donor Password. |
Windows installers
Xming installers make it child's play to quickly install project components, interactively, with a few mouse clicks. They also install/uninstall, silently, using command line parameters.Installers are for Windows 8/7/Vista/XP (+ server 2012/2008/2003).
Xming
Optional extras are the PuTTY Link for Xming SSH client, XLaunch wizard, Tools and clients and GLX test clients. At least 14.6MB of free disk space is required. The x64 version is specific for 64-bit Windows x64. Note: use 32-bit Xming on Itanium/ia64.Don't install anywhere other than the default directory unless you really know what you are doing and install using right-click 'Run as administrator' if necessary.
OpenGL support is now provided by all Xming installers (Xming used to have separate builds and installers; with and without Mesa).
If you intend to use PuTTY: make sure you pick the correct PuTTY Link SSH client (Plink) for use with Xming-portablePuTTY or original PuTTY i.e. there are two different Plink(s) in an Xming installer.
The Xming executable has an absolute minimum of fonts; the so-called built-ins. X clients usually need extra fonts to supplement these...
Xming-fonts
This additional installer provides standard core X fonts (which are usually required) and optional extended Bitstream Vera replacement fonts from DejaVue. At least 19.8MB of free disk space is required (for the default selection of fonts). Note: one Xming-fonts installer is common for both 32-bit and 64-bit Xming.You should install Xming-fonts in the same directory you installed Xming. For an x64 (native 64-bit) installation on 64-bit Windows (x64) this defaults to...
C:\Program Files\Xming (also the default install directory on 32-bit Windows)and for a native 32-bit WoW64 installation on 64-bit Windows (x64 or ia64) defaults to...
C:\Program Files (x86)\XmingI separated these fonts from Xming installers, above, since they have a high installed footprint, don't change very often and modern X applications use client-side fonts instead via fontconfig. Xming-fonts are however needed by traditional X applications e.g. emacs. Since these standard X Window fonts tend to be ugly, you could use better TrueType fonts from your Microsoft system like this.
Instead of installing Xming-fonts, to provide core X fonts, you could use an X font server on your network.
Xming-portablePuTTY
This optional installer provides a fully portable replacement for PuTTY. At least 3.5MB of free disk space is required. You should not install portablePuTTY in the same directory you installed Xming: it is completely autonomous. The x64 version is specific for 64-bit Windows x64.Xming-portablePuTTY works without requiring access to the Windows registry. The portable Plink executable incorporates the changes for the PuTTY Link for Xming SSH client.
Using Xming
Adept operating systems have X11 Network Transparency, why not Microsoft Windows? | ||
What can you use Xming for?
All the normal X Window Server functions and some you might not have thought of- Extend the magic of X11 Network Transparency to the ubiquitous Microsoft Desktop.
- Enable your Windows and Unix/Linux machines to integrate as a heterogeneous PRIVATE Cloud by using Xming, PuTTY and Samba.
- Use your Microsoft computer as a thin client terminal to remote Unix/Linux machines .
- Headless a Unix/Linux machine by removing its keyboard, mouse, monitor and maybe even its graphics card. Execute commands via PuTTY terminals, and display via Xming, over your network.
- Window's drivers are often faster and more capable than Linux drivers for hardware-accelerated OpenGL enabled graphics cards. Xming can exploit the capabilities of an OpenGL enabled device, on a Windows machine, by use of its -wgl option.
- You can display remote X clients directly on the Windows Desktop without running a remote Display Manager and so free up the resources used by that DM.
- Remote control your Raspberry Pi from Windows. Here is an example XLaunch file to display Midori for Raspbian wheezy using PuTTY/Plink.
- Extend server-side X fonts to include any TrueType fonts on your Windows machine. These high quality fonts can be accessed, in situ, and added to the X server font list.
- Use Xming with portablePuTTY as a pocket X server by copying both to a USB flash drive etc. Once made portable; no installed software or access to the Windows registry is needed.
- Old slow redundant Windows machines can be easily re-cycled into slick Linux machines and then accessed with Xming from your latest Windows computer. You will then get the best of both worlds, each with its own separate system architecture, security and philosophy. Xming elegantly and efficiently provides input control and graphical display for software that is running on the remote system.
- Use SSH and X-Forwarding in -multiwindow mode, instead of VNC, to reclaim precious resources (including desktop space) and facilitate cut-and-paste between windows.
- You can run Xming on multiple monitors in many ways, e.g. if you have two monitors on a Windows machine, you could put the full remote Unix/Linux session on the second monitor using
>Xming -query <IP address of remote host> -nodecoration -screen 0 @2 -clipboard
Xinerama could be used to create one large virtual display, e.g. with two monitors>Xming -query <IP address of remote host> -nodecoration -screen 0 @1 -screen 1 @2 +xinerama -clipboard
Manuals
This documentation is constantly being updated and may be incorrect for old versions. Don't be put off, there needs to be a lot of it to cover the many uses for the X protocol, but for most users Xming installs quickly and can be started, by the XLaunch wizard, in just a few seconds.Xming Manual. This doesn't contain any X server commands. You can view all the applicable X server commands for Xming with -help or run this XLaunch file. These online X.Org Manual pages also give more detail on generic X server and X client options. Note: not all general options are logical for Windows or honoured by Xming.
Manuals are also available for XLaunch, Xmingrc, portablePuTTY, PuTTY, Xmon, the Run utility and command line use of Xming's install and uninstall programs. All Tools and clients also have Xming manuals.
I also have a Recipe for setting up a headless Raspberry Pi and remote controlling it with PuTTY and Xming.
Getting started
Use XLaunch -find if all you want is to login to a remote machine and interact with its Display Manager via Microsoft Windows (using XDMCP).This is an elegant way to use an xserver but XDMCP mode is not very secure. It is safer to work via X-Forwarding and the SSH protocol, e.g. using PuTTY, on shared networks. Getting started with PuTTY X-Forwarding is described below and in more detail here.
A good tip: get PuTTY working first with Pageant, and use Saved Sessions, before using Xming/XLaunch. Those Saved Sessions should only use the SSH-2 protocol, 'Enable X11 forwarding' and for the following example set 'X display location' to 'localhost:0'.
To simply start Xming in -multiwindow mode from Command Processor (the Windows cmd console)
>"C:\Program Files\Xming\Xming.exe" -multiwindow -clipboard If you now need a Command Processor: run it from Xming's notification area icon menu. Many useful variables will then be inherited e.g. %CD% and %DISPLAY%This gives you a multiwindow/multimonitors X server on display-number 0 (the default), with an integrated Windows window manager. Note...
- You cannot run two X servers with the same display-number; use the :display-number option if you want multiple instances.
- On recent Windows versions: in order to easily use Xming's notification area icon(s) you should set 'Show icon and notifications', for the Xming X Server icon.
- just type 'firefox' on a PuTTY terminal connected to a remote machine
- or from a Command Processor use PuTTY's Plink tool one of two ways...
>plink -ssh -2 -X <user@remote-host> firefox either, with user@remote-host >plink -load <session-name> firefox or, with a PuTTY Saved Session name.
The XLaunch wizard
XLaunch is a wizard for simplifying the startup of an Xming X server. Its re-usable XML configuration files also act as mini-session managers. One X client can be selected for concurrent display from a local or remote machine. When remote, the X client is accessed securely via PuTTY or SSH.Remote login using XDMCP is also provided as well as a host finder and chooser via the -find command and XPing button...
Also use XLaunch to just simply start the X server and then run several X clients later by hand, or from Xmingrc menu entries.
Example .xlaunch configuration files for a remote xterm via PuTTY and a remote login via XDMCP.
Using the wizard to get a remote wireshark via PuTTY in -multiwindow mode...
You can select the windowing mode, the way sessions are started and save the configuration for later reuse. An XLaunch configuration file can be just clicked to rerun saved settings without having to go through the wizard pages. Also automatic validation of configuration files against the XLaunch XML Schema Definition is selectable when starting the wizard. Additionally, automatic display-number (i.e. X server) allocation is provided.
Help is available for each XLaunch page via the 'Help' button, or F1, and from these links...
Display settings Session type Start program XDMCP settings Additional parameters Finish configuration Host Finder
Xmingrc and the X icon menu
You can configure the X toolbar icon menu (i.e. the right-click menu on Xming's notification area icon), Windows icons, styles and system menus (i.e. the right-click menu on a Window's title bar) using an Xmingrc file. Additionally, on the icon menu, a Host Finder is provided for listing, choosing and then accessing any responding XDMCP hosts on your network, as well as a log file viewer. I use this Xmingrc file to open X Window clients (singly or combined in session files), PuTTY and Command Processor terminals, and to control access to the X server.Remote Unix/Linux (and local Windows) programs can be run from Xmingrc menu items. Use of Plink is recommended when starting remote programs.
Xmingrc is a structured text file, so to avoid errors, study the installed default Xmingrc file (plus my Xmingrc file: see screenshots below).
Tools and clients
Many X.Org tools and clients have been ported to Microsoft Windows console (Windows CUI) applications and built modular using MinGW-w64... xkbcomp is built without a Windows console (Windows GUI), and always installed, as it is used by Xming during X server startup. Also Xmon is sourced here not from X.Org.
These additional tools are also supplied in Xming installers...
- xroot is a CUI tool providing a clickable swatch of root window for use when -rootless to access window manager root menus which otherwise maybe hidden.
- follow is a simple CUI Windows text following tool, like Unix 'tail -f', for monitoring Xming log files.
- font-dirs is a tool used by an Xming installer to create a custom font-dirs file. The executable itself is not installed.
- glxgears and glxinfo (+ seventeen more GLX clients from the canonical Mesa Demos) are available separately via installer component 'GLX test clients'.
>xsetroot -cursor_name left_ptr -fg white -bg black -solid SteelBlue >setxkbmap de -model pc105 >xkbcomp -a :0 %TEMP%/desc.xkb Output the keyboard source, including comments. >xkill -frame Use in -multiwindow mode to select a client to close. >xroot -geometry 50x50+500+50 -color SteelBlue Useful with -rootless and some window managers.An example of the interactive X protocol monitor, Xmon, being used on Windows 7
>xmonui | xmond Xmonui graphics front-end piped to an xmond console providing trace, for display 1 clients, while an X server is running display 0.
Using PuTTY with Xming is highly recommended as it provides SSH for Windows (typically used to log into remote Unix/Linux machines and execute commands) and Plink is especially useful...
PuTTY Link for Xming SSH client
PuTTY Link (Plink) is a command line connection tool, similar to Unix/Linux ssh, that is used for automating secure remote operations from XLaunch and Xmingrc.The Xming Plink SSH client is made with MinGW-w64 from patched PuTTY code. These modifications substitute Windows prompts for many console ones because XLaunch and Xmingrc are built console free (GUI) and so stdout/stderr messages are hidden when Plink is spawned from them. Use as a replacement for Plink in 'standard' PuTTY (i.e. installers or binaries downloaded from Simon Tatham's website). Note: Xming-portablePuTTY's Plink incorporates the same changes but is not compatible with 'standard' PuTTY (there is a choice of two different Plink(s) in an Xming installer).
An example using Plink in a .js file to display a remote xterm.
The Run utility
The Run utility is an autonomous tool used to start Windows applications with a hidden attached console command window. This is the Manual for run. Its 32-bit binary, 64-bit binary and source code are supplied separately from Project Xming; and licensed GPLv2.Here is an example Desktop Shortcut using run and Plink to display a remote konsole.
Donations
Without updating equipment my Xming development can't continue or advance, hence this hardware funding initiative...Note: PayPal's site needs cookies enabled and the T&Cs below apply.
By donating you will get a Donor Password sent by email, enabling access to Xming Website Releases and Development Snapshots for private individuals. This will be sent to the email address in the PayPal payment history; so please make sure it works and that you are not blocking my ISP's mailservers (zen.co.uk e.g. smarthost01.mail.zen.net.uk). If you have contributed in other ways (e.g. code or patches), or not received your password: contact me. Also if you can't use PayPal, again contact me by email (colin<dot>harrison<at>virgin<dot>net) for alternatives. The suggested PayPal donation is £10 since less has a high percentage loss due to transfer charges. Note: You don't need a PayPal account to use PayPal from the button above, but the link does need cookies enabled.
I greatly appreciate contributions towards improving Xming's development and hosting resources. Plus, if you found Xming useful, a little thanks gives me the motivation to make it even better.
Xming Website Builds include...
- Many Enhancements, Changes and Bugfixes not in the Public Domain Release.
- The latest Website Releases and regularly updated Development Snapshots.
- Modular executables and libraries from X.Org ≥ X11R7.7 plus latest keyboard and locale databases.
- Extra Windows X clients including GLX demonstrators and Xmon.
- Support for dual-stack IP hosts (IPv4 and IPv6).
- Automatic framebuffer resizing when using the -resize option.
- OpenGL enabled rendering via either Mesa or Microsoft WGL (option -wgl provides hardware-accelerated OpenGL for graphics cards that support it).
- XCB ported to Windows without the performance degradation of a Linux API translation layer.
- The XPing XDMCP host finder/chooser integrated into XLaunch also with quick and simple activation from Xmingrc.
- Native 64-bit code installers for Windows x64.
Support
I get so much email that I literally do not have time to answer it all. I regret this, but there's nothing I can do about it. So if you can possibly avoid sending mail to me, I recommend you do so. In particular, support requests are probably better sent to newsgroups, or passed to a local expert if possible. Reports will ALWAYS be ignored by me if your complete Xming log file is not attached, if the report lacks detail and clarity and if you compare Xming with an X server not built directly from X.Org code. If a Plink problem I need the Plink command line used or a copy of your config.xlaunch file and if an Xmingrc problem I need a copy of your Xmingrc file! Tell me, upfront, if you are using virtual machine interfaces between Windows and Linux/Unix installed on the same machine. Failing to follow instructions, or answer questions, will quickly lose any interest in your problem. I do however appreciate well formulated reports and suggestions; but read this website's documentation first before asking a question...I don't reply if the answer is already here.Most issues, outside the scope of the Manuals, can be resolved by consulting the Trouble with Xming? documentation and Terms and Conditions...
Terms and Conditions
This URL links to the Project Xming terms and conditions including details on copyright and licenses with many clarifications. These may change from time to time. It remains your responsibility to check them whenever you access this website or download, install and use any Project Xming software.Table of contents
The Xming website, documentation and images are licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
Microsoft product screen shots: "Used with permission from Microsoft."
Copyright © 2005-2014 Colin Harrison All Rights Reserved