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

On Linux I do:

rdesktop remotepc

How do I copy and paste between my local system and the remote system?

share|improve this question
rdesktop -r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD] – bubu Dec 22 '10 at 18:26
For clarification, the difference between CLIPBOARD and PRIMARYCLIPBOARD is that the former copies the normal clipboard, while the later chooses between the PRIMARY, which is the clipboard you copy to if you just select something, and the normal clipboard. I just figured out that -r clipboard:PRIMARYCLIPBOARD has problems with some java applications. If the clipboard owner does not provide a timestamp, rdesktop cannot copy/paste it. – ruediste Sep 9 '13 at 5:57
up vote 8 down vote accepted

Try using RDPv5 to connect, it should automatically set the protocol to RDPv5, but in some situations it will not.

Alternatively, try launching with these arguments:

-5 -K -r clipboard:CLIPBOARD

-5 forces RDPv5 (which it should use anyway, but sometimes it doesn't), -K forces it to not override the WM's key bindings, and -r clipboard:CLIPBOARD enables clipboard redirection (which is what you want).

share|improve this answer
I know this is fairly old but when you say WM's key bindings, what do you mean exactly? – PeanutsMonkey Jan 8 '13 at 5:11
@PeanutsMonkey It means the Window Manager's key bindings. You can read the software's documentation for more info. – SpaghettiCat May 25 at 9:50

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.