On Linux I do:

rdesktop remotepc

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

  • 1
    rdesktop -r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]
    – bubu
    Dec 22 '10 at 18:26
  • 1
    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
  • 1
    Note that you have two clipboards in Linux. I can copy to remote desktop if I right-click and then click "Copy", but not if I simply select text (which is what I normally do for copy-paste within Linux).
    – gerrit
    Sep 13 '16 at 18:25

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

  • 1
    I know this is fairly old but when you say WM's key bindings, what do you mean exactly? 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.
    – DBedrenko
    May 25 '16 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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