Xming

Xming X Server

Xming is the leading X Window System Server for Microsoft Windows®. It is fully featured, lean, fast, simple to install and because it is standalone native Windows, easily made portable (not needing a machine-specific installation or access to the Windows registry).

Xming is totally secure when used with [WWW]SSH and optionally includes an enhanced Plink SSH client and a portable PuTTY replacement package. Xming installers include executable code, and libraries, only built by me, Colin Harrison (Project Xming's chief developer) + this website is free of adverts, pop-ups and usage tracking of any kind, including cookies, and is hosted on machines only administered by me.

[WWW]Mesa with [WWW]GLX, or [WWW]Microsoft WGL, provide interactive [WWW]OpenGL® 2D and 3D network transparent graphics rendering. High performance Windows [WWW]AIGLX is available for graphics cards that support hardware-accelerated OpenGL.

[WWW]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 [WWW]MinGW-w64, mostly from canonical [WWW]X.Org source code with my patches applied. It is kept current and secure with frequent updates from [WWW]X.Org, [WWW]XCB, [WWW]XKB, [WWW]FreeType, [WWW]PThreads4W, [WWW]Mesa, [WWW]PuTTY and xorg group issues in [WWW]freedesktop gitlab.

Screenshots

   Windows 7 desktop, Xming in -multiwindow mode.
   Xming -multiwindow mode on
   Windows 7 with five clients
   including a remote ParaView.
Windows desktop, Xming in one window mode.
[WWW]XDMCP on one X server
and an xlogo X client on
another.
Windows 7 desktop, two Xming instances.
XDMCP on one X server used
to access a remote Raspberry Pi
and a few clients on another.

Releases

Links and release status
Website Releases VersionState/NotesReleasedMD5 signaturesSize MB
Xming
Xming-x64
7.7.1.9Website Release6 Nov 2024MD5 signatures6.83
7.19
Xming-portablePuTTY
Xming-portablePuTTY-x64
7.7.0.69Website Release2 Aug 2021MD5 signatures2.95
3.05
See Donations for how to obtain a Donor Password.
Public Domain Releases VersionState/NotesReleasedMD5 signatureSize MB
Xming-fonts 7.7.0.10Public Domain9 Aug 2016ed1a0ab53688615bfec88ab399ae547031.1
Xming
Xming-mesa
6.9.0.31Public Domain4 May 20074cd12b9bec0ae19b95584650bbaf534a
e580debbf6110cfc4d8fcd20beb541c1
2.10
2.50
Website Snapshots VersionState/NotesSnapshotMD5 signatureSize MB
Snapshot Xming
Snapshot Xming-x64
7.7.1.10Work in progress26 Nov 2024 08:24Not yet released6.83
7.19
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.

        The 64-bit Xming installer for Windows x64.                      Xming installer components, and disk size requirements.                      Xming-fonts installer components, and disk size requirements.

Installers are for all Microsoft Windows editions no older than Windows 7 sp1 or Windows Server 2008 R2 sp1.
Safety note: make sure you put an installer in an empty directory (or in one containing only other Project Xming installer files) before running it to avoid the possibility of a rogue file 'hijack'. It is also wise to check the MD5 signatures of installers (I list a range of better checksums, than md5sum, for the installers in the download directory).

Xming

Optional extras are the Plink for Xming SSH client, XLaunch wizard, Tools and clients and GLX test clients. At least 24.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 [WWW]Mesa).

If you intend to use PuTTY: make sure you pick the correct Plink SSH client for use with Xming-portablePuTTY or [WWW]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 [WWW]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 [WWW]WoW64 installation on 64-bit Windows (x64 or ia64) defaults to...
C:\Program Files (x86)\Xming
If you have installed both 32 and 64-bit Xming, on 64-bit Windows, you will need Xming-fonts in both the directories above i.e. sub-directory 'fonts' and contents.

I 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 [WWW]PuTTY. At least 6.4MB 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.

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.

Xming-portablePuTTY works without requiring access to the Windows registry. The portable Plink executable incorporates the changes for the Plink for Xming SSH client.

Using Xming

Note this website convention: Window = X Window    Windows = Microsoft Windows®

What can you use Xming for?

All the normal [WWW]X Window Server functions and some you might not have thought of

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 [WWW]X.Org Manual pages also give more detail on [WWW]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 [WWW]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/Xmingrc/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 Prompt (the Windows cmd console)

>"C:\Program Files\Xming\Xming.exe" -multiwindow -clipboard
 If you now need a Command Prompt: 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 could now run, for example, firefox on a remote machine like this (Xming will 'serve' control and display locally)... XLaunch makes using Xming with PuTTY's Plink and generic Windows ssh clients easy...

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 [WWW]PuTTY or [WWW]SSH.

Remote login using [WWW]XDMCP is also provided as well as a host finder and chooser via the -find command and XPing button...

      XDMCP hosts can be simply found and connected via -find XDMCP hosts can be chosen interactively

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...

      Display settings, display 2 will be run in -multiwindow mode. Session type, start Xming and run one program. Start xcalc remotely, no password is needed if Pageant is in use. Additional parameters, enabling the clipboard is always sensible. Save to re-run without this wizard. Finish and enjoy!

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.

It is also possible to not hide the root window (Note: you may lose control of your desktop it you don't 'Hide Root Window') and disable the 'X11 PRIMARY Selection' (the highlighted text copying mechanism with X clients).

I use this Xmingrc file to open X Window clients (singly or combined in session files), PuTTY and Command Prompt terminals, and to control access to the X server.

Remote Linux/Unix (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).

        Custom X toolbar icon menu.            Custom X toolbar icon menu.

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...
appres atobm bitmap bmtoa cxpm editres ico listres
mkfontscale oclock setxkbmap sxpm twm viewres xauth xcalc
xclipboard xclock xcutsel xdpyinfo xev xeyes xfontsel xhost
xkbcomp xkill xlogo xlsatoms xlsclients xlsfonts xmessage xmodmap
Xmon xprop xrandr xrdb xset xsetroot xwininfo
Use the links in the table above to view Xming manuals for each entry. Note: 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...

Examples, from Command Prompt
>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.
        Xmon interactive X protocol monitor

Using PuTTY with Xming is highly recommended as it provides SSH for Windows (typically used to log into remote Linux/Unix machines and execute commands) and Plink is especially useful...

Plink for Xming SSH client

Plink is a command line connection tool, similar to Linux/Unix ssh, that is used for automating secure remote operations from XLaunch and Xmingrc.

The Xming Plink [WWW]SSH client is made with MinGW-w64 from patched [WWW]PuTTY code. These modifications substitute Windows prompts for many console ones because XLaunch and Xming 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 [WWW]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

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. Without updating equipment my Xming development can't continue or advance, hence this hardware funding initiative...

If the button is faultily not setting £10 (GBP), email me and I'll setup a PayPal money request instead or just send £10 to my PayPal account. Note: you don't need a PayPal account to use the donation button and can pay with a credit/debit card.

By donating a minimum of £10 (GBP) you will get a Donor Password, sent by email, enabling download access to Xming Website Releases and Development Snapshots, for one year, and permission to use Xming Website Releases as a private individual. If you can't donate money for legal reasons just send £10 to my PayPal account or email me for alternatives. My email address and PayPal account are the same: colin@xming.myzen.co.uk

See Terms and Conditions for license purchasing.

Xming Website Builds include... I have actively contributed to the X.Org Foundation's open source implementation of the X Window System for many years. Other projects also benefit from Xming developments. These are freely available for their use when correctly cited in accordance with Creative Commons License conditions.

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, or starting Xming over RDP. 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's Ts&Cs including details on copyright, licensing, donations and purchases with many clarifications.

Ts&Cs 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

  1. Screenshots
  2. Releases
    1. Links and release status
  3. Windows installers
    1. Xming
    2. Xming-fonts
    3. Xming-portablePuTTY
  4. Using Xming
    1. What can you use Xming for?
    2. Manuals
    3. Getting started
    4. The XLaunch wizard
    5. Xmingrc and the X icon menu
    6. Tools and clients
    7. Plink for Xming SSH client
    8. The Run utility
  5. Donations
  6. Support
  7. Terms and Conditions
Creative Commons License
The [WWW]Xming website, documentation and images are licensed under a
[WWW]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-2024 Colin Harrison All Rights Reserved