Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently started using Xming to display-back X11 applications from a Linux VM to my Win XP desktop. It's great -- much more useful than the solution I had before, which used VNC -- but the clipboard behavior is wonky.

At first, I couldn't get the clipboard to sync at all. I killed and restarted Xming a couple of times, and now it's consistent (but wrong):

  • When I copy in Windows, I can paste in Linux or Windows.
  • When I copy in Linux, I can paste in Linux but not Windows.
  • When I copy in Windows, then select in Linux, the primary (selection) and secondary (CTRL-C) buffers both work fine in Linux, but pasting in Windows doesn't work.

Note that when I say pasting in Windows "doesn't work", the Paste menu item is available, indicating Windows thinks there's something on the clipboard, but nothing gets pasted.

share|improve this question

In X-Launch, “Clipboard – Primary Selection – Also map the PRIMARY selection to the Windows clipboard”, uncheck it.

share|improve this answer
confirming that playing with the XLaunch settings worked for me too – Noam Hacker Jan 21 at 15:48
For me just running XMing using XLaunch made it work. – The Quantum Physicist Feb 17 at 13:51
It seems to need a newer version of Xming, not the old version from Sourceforge which is freely available. – Sam Watkins May 16 at 0:42

You could try VcXsrv if you are using the public domain version of Xming (

I've just discovered VcXsrv and in my quick test copy/paste works perfectly between Linux and Windows both ways. (Ubuntu 12.04 xterm, emacs and Windows XP)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .