Uncommon problems with RDP, clipboard and Windows
Sean Blanton <[email protected]> Tue, 14 Aug 2012 12:39:16 -0500
| Newsgroups | gmane.network.rdesktop.user |
|---|---|
| Message-ID | <CAD0pDW4=odM+iQCH-TafKeM75kWnnFK0sph=ROzv9OuMmodN6g@mail.gmail.com> |
Hi Y'all, Great product. I'm pretty sure I have a generally RDP problem and not something specific to rdesktop, but I'm trying to use rdesktop and need some advice. I can't get any rdp client to copy and paste from Fedora to Windows, trying every high-level thing I could think of or could find in search results. All the other functionality seems fine. *** Windows 7, copying from Linux and trying to paste in Windows 7 rdp session is not successful, and crashes Microsoft products like Outlook, Write and Sticky Notes. *** Windows XP, copying from Linux and trying to paste into an rdp WinXP session, I get the 1) kill/start rdpclip 2) It works at least once, 3) rdpclip goes into high cpu state. 4) pasting becomes dodgy. Repeatable. I think it's time to fire up Wireshark, but I'm not familiar with the rdp protocol(s). Or, what do you all think? Details: I have a 4-monitor Fedora 17 desktop running KDE. I don't think I have anything fancy running on it. 1. Same behavior using rdesktop, xfreerdb, vinagre, krc. rdesktop is my preferred client, so I'm here! 2. Same behavior with Fedora 13 & Fedora 17 connecting to WinXP. 3. I'm aware that WinXP has a different clipboard api than Windows 7. I'm trying to ditch WinXP and don't care if it ever works, but it may be useful to help debug this issue. 4. My company uses a lot of multicast and could have messed something up in an attempt to be secure on Windows, but not likely messed to much with Fedora. Some of the debugging I've done (too much before coming here, I believe): (0. Scoured the web via DuckDuckGo and Google.) 1. Checked various registry entries 2. Tried many permutations of rdesktop arguments including -r:clipboard:PRIMARYCLIPBOARD, etc. 3. Tried several anecdotal fixes on the web. 4. Messed around with klipper and any other setting on Fedora I could find. 5. Built rdesktop with --with-debug-clipboard. I then tryed to paste into the rdp session - result was: no output for Win7, copious infinite loop type output for WinXP: Win7: $ ~/work/c/rdesktop-1.7.1/rdesktop -x lan -g 2800x1100 -5 -K -d acme -u jdoe -p 'xxxx' <win7 ip address> Autoselected keyboard map en-us WARNING: Remote desktop does not support colour depth 24; falling back to 16 <paste> Win XP: $ (~/work/c/rdesktop-1.7.1/rdesktop -r sound:local -x lan -g 2800x1100 -5 -K -r clipboard:CLIPBOARD -0 -u jdoe -p 'xxxx' <winXP ip address> & ) && sleep 3 && killall -9 rdesktop Autoselected keyboard map en-us WARNING: Remote desktop does not support colour depth 24; falling back to 16 CLIPRDR recv: type=1, status=0, length=0 Probing selections. xclip_handle_SelectionNotify: selection=CLIPBOARD, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET Target 0: TIMESTAMP Target 1: TARGETS Target 2: MULTIPLE Target 3: SAVE_TARGETS Target 4: text/rtf Target 5: TEXT/RTF Target 6: application/rtf Target 7: UTF8_STRING Other party supports UTF8_STRING, choosing that as best_target Target 8: COMPOUND_TEXT Target 9: STRING Unable to find a textual target to satisfy RDP clipboard text request Unable to find suitable target. Using default text format. cliprdr_send_simple_native_format_announce cliprdr_send_native_format_announce CLIPRDR send: type=2, status=0, length=36 CLIPRDR recv: type=2, status=0, length=0 CLIPRDR send: type=3, status=1, length=0 xclip_handle_SelectionRequest: selection=CLIPBOARD, target=TARGETS, property=_QT_SELECTION xclip_provide_selection: requestor=0x02000009, target=TARGETS, property=_QT_SELECTION, length=8 xclip_handle_SelectionRequest: selection=CLIPBOARD, target=TARGETS, property=GDK_SELECTION xclip_provide_selection: requestor=0x05800d03, target=TARGETS, property=GDK_SELECTION, length=8 CLIPRDR recv: type=3, status=1, length=0 CLIPRDR recv: type=4, status=0, length=4 Request from server for format 13 xclip_handle_SelectionRequest: selection=CLIPBOARD, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET xclip_provide_selection: requestor=0x03000002, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET, length=8 xclip_handle_SelectionNotify: selection=CLIPBOARD, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET Target 0: TARGETS Target 1: TIMESTAMP Target 2: _RDESKTOP_NATIVE Target 3: _RDESKTOP_CLIPBOARD_FORMATS Target 4: UTF8_STRING Other party supports UTF8_STRING, choosing that as best_target Target 5: text/unicode Target 6: STRING Target 7: STRING xclip_handle_SelectionRequest: selection=CLIPBOARD, target=UTF8_STRING, property=_RDESKTOP_CLIPBOARD_TARGET cliprdr_send_data_request CLIPRDR send: type=4, status=0, length=4 CLIPRDR recv: type=5, status=2, length=0 xclip_refuse_selection: requestor=0x03000002, target=UTF8_STRING, property=_RDESKTOP_CLIPBOARD_TARGET cliprdr_send_data CLIPRDR send: type=5, status=1, length=0 cliprdr_send_simple_native_format_announce cliprdr_send_native_format_announce CLIPRDR send: type=2, status=0, length=36 CLIPRDR recv: type=4, status=0, length=4 Request from server for format 13 CLIPRDR recv: type=3, status=2, length=0 cliprdr_send_native_format_announce CLIPRDR send: type=2, status=0, length=36 xclip_handle_SelectionRequest: selection=CLIPBOARD, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET xclip_provide_selection: requestor=0x03000002, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET, length=8 CLIPRDR recv: type=4, status=0, length=4 Request from server for format 13 xclip_handle_SelectionNotify: selection=CLIPBOARD, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET Unable to find a textual target to satisfy RDP clipboard text request cliprdr_send_data CLIPRDR send: type=5, status=1, length=0 cliprdr_send_simple_native_format_announce cliprdr_send_native_format_announce CLIPRDR send: type=2, status=0, length=36 xclip_handle_SelectionRequest: selection=CLIPBOARD, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET xclip_provide_selection: requestor=0x03000002, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET, length=8 CLIPRDR recv: type=3, status=2, length=0 cliprdr_send_native_format_announce CLIPRDR send: type=2, status=0, length=36 CLIPRDR recv: type=4, status=0, length=4 Request from server for format 13 xclip_handle_SelectionNotify: selection=CLIPBOARD, target=TARGETS, property=_RDESKTOP_CLIPBOARD_TARGET ...ad infinitum - Not sure if I've captured the interesting parts when I pasted. Sincerely, Sean Sean Blanton [email protected] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ rdesktop-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdesktop-users