|
Softpanorama |
May the source be with you, but remember the KISS principle ;-)
Softpanorama Search
|
| News | Recommended Links | X Window System | Cygwin/X | Using Apache 1.3 with Cygwin | |||
| Hummingbird Exceed |
SFU |
VNC | Teraterm | Putty | Humor | Etc |
Xming is the leading free X Window Server for Microsoft Windows (XP/2003/Vista). Unlike Cygwin/X it does not depend on the Cygwin environment. It is fully featured, small and fast because it is standalone native Microsoft Windows application.
Xming is secure when used with SSH and optionally includes an enhanced PuTTY Link SSH client and a portable PuTTY replacement package. Xming can work completely independent of the Window's registry when used with Xming-portablePuTTY. Interactive 3D graphics capability is provided compatible with OpenGL/ GLX.
Xming is cross-compiled on Linux for Microsoft Windows (32-bit x86), using MinGW, mainly from the canonical X.Org source code with patches applied. Public Domain version can be distributed and used without restriction.
| Website Releases | Version | State/Notes | Released | MD5 signatures | Size MB |
|---|---|---|---|---|---|
| Xming (+Mesa) | 7.5.0.4 | Latest release | 19 Apr 2009 | MD5 signatures | 3.39 |
| Xming | 7.4.0.4 | Latest release | 19 Apr 2009 | MD5 signatures | 3.45 |
| Xming-portablePuTTY | 7.4.0.6 | Latest release | 27 Apr 2009 | MD5 signatures | 1.39 |
| Parallel development occurs in both 7.5 and 7.4 series. See Donations for how to obtain a Donor Password. | |||||
| Public Domain Releases | Version | State/Notes | Released | MD5 signature | Size MB |
|---|---|---|---|---|---|
| Xming-fonts | 7.4.0.3 | Latest release | 10 Mar 2009 | 54e15f944a986456f3293ebe84d89a85 | 30.3 |
|
Xming Xming-mesa |
6.9.0.31 | Superseded | 4 May 2007 | 4cd12b9bec0ae19b95584650bbaf534a e580debbf6110cfc4d8fcd20beb541c1 |
2.10 2.50 |
| Xming-portablePuTTY | 7.3.0.26 | Superseded | 3 Oct 2008 | 5b8196d91df4337d8794590bb15b35c1 | 1.50 |
| Xming-tools-and-clients | 6.9.0.28 | Superseded | 23 Mar 2007 | 4b9b2ab58da77898dcd882035fbed11c | 7.41 |
This essential installer includes the XLaunch wizard.
Optional extras include the PuTTY Link for Xming SSH
client and Tools and clients.
If you intend to use PuTTY make sure you correctly pick the PuTTY Link SSH
client (plink), either for use with standard PuTTY or Xming-portablePuTTY
(i.e. there are two different plink's in the installer).
You must associate XLaunch.exe with the .xlaunch file extension (an installer
option, that is enabled by default) to get the X server quickstart feature
(i.e. just one click runs Xming, the way you want, via a saved .xlaunch
configuration file).
Xming uses
Microsoft's OpenGL renderer interface as standard (i.e. unless a Mesa
version). You need the
Mesa libraries or a Mesa version when you have an awkward X client that's
failing to display. Xming Mesa versions usually render most clients that
use OpenGL.
The Xming executable has an absolute minimum of fonts; the so-called built-ins.
X clients usually need extra fonts to supplement these...
| Most operating systems have an X Window Server, why not Microsoft Windows? | ||
>Xming -screen 0 @2 -query <IP of remote machine> -clipboard -nodecoration
On the Xming machine start >esd.exe -tcp -public Note: this is not really secure On the remote Linux/Unix machine $ export ESPEAKER=<IP of Xming PC>PulseAudio is an EsounD replacement, free of cygwin1.dll, that can also be used as a sound server.
Xming Manual. This doesn't contain any X server commands. You could view these with -help or run this XLaunch file. These online X.Org Manual pages also give more detail on server and client options, however they may be out-of-date. Note that not all generic options are logical for Windows or honoured by Xming.
Other manuals are available for XLaunch, Xmingrc, portablePuTTY, Xmon, the Run Utility and command line use of Xming's install and uninstall programs.
To simply start Xming in -multiwindow mode, with no access control, from Command Prompt or Start/Run.../Open:
"C:\Program Files\Xming\Xming.exe" -ac -multiwindow -clipboard Note: -ac is totally unsafe but simplifies server startupThis gives you a rootless X server on display-number :0 (the default), with an integrated Windows window manager, in its easiest to use form. This is as simple as it gets, but is totally unsafe (see Access control), so start the X server without -ac and only use X-Forwarding to display remote clients. Note: you cannot run two X servers with the same display-number; use the :display-number option if you want multiple instances.
If you have installed portablePuTTY or PuTTY, have a configured SSH server on your remote Linux/Unix machine, and have then tested and saved some PuTTY sessions, you could safely display an xterm like this
>Xming :0 -multiwindow -clipboard start Xming Server:0.0, then run >plink -ssh -X -pw <password> <user@host> xterm either, plink using <user@host> >plink -pw <password> -load <sessname> xterm or, plink using a PuTTY saved session <sessname> Note: pre-empt the need for the -pw <password> entries by using PuTTY's pageant key manageror use a Windows SSH client, like Cygwin's OpenSSH, to do the same
>Xming :0 -multiwindow -clipboard start Xming Server:0.0, then run >C:\cygwin\bin\ssh -Y <user@host> xterm ssh using <user@host> (no saved sessions possible) Note: pre-empt getting a password/passphrase entry prompt by using keychain and a Cygwin shellXLaunch makes using Xming with PuTTY's plink and generic Windows ssh clients easy...
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, a
remote login via XDMCP and a
remote xcalc via SSH.
Using the wizard to get a remote xcalc 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. server) allocation is provided for the first twenty instances.
XLaunch Help pages...
Display settings
Session type
Start program
XDMCP settings
Additional parameters
Finish configuration
International versions of XLaunch
| Language | Strings | Released | MD5 signature |
|---|---|---|---|
| Chinese | text | 16 Sep 2007 | 170ded8b1a73c6de249ab649c9a90a76 |
| Czech | text | 25 Oct 2007 | f0f3d8ed7df9c59c70d5dce9296966d5 |
| Deutsches | text | 16 Sep 2007 | aea61e52eb6e3428f36b655993c7a346 |
| Español | text | 16 Sep 2007 | 6a8bfd1f7f14258d1aed79775c2ad4b4 |
| Finnish | text | 16 Sep 2007 | e5a7019bb34d70b476c011c506edd7b6 |
| Français | text | 16 Sep 2007 | 1de51c6d718a05dcb487d0a24420aaf2 |
| Italiano | text | 16 Sep 2007 | a0aa263e36495a14b90809c547cf741e |
| Japanese | text | 27 Nov 2007 | b71ec8ab186a2e7779d6c98a7d72d9cc |
| Korean | text | 15 Nov 2007 | 8d01a7aa7630ff174781f8f20118abf4 |
| Nederlandse | text | 16 Sep 2007 | d8348188a842044f6e3592684b7adfd2 |
| Polish | text | 07 Nov 2007 | b080f196019135d23f883260d6e2504b |
| Russian | text | 16 Sep 2007 | 38c6c74f51b7ceefa24aa7e66ca32b73 |
| Slovenský | text | 16 Sep 2007 | e58bd86935be6738d008f1443fe2ba18 |
| Currently these do not include the XDMCP finder/chooser | |||
Any program (local Microsoft Windows, local or remote X client) can be run from an Xmingrc menu item.
Xmingrc is a structured text file so to avoid errors, try the installed example_Xmingrc file, study my example and read the Xmingrc Manual.
glxgears and glxinfo are supplied separately along with many other GLX and OpenGL test clients for Windows.
Examples, from Command Prompt
>set DISPLAY=localhost:0 >set LANG=en_gb >xsetroot -cursor_name left_ptr -fg white -bg black -solid SteelBlue >setxkbmap de -model pc105Xmon example
>xmonui | xmond Xmonui graphics front-end piped to an xmond console providing trace,
for display 1 clients, while a server is running display 0.
>xclock -display :1
>xcalc -display :1 Monitoring two clients started from separate Command Prompt windows...
These Windows X clients are not the complete X.Org set. Since MinGW does
not provide a POSIX API some clients just can't compile (e.g. xterm), also
a few need client-side fonts or are useless on Windows. Their absence is
not really significant, and most users don't need to install 'Tools and
clients' anyway. Using PuTTY with Xming is however highly recommended as
it provides SSH for Win32, xterm emulation and plink is especially useful...
The Xming plink SSH client is made with MinGW from patched PuTTY code. The modifications substitute Windows prompts for most console ones, which are helpful when used with XLaunch or Xming (both run console free and so console messages are hidden). An original (i.e. PuTTY project supplied) plink works just fine with XLaunch/Xming when no interactive input is required or errors encountered.
Debug XLaunch via plink with this XLaunch file (i.e. a test is triggered by the tags ClientStart="PuTTY" + Program="testplink") and get help by just clicking the plink.exe file. Note: plink is built as a console application, as it runs from the command line and accepts input from stdin.
//Konsole.js - alternative to the Run Utility example provided above
//JavaScript to display a remote konsole without a local Command Prompt
var wshell = new ActiveXObject('WScript.Shell');
wshell.Run('"C:\\Program Files\\Xming\\plink.exe" -load colin konsole --ls',0);
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...
Secure SSH & SSL Server
Secure, Compliant & Scalable File Transfer Solution. Free Eval!
www.IpswitchFT.com/SecureTransferI recently upgraded my Cygwin install and noticed that Cygwin has switched it’s X server
XWin.exefrom the XFree86 codebase to the Xorg codebase. Besides an updated logo, it also has some other side-effects.The first one I noticed is that the xterm now has a menu turned on by default. If this annoys you (like it did me), you can turn it off by adding the following to your
~/.Xdefaults:
XTerm*toolBar: offThe next side-effect I haven’t yet solved. I use the XWin menu to define some links to the servers I look after at work. I use
plink.exe(part of PuTTY) to launch an xterm on the remote host, displayed locally, and usingpagent.exeto do the authentication. For example:MENU DEV_SERVERS { "Content Server" exec "D:/Programs/PuTTY/plink.exe -ssh -X -C -load someserverdef /usr/openwin/bin/xterm -name greenbackground -ls"This used to work, but now nothing happens. Interestingly, the command will work if you execute it directly from a bash shell. If anyone has an idea, I’d be grateful for their help
UPDATE: - 20081217 — Use Xming, maybe
I haven’t yet figured out ssh-agent. However one work-around that I tried earlier and added in the comments was no good: the X clients started in a terminal that is forked off this way don’t come through for some reason, to do with the way the X packets are tunnelled I think. So, I was motivated to try Xming.
Xming is being used quite successfully by my work colleagues who don’t have a whole Cygwin stack on their machines. It’s a lightweight X11 server for Windows, and it even uses Microsoft’s OpenGL apparently. I’ll have to try out some 3D clients from home soon to see what that gets me, but it could be good.
Anyway, for work, it seems to integrate very well with PuTTY. There’s even a stand-alone putty you can download that’s pre-integrated, though it seems to also require the Xming server.
I also found that it’ll serve my local X clients quite well. The most important of these is my emacs, of course. For that to work well, I had to download the extra fonts since emacs uses servers-side fonts. But it works and is indistinguishable from the X11 server that’s built into Cygwin.
I haven’t yet un-installed Cygwin’s X server: I fear it could also remove clients and libraries, and I don’t want the hastle just now of figuring that out.
A final note: It’s menu config file is Xmingrc (no dot), which lives in Window’s HOME %USERPROFILE%. Also, because it’s got no Cygwin dependency, you can’t launch local Cygwin X clients from this menu. At least, not without wrapping them in calls to Cygwin’s run.exe, e.g.
d:\cygwin\bin\run.exe -p /usr/X11R6/bin emacs -display 127.0.0.1:0.0 --debug-init
[PDF]Using Xming
[PDF]Installing Xming
Copyright © 1996-2009 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Disclaimer:
Last modified: November 18, 2009