CoRD
CoRD copied to clipboard
Clipboard broken
As of OS X Lion v10.7.3 clipboard integration between remote windows server (Windows Server 2003, Windows Server 2008 Web Edition, and Windows Server 2008 R2 x64) is broken in one direction; copying from remote server and pasting to local Mac app. Given that this was working (most of the time) on OS X Lion v10.7.2 and earlier, I guess it is the update in Lion that broke it.
Clipboard support still works in other applications like the otherwise dreadful Microsoft Remote Desktop application (installed with Office 2011 for Mac).
Hmm, seems unlikely that 10.7.3 broke it, and more likely that there's an issue with the 64 bit server... will leave this open tho
Dorianj,
I downloaded the CoRD source code from GitHub, upgraded my XCode from 3 to 4.2 and tuned it for maximum smoke!
On the 64-bit server I copied a small piece of text (8 characters) and watched line 551 in CRDSession.m
NSString *temp = [[NSString alloc] initWithData:rawClipboardData encoding: NSUnicodeStringEncoding];
After executing this line, I hover over temp and the pop-up shows the 8-character string that was copied onto the server clipboard. So far so good. I then let the process continue, and confirm that I can paste the string into TextEdit on the Mac.
Back to the RDP session, I copy a 10kb text file onto the clipboard (the contents of the file by using Notepad). Again my breakpoint on line 551 stops, step over the line, inspect temp and it is 10243 characters long, and by the looks of things (the first 30 characters are shown in the pop-up) it is the right data.
I then let the process continue, paste the clipboard into TextEdit on the Mac, and what I get is the original 8-character string again.
So I guess the error is in this group of lines:-
[remoteClipboard release];
remoteClipboard = [CRDConvertLineEndings(temp, NO) retain];
[[NSPasteboard generalPasteboard] setString:remoteClipboard forType: NSStringPboardType];
At this point I have exhausted the limit of my OS X knowledge. Can you take it from here?
Regards,
Fred
On Mon, Feb 6, 2012 at 2:48 PM, Dorian Johnson < [email protected]
wrote:
Hmm, seems unlikely that 10.7.3 broke it, and more likely that there's an issue with the 64 bit server... will leave this open tho
Reply to this email directly or view it on GitHub: https://github.com/dorianj/CoRD/issues/2#issuecomment-3829554
Regards, J. Fred Truter
Are there any workarounds available? On my machine (Mac OS X 10.7.4) I cannot copy text from a Windows Editor running under Windows XP / VirtualBox 4.1.18 (78361).
I'm also looking for a workaround. I am unable to share my clipboard (plain text) between my client: Mac OS X 10.7.5 and CoRD 0.5.7 (5701) connecting to a Windows Server 2008 (RC2).
I'm not seeing this in either CoRD 0.5.7 or the branch I'm working on. Are there any other configuration details you can offer?
Actually, it seems to be working. I'm not sure why it didn't seem to be working previously, it may have just been the login page that I was testing. -- Paste doesn't work on the login screen.
I have the same problem using Version 0.5.7 (5701)- It work sometimes when i copy from the menu but using CMD+C dont work almost always. Its really annoying. Any idea when it will be fixed?
Same here: if I quit and restart RDCPCLIP.EXE, I can sometimes once copy from Mac to PC (using Cmd-C and Ctrl-V). The other way around never works. Copy/Paste using the regular Microsoft RDP app works. Does not matter which RDP target: Win XP x86, Win 2003 x86, Win7 x64, Win7 x86. Does not matter fullscreen/windows. Running CoRD 0.5.7 (5701) on Retina MacBook Pro with OS X 10.8.4. Is there a way to log what happens?
We have several Mac OSX clients running 10.7 or 10.8 with CORD 0.5.7 and connecting to Windows 2003 server with Terminal Services. The problem is the same for all clients, first copy and paste works, then the clipboard stays as from the first copy action, until we restart CORD. Killing RDCPCLIP.EXE on the target machine works as a workaround but is not really a solution.
I think this was fixed in cd4dfec. Working now here on 10.8 and Server 2012.
I found this fix: https://github.com/jonnybergdahl/CoRD/downloads dunno if cd4dfec is included, the 0.5.7 release is anyway not working.
I'm still seeing this on 10.9.4, CoRD 0.5.7, and Windows Server 2008 R2.
Still seeing this on 10.9.5, CoRD 0.5.7, and Windows Server 2008R2 as well as Windows 7 Pro SP1 x64. Even the RDPCLIP.exe trick doesn't seem to work at all. (Seems like the previously version of CoRD worked fine.) Thanks! EDIT--- it only seems to be completely broken in Full Screen. Some, but not consistent success in Windowed mode.
Broken for me on Cord 0.5.7 (5701) running on OSX 10.10.1 accessing a Win7 Enterprise SP1 x86.
broken on cord 0.5.7 - osx 10.9.5 accessing windows server 2003 R2.
Works for me, OSX 10.10.3, CoRD 0.5.7, Windows Server 2003 SP2