Cygwin X Server – A better alternative to Xming

Posted: February 12, 2012 in Productivity
Tags: , ,

I used to use Xming for an X server for my Windows 7 PC. I started looking out for other X servers for Windows because of a particularly irritating bug of Xming. Sometime Xming interferes with the clipboard, so that cut/copy/paste no longer works. The bug blocks the clipboard not only for X applications but also for native Windows applications. Quitting Xming doesn’t get the clipboard functionality back. Even after quitting Xming, a residual process would still be running which continues to block the clipboard. It has to be manually killed from the task manager.

Finally, I found an alternative that is as capable as Xming but doesn’t block the clipboard from time to time. Cygwin comes with an X server among many other things. Grab your copy here. It is an installer stub and will download additional stuff from the internet based on the components selected for installation. Cygwin/X which has the X server is not selected for installation by default. You can do it manually by selecting the Xinit package from the X11 section as shown. Cygwin has so many packages, that it is easier to search for what you want.

Screenshot of Cygwin X Server Installation

Cygwin installs a whole bunch of stuff (standard Unixy stuff). It is after all meant to provide a Unix style native environment in Windows. Even if you don’t use any of the other Cygwin stuff, it is worth it just for the X server. I am using Cygwin X Server for over a year now and it has never failed me. Also I put a shortcut to Cygwin X Server in my Startup folder so that it is automatically started whenever my PC boots.

  1. […] Cygwin X Server – A better alternative to Xming […]

  2. simon says:

    I used to use Cygwin server, but I moved to Windows 8 and this won’t work there, so we’re stuck with Xming.

  3. simon says:

    Just upgraded Cywin and X now works like a charm on Windows 8.

  4. Kata says:

    when running netbeans in xming, i can’t press
    CTRL-SHIFT-W to close all tabs.

    but in cygwin server, i can press and it closes all tabs in netbeans.

  5. Xavier Flix says:

    I used to use Cygwin (a long time ago), but haven’t had the need for it until I saw your post.
    Every single problem I was having with the free/community edition of Xming, has been solved by installing Cygwin.

    Thank you so very much!

  6. Mitja says:

    Great post. I was banging my head with Xming when using Oracle DBCA. It was constantly freezing due to clipboard problems. After switching to Cygwin xserver all the problems were gone. Thanx

  7. xserver says:

    Very good post! We are linking to this particularly
    great content on our site. Keep up the good

  8. […] In the Cygwin setup, you can install the X server using these instructions. […]

  9. Bryan says:

    This is incredible. I did not know it could be so easy to run X11 on Windows. Thanks for the great post!

  10. John Zheng says:

    Have you found a solution for scaling on high resolution monitors using Cygwin X? My xterm and remote X11 forwarded feh window appear extremely small on my high resolution display. For Xming, you posted this that worked for you:

    However -dpi for Cygwin X doesn’t seem to help for me.

    • jobarjo says:

      xterm is too old to support dpi scaling. You should use more modern terminals like gnome-terminal or mate-terminal. They support modern scalable fonts and dpi.

  11. Vishal says:

    Hi I am using xming to view graphically view of linux, Is there any other software are available to use like this
    because Xming is super slow
    suggest other software pls

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s