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

Whenever I select any text the text is immediately copied to the clipboard without me explicitly issuing copy text command. How do I fix this bug or feature?

I am using RealVNC client. The server is running IceWM.

share|improve this question
And you're also using the RealVNC server (just called "VNC Server") right? I am seeing the same issue, it's very annoying. I am using the official free RealVNC client and server. Also, since this is a very old question -- did you ever figure out a fix? – Ricket Sep 25 '13 at 14:42
@Ricket No I was not using RealVNC server. When I use that then mostly it works, not always. RealVNC Server+Client, sometimes the copy and paste stops working absolutely. Then I go back to old non-RealVNC Server and it works. – AppleGrew Sep 25 '13 at 17:32
I am also having the same issue, very annoying and slows down my work! Just in case if you find a fix, please post it here! – rgamber Oct 23 '13 at 1:17
  1. Open ~/.vnc/xstartup
  2. Change the vncconfig line to include SendPrimary=0 (e.g. vncconfig SendPrimary=0 –nowin &)
  3. Restart your VNC sessions

How it works:

  • vncconfig is a program that manages shared functionality between the x11 server and your VNC session, most notably shared clipboard functionality. Without this running in the background, you cannot share a clipboard.
  • X11 maintains a concept of a “primary” buffer (for selected text) and a “clipboard” buffer
  • SendPrimary defaults to 1 (on) which instructs vncconfig to send the primary (selection) buffer to the clipboard buffer, in effect overwriting anything there
share|improve this answer

Your Answer


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.