Xming clipboard only works one way

clipboardx11-forwardingxming

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 (CTRLC) 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.

Best Answer

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

Related Question