发新话题
打印

windows 下的 x server——Xming

windows 下的 x server——Xming

来源:点击进入
作者:Ubuntu中文论坛    日期:2007-08-09

http://www.linux.com/feature/118106

Use Linux over Windows with Xming

By Joe 'Zonker' Brockmeier on August 08, 2007 (9:00:00 AM)

One of the nice things about the X Window System is its ability to display X apps running remotely on a local machine. One of the not-so-nice things about Microsoft Windows is the complete lack of native support for displaying X applications. If you find yourself working on Windows but wanting to use Linux apps at the same time, Xming can do the job. Xming is a port of X Window System to Microsoft Windows that's free and easy to use.

Xming is licensed under the GNU General Public License version 2 (GPLv2), and comes packaged as Windows executables with easy-to-use installers. If all you want is an X Window Server -- and not a complete Unix-type environment -- Xming is a better choice than Cygwin/X. It also has the advantage of more active development -- Cygwin/X hasn't been updated since 2004, according to its homepage.

Xming is trivial to install. Head to the Xming project page and find the releases section. You probably want to stick to the stable releases unless there's a feature in the recent development releases that you can't live without. Grab the current Xming, or Xming-mesa, if you have an older client that might need the Mesa renderer instead of OpenGL, and run the setup wizard. It takes a minute or so to run through the install. You'll probably also want to grab the Xming-fonts installer, which installs the core X fonts. After you've installed these packages, you're ready to start running X on Windows.

Getting started

The Xming installation procedure creates a desktop shortcut called XLaunch. Double-click it and you'll see a dialog that lets you choose whether Xming displays programs in multiple windows, a single window, fullscreen, or in a single window without a title bar.

What's with all the options? Depending on what you plan to do, you may want to run several windows on your Windows desktop in order to display several different programs. On the other hand, you might choose to connect to a machine using the X Display Manager Control Protocol (XDMCP) and display an entire desktop on your Windows machine.

If you're going with the multiple programs scenario, choose "Multiple Windows." You can also set the display number at the bottom of the dialog. Leave this as 0 if this is the first connection that you're making, or set to 1 (or 2, or 3, etc.) if you're making multiple X connections. If you forget, you'll get an error when trying to start up a subsequent session.

On the next window, choose the session type. For this type of connection, choose "Start a program," and click Next.

In the next dialog, click "Run Remote" and click the radio button next to "Using PuTTY" and fill out the user and host information. If you don't enter your password here, you'll be prompted for it when Xming connects to the remote system.

Assuming all goes well, you'll get an xterm from the remote system. You can then either work in the xterm or start an X application in the xterm that will be displayed on the local system using Xming.

You can also run something other than an xterm when connecting to the remote system. In the Start program dialog, just enter the name of the program you want to run in place of xterm. It's slightly counterintuitive, because the name of the program appears in a drop-down box and looks like you'd select something from a list rather than type in a free-form name, but you can enter your own program here. I like having an xterm or other terminal program, though, so I can start as many apps as I like.

I've used Xming with stock X applications (like xcalc) and GNOME and KDE apps (like Epiphany, Konqueror, Gnome-terminal, and others) and had no problems running the applications. Other than having the standard Microsoft Windows title bar and such, these apps look just as they would on Linux.

Run an entire desktop

You can also use Xming to turn your Windows machine into a X terminal, more or less. Again, click the XLaunch icon, and this time select "One Window" or "Fullscreen." Next, select "Open session via XDMCP" on the Session type dialog. On the next dialog, you can choose to connect to a specific host, or you can tell Xming to search for XDMCP servers.

The next dialog allows you to specify additional parameters. You probably won't need to give Xming any additional parameters, but if you need to specify a remote font server, this is the dialog to do it in.

Finally, you can save the configuration if you want and reuse it later. Once you click Finish, you should see whatever X login manager is running on the system you're connecting to.

Xming is easy to use and provides an excellent X server for folks who have to run Windows. Since it's free software, it's also much better for the budget than commercial X servers for Windows, and it enjoys fairly frequent releases, so it should be around for some time to come.
清北,追求完美用户体验——品质驱动 诚信导航 服务至上 技术领先
清北服务网站  http://QuickBest.com.cn

TOP

打造一个不带X Server的图形服务器

google关键字:xming 服务器
来源:点击进入
作者:中国Linux公社论坛/mallon    日期:2007-07-19

服务器如果全部是字符界面台老土了,比如我始终觉得即使VI做得再好,复制粘贴也没有图形化的编辑器快啊,呵呵否则Unix几大元老也不会很早就推出工业标准的CDE桌面了,那东东可是和Windows 3.1一个时代的哦!

可是如果要安装配置一个X Server却不是那么容易的,有时候光驱动就得找半天,而且Linux上的Xorg,加上什么GNOME等等,动辄几百兆上G的的尺寸,真不知道里面塞的是什么。我既不鼓吹字符界面经典,也不在花里胡哨桌面下窃喜,对我来说一切就要求快捷、方便、实用。

作为服务器一般是放在机房里的,需要使用的话基本都是通过终端连上去的,比如我们单位的服务器安装的Windows 2003,如果需要使用的话用的都是远程桌面连接。实事求是地说Windows终端服务比起X的设计理念来不知道差多远了,所有图形都是在服务器上处理再传到终端,哪有X把很大部分图形处理放在终端(X Server端)方便,要知道绝大部分终端处理能力还是很不错的,完全可以分摊服务器的负担。

说了这么多废话,下面步入正题

我的目标就是能通过我自己的机器远程连接服务器,并能方便地享受字符界面和图形界面。要使用图形界面,我自己的机器上就必须安装X服务器,Xming是我用过最好的了,历史悠久又开源,还小巧、绿色环保,真是居家旅行,杀人越货之必备。项目主页在sourcefoge里,Google搜一下吧。下载里面有好几个文件,“Xming-x-x-x-xx-setup.exe”是主程序,如果你的机器不支持openGL(现在不大可能了吧),那就装“Xming -mesa-x-x-x-xx-setup.exe”代替。“Xming-fonts-x-x-x-xx-setup.exe”是字体,也装一下。OK, X服务器就装好了,看看目录,才几十兆,比Xorg小多了吧,呵呵

下面还得有个字符界面的终端,选Telnet还是SSH呢?当然是后者,SSH安全就不讲了,它还有个很酷的特性叫“X11 Forwarding”,说白了就是,如果你用这个特性连接服务器,不必作任何设置直接启动任何X程序(比如xclock),程序会自动连你本地的X服务器(当然你本地的X服务器得开着)。PuTTY是个开源的SSH客户端,相当好用,它的便携版在http://portableapps.com里有下载,Xming官方主页上也有,文件名是“Xming-portable-PuTTY-x-x-x-xx-setup.exe”,从这里可以看出 Xming和PuTTY关系有多好!

现在万事俱备,只欠东风了,我准备在虚拟机里安装Debian。我用的是Debian的DVD光盘,前面大堆步骤就不细讲了,到选择组件那步,我把所有选项都去掉了,因为首先在这一步之前Debian已经在硬盘建立了一个最小的系统,其次我是个偏执狂,总希望系统最好没有一点多余的东东。重新启动,在虚拟机里登陆。

下面一步,使用命令“apt-get install openssh-server”安装SSH服务器,使用命令“apt-get install xbase-clients”安装xauth组件。

现在注销,打开Xming,通过PuTTY登陆虚拟机,注意登陆前在SSH-X11选项里把那个“Enable X11 Forwarding”打上钩。为什么现在就使用PuTTY呢?因为我喜欢耍酷。

使用命令“apt-get install synaptic”安装新立得软件包管理器(名字够时髦的),在PuTTY里输入“synaptic &”,看到什么了?怎么这个软件包管理器在我的机器上启动了?简直太神奇了!

这就是X的魅力所在,通过这种方法,我们就好像在自己的机器上操作自己的程序一样操作服务器,看看上面启动synaptic的过程,是不是和在命令提示符里键入“notepad”启动记事本一样啊,呵呵。
清北,追求完美用户体验——品质驱动 诚信导航 服务至上 技术领先
清北服务网站  http://QuickBest.com.cn

TOP

在Windows XP下调用和执行Linux服务器上的程序

google关键字:xming 服务器
来源:点击进入
作者:Rico的Blog    日期:2007-07-14

先看看效果cool

Open in new window

实现方法:

1.安装Xming:
网站:http://sourceforge.net/projects/xming/
下载并安装其中的Xming、Xming-fonts、Xming-mesa、Xming-portable-PuTTY

2、设置Xming启动参数。
Open in new window
"D:\Program Files\Xming\Xming.exe" :0 -dpi 85 -ac -clipboard -c -multiwindow -reset -terminate -unixkill -logfile Xming.log
启动Xming Server

3、调用服务器上的程序。
转到Xming-portable-PuTTY目录,在命令行下输入:
plink.exe -ssh -X -C -pw password username@doman.com kicker

好啦,成功了,在屏幕上找找kicker,也许被Windows的任务栏挡住了,定义一下吧。
Open in new window

现在可以干的事情就多了,呵呵。
Open in new window
Linux下类似ACDSee的程序……
清北,追求完美用户体验——品质驱动 诚信导航 服务至上 技术领先
清北服务网站  http://QuickBest.com.cn

TOP

Xming X Server for Windows简介

来源:点击进入
作者:LUPAworld    日期:2007-03-16

关键词: Xming Windows系列 开源软件
软件追踪

    * 运行平台:Windows系列
    * 授权方式:开源软件


项目名称:Xming X Server for Windows
项目简介:Xming是微软Windows上的自由的无限制的X窗口服务器的领导者。他是全功能的,小巧的和快速的,可以很简单的安装,可以简单得被改造成便携式的。没有任何外部包的依赖,包括Cygwin!
项目地址:http://sourceforge.net/projects/xming
项目管理员:colinharrison
所属分类:窗口管理器, 终端仿真器/X终端
清北,追求完美用户体验——品质驱动 诚信导航 服务至上 技术领先
清北服务网站  http://QuickBest.com.cn

TOP

Windows和Linux程序并存同一桌面(贴图)

baidu关键字:xming 服务器
来源:点击进入
转载日期:2007年8月13日

  rssapphire网友在一台旧Compaq计算机上,实现了Windows程序和Linux程序共同运行于同一个桌面环境下,其效果看起来真不错。既美观,又高效实用。

  [1] 效果图

  先看一下效果图。

  图1是桌面,有Windows开始菜单和Kicker的KDE菜单。    

  图2显示了同时运行的Windows 和 Linux 程序。    

  图3显示了另外一些运行的程序:

   Windows和Linux程序并存同一桌面(图一)
Windows和Linux程序并存同一桌面(图二)

Windows和Linux程序并存同一桌面(图三)

  [2] 实现方法及相关软硬件

  Compaq:2.5ghz P4 CPU,1 G 内存,64 M GeForce 4 显卡。

  Windows XP SP2 加第3方桌面强化工具。

  VMWare(分384MB内存)下运行Linux (Kubuntu Feisty Fawn) 。

  Xming:Windows 下的X-server ,以便于Linux程序显示在Windows桌面。

  PuTTY的plink 从VMWare取Linux窗口给Xming X-server。

  KDE Kicker作为Linux程序启动器。
清北,追求完美用户体验——品质驱动 诚信导航 服务至上 技术领先
清北服务网站  http://QuickBest.com.cn

TOP

google关键字:xming vista
来源:点击进入
转载日期:2007年8月13日

Table of Contents

Xming X Server for Windows

Xming is the leading free unlimited X Window server for Microsoft Windows (XP/2003/Vista). Xming is fully featured, small and fast, simple to install and because it is standalone native Microsoft Windows, easily transported [WWW]portable as a Pocket PC X server. It is totally secure when used with [WWW]SSH and optionally includes a special PuTTY SSH client and a portable PuTTY replacement.

Xming is built for Microsoft Windows (32-bit x86) from [WWW]X.Org source code kept current and secure with updates for [WWW]X11R7.3, [WWW]XKB, [WWW]FreeType2 and [WWW]Freedesktop Bugzilla. My patches are applied and the code cross-compiled with [WWW]MinGW and [WWW]Pthreads-Win32.

Ongoing Xming development is essential because its predecessor projects, [WWW]Freedesktop Xming and [WWW]Cygwin/X, have lapsed.

Xming is mostly a derivative work and has many licenses e.g. the zlib license, LGPLv2 for Pthreads, MIT/X11 for all PuTTY tools and the pixman library. The Xming server is licensed GNU GPLv2, but repackaging and/or redistributing any part (or whole) of the Xming website, documentation, images, executables or installers, by the internet, other projects/products or via media such as CD's, without asking permission, clearly acknowledging the contribution of 'Colin Harrison' and providing links to [WWW]StraightRunning.com/XmingNotes/ and [WWW]SourceForge Project Xming will be regarded as a breach of copyright.

Screen captures


Windows desktop, Xming in -multiwindow mode.
-multiwindow mode with a
custom X toolbar icon menu
and several remote X clients.


Windows desktop, Xming in -multiwindow mode.
-multiwindow with kicker +
a few more remote X clients +
validation of a .xlaunch file.


Windows desktop, Xming in one window mode.
One window mode + [WWW]XDMCP
on one X server, and an 'xlogo'
X client started from another.

Releases and changes

32-bit Windows installer download links and release status
Latest Releases VersionStateReleasedMD5 signatureSize MB
Xming 7.3.0.0ExperimentalNot yetStill changing2.42
Xming/Xming-mesa 6.9.0.40SnapshotNot yetStill changing2.17/2.57
Xming
Xming-mesa
6.9.0.39Current release01 Aug 2007748c736a797e9aaee9ebd3e688c104e1
84db83a8cc336c0cbe2a0cf9d055a577
2.16
2.57
Download of the Latest Releases, in this section, is password controlled, see Donations.
Public Releases VersionStateReleasedMD5 signatureSize MB
Xming
Xming-mesa
6.9.0.28Superseded27 Mar 2007710f3f1258ecc2eb17bf4ecd84092622
f9b9492e79e9cc6ab170d376402f3fe5
2.10
2.50
Xming-fonts 6.9.0.40Current release06 Aug 2007b6840e384f9bdde1eaabce00d02e2d4531.3
Xming-portable-PuTTY 6.9.0.40Current release06 Aug 20077b103defaade66c51801774d7f34d6921.50
Xming-tools-and-clients 6.9.0.28Superseded23 Mar 20074b9b2ab58da77898dcd882035fbed11c7.41

Experimental version 7.3.0.0

  • Test version used to experiment with Xming built modular with separate DLLs, where possible.
  • Include all of the Xming tools and clients, built modular, in the Xming installer. This supersedes the separate Xming-tools-and-clients package.
  • Include XmingClip, an external clipboard alternative to the internal -clipboard option. This is basically the old Cygwin/X 'xwinclip.exe' revived and built with MinGW. This is purely for test and code debug purposes and put in the 7.3.0.0 installer as it needs the shared DLL's. It can be started from 'Command Prompt' with Xming already running without -clipboard
    >set XLOCALEDIR=C:\Program Files\Xming\locale
    >XmingClip -display 127.0.0.1:0
    and yes, I know, it has the original 'xwinclip' 'feature' of stealing ownership of the X selection!
  • The code tracks the running changes for version 6.9.0.40 below.

Running changes for version 6.9.0.40

  • Catch up with the PuTTY, Freetype2 and XKB projects, and Pixman (now 'libpixman-1' at version 0.9.4) and xserver git repositories.
  • Try yet another fix for the paste flood problem that some people have encountered with the clipboard. Ensure that the Windows clipboard is open for as little code as possible in 'winClipboardFlushXEvents()' to avoid some interleaving with X event calls. I've never seen this bug and have to speculate as to its cause. (P.S. I've had a report that this still doesn't fix the problem and XmingClip, in 7.3.0.0, does the same!)
  • Build using updated MinGW components 'mingw-runtime-3.13' and 'w32api-3.10'.
  • Automatically allocate a display-number, if the 'Display Number' field is blank, in XLaunch. The first unused display-number (i.e. server number), within the range 0 to 9, is found and the server plus any client opened with it. Reduce some lengthy time-outs in libX11 (via 'XOpenDisplay()') and alter the XLaunch.xsd schema to suit. (Manual TBD)
  • Xming & Xming-mesa 6.9.0.39 (Released 1st August 2007)

Release notes

Release notes for the installers are here.

Installers

You only need download the Xming (or Xming-mesa) installer and the Xming-fonts installer (the latter is not needed if you have a remote font server). Use with /silent or /verysilent command-line parameters for an unattended installation.

         Xming installer components, and disk size requirements.              Xming-fonts installer components, and disk size requirements.

Xming & Xming mesa

  • Xming installer (essential) uses the OpenGL renderer.
    Includes the XLaunch wizard, 'run utility' and 'PuTTY Link for Xming SSH client' as optional components.
  • Xming-mesa installer (alternative), as the version above, but with a different 'Xming.exe' using the much slower Mesa renderer. Mesa, the software-only implementation of the OpenGL renderer, sometimes copes better with awkward X clients.
Source code is available from Code&Patches and [WWW]X.Org git.

Xming fonts

  • Xming-fonts installer (optional extra) provides standard core X fonts. Install Xming-fonts in the same directory as Xming. You don't need this package if you have a remote font server on your network.

    I split fonts out from the Xming installer since, they don't change very often, have a high installed footprint and modern X applications use client side fonts instead. However Xming-fonts are usually needed by traditional X Window applications. Since these standard X Window fonts tend to be ugly, you could also use better TrueType fonts from your Microsoft system like this.

Xming portable PuTTY

  • Xming-portable-PuTTY installer (optional extra) provides an alternative for all PuTTY's executables.
    Xming portable PuTTY works without requiring access to the Windows registry. The portable 'plink.exe' executable incorporates the changes from the 'PuTTY Link for Xming SSH client'.

Xming tools and clients

  • Xming-tools-and-clients zip file (optional extra) provides a useful set of utilities.
    Extract from the zip to the Xming install directory. See here for contents and example uses.

Usage


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
  • 'Project' your favourite X Window GUI applications onto a Microsoft Desktop.
  • Use Xming with portable PuTTY as a Pocket PC X Server by copying both to a USB flash drive or iPod etc. Once made portable, no installed software is needed on a PC.
  • Use as a [WWW]KVM substitute. No need for expensive hardware or a tangle of leads.
  • [WWW]Headless your *nix machines by removing keyboard, mouse, monitor and video card. Redirect the BIOS console and then access terminals via minicom (using a serial port) or PuTTY, and GUI's via Xming (using an ethernet).
  • Don't use 'over-engineered' Linux desktops anymore (e.g. KDE and Gnome), just run your remote machines at 'init 3'.
  • You can use Xming, just locally, together with [WWW]coLinux, [WWW]Cygwin, [WWW]Microsoft Services for Unix (SFU), ([WWW]SUA) or [WWW]UWIN.
  • Use SSH and X-Forwarding in -multiwindow mode instead of [WWW]VNC to reclaim precious resources, including desktop space, and facilitate cut-and-paste between windows.
  • Configure a Linux kernel on a remote machine, 'make xconfig' i.e. using the easy GUI method.
  • Update remote machines via the distribution's GUI tools e.g. for Mandriva use mcc, rpmdriva and MandrivaUpdate.
  • Install the Enlightened Sound Daemon, [WWW]EsounD, to have sound with remote X applications. On the Xming machine start
    >esd.exe -tcp -public
    Note: this is not secure. Now on the remote *nix machine
    $ export ESPEAKER=<IP of Xming PC>
  • Xming can be used with external window managers, such as 'xwinwm' (via -mwextwm) or 'openbox' (via -rootless), and with multiple monitors (via -multiplemonitors). I run 'openbox' with this script.

Windows desktop, -multiwindow mode, selecting kernel build options remotely.

Windows desktop, Xming in -rootless mode with the Openbox Window Manager.

Manual

X servers are complex, so if you want an easier life use XLaunch. The documentation here just scratches the surface of many topics so be prepared to read more elsewhere.

Xming Manual. This doesn't contain any X server commands. You could view these with -help or run this XLaunch file. See also the full [WWW]X.Org Manual pages.

To 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 unsafe on public networks, but makes things easier for beginners on private ones.
Things can get very tricky e.g. -screen scr_num [width height [x y] | [[WxH[+X+Y]][@m]] ] is an Xming parameter :), so you may have to do a bit of reading.

For the advanced user, if you use [WWW]PuTTY and have an SSH daemon on you remote *nix machine, you could safely get an 'xcalc' on display-number 2 (i.e. Xming Server:2.0)

>Xming :2 -multiwindow -clipboard
>plink -ssh -X -pw <password> <user@computer> xcalc
or
>plink -pw <password> -load <Saved Session> xcalc
Note: pre-empt the password entry, in both cases, by using 'pageant'.
or using a Windows SSH client
>Xming :2 -multiwindow -clipboard
>ssh -Y <user@computer> xcalc
Note: pre-empt the password entry by using 'keychain'.
XLaunch makes using Xming with PuTTY or SSH easy and has some help on using the 'pageant' or 'keychain' key managers.

The XLaunch wizard

XLaunch is a wizard for simplifying the startup of an Xming server. Its re-usable XML configuration files can 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 (e.g. via the 'PuTTY Link for Xming SSH client') or [WWW]SSH (e.g. using [WWW]Cygwin OpenSSH) with 'plink.exe' or 'ssh.exe' respectively. Remote login using [WWW]XDMCP is also provided.

Also use XLaunch to just simply start the X server and then run several X clients latter by hand, or from Xmingrc menu entries.

Example, to get a remote 'xcalc' 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!

Start XLaunch and follow the wizard. You can select the windowing mode, the way sessions are started and save the configuration for later reuse.

XLaunch manual (same as built-in Help)...
Display settings    Session type    Start program    XDMCP settings    Additional parameters    Finish configuration

My '.xlaunch' configuration files for a remote 'xterm' via PuTTY, a remote login via XDMCP and a remote 'xcalc' via SSH.

Automatic validation of configuration files against the XLaunch XML Schema Definition is available when starting the wizard.

XLaunch international versions
LanguageStringsReleasedMD5 signature
Chinese text18 Jun 2007bf8becbd00670f2364e2d79b22ee7a52
Deutsches text18 Jun 20075fc5ebef3bf42b5775b08d84bac5747d
Español text18 Jun 2007ddb01268900938d12924e8eee3541a0d
Finnish text18 Jun 20073d2333bc0eb33b7e158394daae612009
Français text18 Jun 20074f674d13edad93250132ee3c9bc0261f
Italiano text18 Jun 2007bf2e9d72f633fcd011c724e45f513533
Nederlandse text18 Jun 2007dbe1c947be32cdb45e5a273af02664b1
Russian text18 Jun 20070c91632ce95b26a7a176130572dbf337
Slovenský text18 Jun 2007c4019f2ff5e99f634240a6b8ef392174
All validate using this XLaunch XML Schema Definition.
I need help with the technical translation of the XLaunch dialogs from English to other languages, any volunteers? All you need to do is email me the 'Strings' translation and check the new XLaunch executable (I will build this for you) before making it public.

Using Xmingrc to customize the X toolbar icon menu

You can customize the X toolbar icon menu using an Xmingrc file, I use this file to open X Window clients (singly or combined in session files), PuTTY, Cygwin or msdos terminals and EsounD, and to control access to the X server. Any program (local Microsoft Windows, local or remote X Window) can be opened from Xmingrc.
Xmingrc is a structured text file, so to avoid errors study the examples and read the Xmingrc Manual.

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

PuTTY Link for Xming SSH client

The Xming 'plink' SSH client is made with MinGW from patched [WWW]PuTTY code.
The Xming modifications substitute a few choice Windows prompts, for annoyingly hidden console ones, which are helpful when used with XLaunch or Xming (both run console free). An original (i.e. PuTTY project supplied) 'plink' works fine with XLaunch/Xming when no extra input is required or errors encountered.

Debug XLaunch via 'plink' with this XLaunch file (triggered by the tags ClientStart="PuTTY" + Program="testplink") and get 'plink' help by clicking the installed 'plink.exe'.

Note: 'plink.exe' has to be built as a console application, as it runs from the command line and accepts input from 'stdin'.

Run utility

A MinGW port of the [WWW]run utility. Its manual is here.
Here is an example of 'run' being used in a Desktop Shortcut to start a remote 'konsole', but you could also use JavaScript, in a '.js' file, to do the same
var wshell = new ActiveXObject('WScript.Shell');
wshell.Run('"C:\\Program Files\\Xming\\plink.exe" -load colin konsole --ls',0);

Fonts

Read more about using fonts with Xming here.

Trouble?

Xming faultfinding is here.

Why does Xming exist?

They share the same X.Org code base so what are the main differences between Xming and [WWW]Cygwin/X?
  • Xming doesn't depend on any external package while Cygwin/X is closely bound into the package structure of Cygwin and so is awkward to manage. The total installation of Cygwin + Cygwin/X can get huge. Xming is bloatfree, while matching and exceeding all Cygwin/X's server functionality.
  • Xming does not need or install cygwin1.dll.
  • Xming can coexist, perfectly, with a Cygwin installation, but doesn't use, repackage, or alter Cygwin executables, libraries, mounts or services.
  • Xming installs everything in one directory and does not use the Microsoft Windows registry, apart from having an installed program entry and a registered file type for '.xlaunch'. This makes it easy to install and remove, and copy onto portable media.
  • The Xming installer contains only an X server. However many useful X Window tools-and-clients have been ported to Microsoft Windows using MinGW. These include ico, mkfontscale, oclock, setxkbmap, showrgb, xauth, xdpyinfo, xev, xeyes, xhost, xlsatoms, xlsclients, xlsfonts, xmodmap, xprop, xset, xsetroot, xwininfo. Examples, from 'Command Prompt'
    >set DISPLAY=localhost:0
    >xsetroot -cursor_name left_ptr -fg white -bg black -solid SteelBlue
    >setxkbmap de -model pc105
    These X clients are not the complete X Window set, lack of a POSIX API in MinGW prevents many in the 'app' tree from compiling. If you need Unix on Windows use Xming with [WWW]coLinux, [WWW]Cygwin, [WWW]Microsoft Services for Unix (SFU/SUA) or [WWW]UWIN.
  • Xming is kept up-to-date by tracking changes in the X.Org repositories, the X Keyboard Configuration Database and the FreeType2 font engine (with the bytecode interpreter and subpixel rendering activated), while Cygwin/X is no longer maintained.

Development

See here for instructions on how to build Xming.

Donations

Without updating equipment my Xming development can't continue or advance, hence this hardware funding initiative... By donating you will get an 'Xming donor password' sent by return email, enabling access to Xming's Latest Releases. This will be sent to the email address in the PayPal payment history. If you have donated in the past or contributed in other ways (e.g. code, patches or translations), or not received your password, please contact me. If you can't use PayPal, again contact me by email (colin dot harrison at virgin dot net). The suggested PayPal donation is £10 since less has a high percentage loss due to their transfer charges.

Also by sponsoring specific hardware, 64-bit, Windows 2000, or 8-bit pseudocolor support may be possible.

Xming is free for you to enjoy, but I greatly appreciate any contributions made towards improving its development and hosting equipment.

Support

Discussion forums are on [WWW]SourceForge.

If you report a problem

  • It must always contain a complete Xming log file and .xlaunch file (if using XLaunch).
  • Unusual or none standard installations must be detailed.
  • If using XDMCP mode, mention the type and version of the remote machine's [WWW]X Display Manager.
    You should also try using the standard display manager, 'xdm', before reporting.
  • A report of 'Xming crashing' must be accompanied by good evidence and the trail of events.
and, finally, if you want a response, follow these guidelines
  • Check the forums for previous mention of a problem.
  • No support is provided for obsolete versions and code that cannot be built with MinGW.
  • XDMCP mode is unsafe, obsolescent and really shouldn't be used, so don't expect much sympathy if it doesn't work for you.
  • Comparing, mentioning or even alluding to an X server that is not free is just bad manners on any Xming forum.
  • I don't like wasting time so please be precise and then you may even catch my attention :).

Table of Contents for Xming Notes

  1. Screen captures
  2. Releases and changes
    1. 32-bit Windows installer download links and release status
    2. Experimental version 7.3.0.0
    3. Running changes for version 6.9.0.40
    4. Release notes
  3. Installers
    1. Xming & Xming mesa
    2. Xming fonts
    3. Xming portable PuTTY
    4. Xming tools and clients
  4. Usage
    1. What can you use Xming for?
    2. Manual
    3. The XLaunch wizard
      1. XLaunch international versions
    4. Using Xmingrc to customize the X toolbar icon menu
    5. PuTTY Link for Xming SSH client
    6. Run utility
  5. Fonts
  6. Trouble?
  7. Why does Xming exist?
  8. Development
  9. Donations
  10. Support
Copyright © 2005-2007 Colin Harrison All rights reserved

清北,追求完美用户体验——品质驱动 诚信导航 服务至上 技术领先
清北服务网站  http://QuickBest.com.cn

TOP

发新话题