Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

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

https://sourceforge.net/projects/vcxsrv/

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.