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 use TightVNC, RealVNC to access the Remote Linux(CentOS,Ubuntu) desktops by running a vncserver on the remote machine. When I connect to those servers from my Windows host:

  1. Can I use the Copy/Paste functionality on the VNC client desktop window. i.e. Copy some text on some terminal open inside the VNC client desktop window and paste it into some text file on my local windows machhines and vice-a-versa?

  2. I checked TightVNC options but did not see anything. Can it be done by a)Running vncserver on the remote machine with some options or b)By running some configuration on remote machine to enable this. How could I get it done?

  3. Also is this kind of Copy/Paste functionality possible in Microsoft Windows Remote Desktop connection/Terminal session protocol?

share|improve this question
If you copy text from a VNC window, it goes onto your local clipboard, no? Try it and let me know if it works. – Yitzchak Jan 10 '12 at 15:54
@Yitzchak - No it surely doesnt because it goes into the remote machines 'clipboard equivalent'. and that content seems inaccessible on the Local(windows) machine. – goldenmean Jan 10 '12 at 16:01

This should work if you've got vncconfig running as a VNC client application. The man page clearly states that it is required for X clipboard support, so make sure that ~/.vnc/xstartup on the server side contains the following line somewhere:

vncconfig -iconic &

to ensure it's started automatically. If you already have a running VNC session without an active instance of vncconfig, just open a terminal on your VNC desktop and start it manually.

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.