7

I'm running Ubuntu 10.04, connecting to a Windows 2008 box. I've got rdesktop configured to use RDPv5 (using RDPv4 is known to cause clipboard issues).

The clipboard has worked just fine for most of the time that I've been using rdesktop (I've had the machine installed for a year and a half or so). The other day, I was running a different remote access client (proprietary solution called Bomgar). Something FUBARed (I can't give an exact description of what happened, since I wasn't paying enough attention at the time). When I went to paste something on to the Win2008 client, I just got the last item in the Windows copy and paste buffer, not the item from my primary clipboard on Ubuntu.

At the time, I was also running Synergy on the Ubuntu box, sharing mouse, keyboard and clipboard with a MacBook Pro. I've since rebooted the Linux box, and haven't re-started Bomgar or Synergy, but I still don't have clipboard support.

Here's the command line as I pulled it out of ps aux:

rdesktop -ubartonski -pXXXXXXXXXX -dNTDOMAIN -ncribbage -g1400x1050 -rsound:local -rclipboard:PRIMARYCLIPBOARD -5 win2k8.prod.mycompany.com

Note the flags -rclipboard:PRIMARYCLIPBOARD and -5 (I.e. I am using RDPv5. Terminal Server Client isn't lying to me).

I checked was to make sure that things weren't getting stuck in the secondary clipboard buffer for some reason on the Linux side. I tried pasting from all three buffers, none of them worked.

1

2 Answers 2

0

if you don't want to logoff (as it closes all programs which may have work in them), the following solution worked for me:

open the cmd prompt, and enter:

taskkill.exe /f /im rdpclip.exe & rdpclip.exe

you may also put it in fixrdp.bat file on your Desktop for easy access

1
  • I no longer work in a Windows environment, but I'll accept this answer if it gets a couple more up-doots. Sep 12, 2018 at 0:46
9

Logging out of Windows2008 then logging back in solved the problem.

... it's always the simple stuff ...

2
  • Worked for me to with Win7
    – olore
    Aug 22, 2013 at 11:52
  • The same from Ubuntu to remote CentOS. I had to specify also -r clipboard:CLIPBOARD Aug 4, 2016 at 11:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .