Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

Clipboard timeout between linux and windows


Recommended Posts

I've recently upgraded from an older version of synergy and am now running 1.7.4 stable on a windows (server) and linux (client) machine. Clipboard copy between the 2 machines appears to behave strangely. Here is what I observe 1. Cut/Copy on windows transfers OK to linux. No issues - many thanks 2. Cut/Copy on linux DOES NOT transfer correctly to windows ... unless you move the mouse onto the windows desktop, put it back on the linux desktop and then finally return to the windows desktop. If you carry out this somewhat bizarre set of movements then the windows clipboard does have the content from the linux machine - for a short time; about 4-5 seconds later the clipboard content disappears. Below are the DEBUG logs from moving from windows to linux, CTRL-C on some text, zigzag back to windows, linux, windows quickly and then DOING NOTHING. Note the initial receipt (19:39:41) of a clipboard of size 23 bytes followed by receiving a clipboard of size 0 a few seconds later (19:39:44). I was not pressing any keys to make that second send happen (as you can see in the log) - and it seems to have killed the correct clipboard. Any idea how to make clipboards behave correctly (i.e. on move from linux to windows it all just works!) and why the zigzag between screens seems to work briefly and then breaks? Many thanks in advance Jos [size=85] [2015-11-06T19:39:37] DEBUG1: try to leave "uk-jlmartin" on left [2015-11-06T19:39:37] INFO: switch from "uk-jlmartin" to "uk-jlmartin-deb7-64" at 1919,420 [2015-11-06T19:39:37] INFO: leaving screen [2015-11-06T19:39:37] DEBUG1: warping cursor to center: +960, +600 [2015-11-06T19:39:37] DEBUG1: modifiers on update: 0x0000 [2015-11-06T19:39:37] DEBUG1: send enter to "uk-jlmartin-deb7-64", 1919,420 9 0000 [2015-11-06T19:39:37] DEBUG1: thread 0x00000a5c entry [2015-11-06T19:39:37] DEBUG1: thread 0x00000a5c exit [2015-11-06T19:39:38] DEBUG1: event: button press button=1 [2015-11-06T19:39:38] DEBUG1: onMouseDown id=1 [2015-11-06T19:39:38] DEBUG1: send mouse down to "uk-jlmartin-deb7-64" id=1 [2015-11-06T19:39:38] DEBUG1: event: button release button=1 [2015-11-06T19:39:38] DEBUG1: onMouseUp id=1 [2015-11-06T19:39:38] DEBUG1: send mouse up to "uk-jlmartin-deb7-64" id=1 [2015-11-06T19:39:38] DEBUG1: event: button press button=1 [2015-11-06T19:39:38] DEBUG1: onMouseDown id=1 [2015-11-06T19:39:38] DEBUG1: send mouse down to "uk-jlmartin-deb7-64" id=1 [2015-11-06T19:39:38] DEBUG1: event: button release button=1 [2015-11-06T19:39:38] DEBUG1: onMouseUp id=1 [2015-11-06T19:39:38] DEBUG1: send mouse up to "uk-jlmartin-deb7-64" id=1 [2015-11-06T19:39:39] DEBUG1: hook: 0x000000a2 0x001d0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x060000a2 0x001d0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x070000a2 0x001d0001 [2015-11-06T19:39:39] DEBUG1: event: Key char=0, vk=0xa2, nagr=0, lParam=0x001d0001 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0000 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0002 [2015-11-06T19:39:39] DEBUG1: onKeyDown id=61411 mask=0x0002 button=0x001d [2015-11-06T19:39:39] DEBUG1: send key down to "uk-jlmartin-deb7-64" id=61411, mask=0x0002, button=0x001d [2015-11-06T19:39:39] DEBUG1: hook: 0x00000043 0x002e0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x06016343 0x002e0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x07006343 0x002e0001 [2015-11-06T19:39:39] DEBUG1: event: Key char=99, vk=0x43, nagr=0, lParam=0x002e0001 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0002 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0002 [2015-11-06T19:39:39] DEBUG1: onKeyDown id=99 mask=0x0002 button=0x002e [2015-11-06T19:39:39] DEBUG1: send key down to "uk-jlmartin-deb7-64" id=99, mask=0x0002, button=0x002e [2015-11-06T19:39:39] DEBUG1: hook: 0x00000043 0x802e0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x06016343 0x802e0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x07006343 0x802e0001 [2015-11-06T19:39:39] DEBUG1: event: Key char=99, vk=0x43, nagr=0, lParam=0x802e0001 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0002 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0002 [2015-11-06T19:39:39] DEBUG1: onKeyUp id=99 mask=0x0002 button=0x002e [2015-11-06T19:39:39] DEBUG1: send key up to "uk-jlmartin-deb7-64" id=99, mask=0x0002, button=0x002e [2015-11-06T19:39:39] DEBUG1: hook: 0x000000a2 0x801d0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x060000a2 0x801d0001 [2015-11-06T19:39:39] DEBUG1: hook: 0x070000a2 0x801d0001 [2015-11-06T19:39:39] DEBUG1: event: Key char=0, vk=0xa2, nagr=0, lParam=0x801d0001 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0002 [2015-11-06T19:39:39] DEBUG1: new mask: 0x0000 [2015-11-06T19:39:39] DEBUG1: onKeyUp id=61411 mask=0x0000 button=0x001d [2015-11-06T19:39:39] DEBUG1: send key up to "uk-jlmartin-deb7-64" id=61411, mask=0x0000, button=0x001d [2015-11-06T19:39:40] DEBUG1: try to leave "uk-jlmartin-deb7-64" on right [2015-11-06T19:39:40] INFO: switch from "uk-jlmartin-deb7-64" to "uk-jlmartin" at 33,374 [2015-11-06T19:39:40] DEBUG1: send leave to "uk-jlmartin-deb7-64" [2015-11-06T19:39:40] INFO: entering screen [2015-11-06T19:39:40] DEBUG1: thread 0x00001f58 entry [2015-11-06T19:39:40] DEBUG1: thread 0x00001f58 exit [2015-11-06T19:39:40] DEBUG1: try to leave "uk-jlmartin" on left [2015-11-06T19:39:40] INFO: switch from "uk-jlmartin" to "uk-jlmartin-deb7-64" at 1919,378 [2015-11-06T19:39:40] INFO: leaving screen [2015-11-06T19:39:41] DEBUG1: warping cursor to center: +960, +600 [2015-11-06T19:39:41] DEBUG1: modifiers on update: 0x0000 [2015-11-06T19:39:41] DEBUG1: send enter to "uk-jlmartin-deb7-64", 1919,378 11 0000 [2015-11-06T19:39:41] DEBUG1: thread 0x00003228 entry [2015-11-06T19:39:41] DEBUG1: thread 0x00003228 exit [2015-11-06T19:39:41] DEBUG: dropped bogus delta motion: -973,-221 [2015-11-06T19:39:41] DEBUG1: try to leave "uk-jlmartin-deb7-64" on right [2015-11-06T19:39:41] INFO: switch from "uk-jlmartin-deb7-64" to "uk-jlmartin" at 39,431 [2015-11-06T19:39:41] DEBUG1: send leave to "uk-jlmartin-deb7-64" [2015-11-06T19:39:41] INFO: entering screen [2015-11-06T19:39:41] DEBUG1: thread 0x00002ff0 entry [2015-11-06T19:39:41] DEBUG1: thread 0x00002ff0 exit [2015-11-06T19:39:41] DEBUG: start receiving clipboard data [2015-11-06T19:39:41] DEBUG: receiving clipboard 0 size=23 [2015-11-06T19:39:41] DEBUG: received client "uk-jlmartin-deb7-64" clipboard 0 seqnum=11, size=23 [2015-11-06T19:39:41] DEBUG: start receiving clipboard data [2015-11-06T19:39:41] DEBUG: receiving clipboard 1 size=23 [2015-11-06T19:39:41] DEBUG: received client "uk-jlmartin-deb7-64" clipboard 1 seqnum=11, size=23 [2015-11-06T19:39:41] INFO: screen "uk-jlmartin-deb7-64" updated clipboard 0 [2015-11-06T19:39:41] DEBUG: open clipboard [2015-11-06T19:39:41] DEBUG: empty clipboard [2015-11-06T19:39:41] DEBUG: add 11 bytes to clipboard format: 0 [2015-11-06T19:39:41] DEBUG: close clipboard [2015-11-06T19:39:41] INFO: screen "uk-jlmartin-deb7-64" updated clipboard 1 [2015-11-06T19:39:41] DEBUG: open clipboard [2015-11-06T19:39:41] DEBUG: empty clipboard [2015-11-06T19:39:41] DEBUG: add 11 bytes to clipboard format: 0 [2015-11-06T19:39:41] DEBUG: close clipboard [2015-11-06T19:39:44] DEBUG: start receiving clipboard data [2015-11-06T19:39:44] DEBUG: receiving clipboard 0 size=4 [2015-11-06T19:39:44] DEBUG: received client "uk-jlmartin-deb7-64" clipboard 0 seqnum=11, size=4 [2015-11-06T19:39:44] INFO: screen "uk-jlmartin-deb7-64" updated clipboard 0 [2015-11-06T19:39:44] DEBUG: open clipboard [2015-11-06T19:39:44] DEBUG: empty clipboard [2015-11-06T19:39:44] DEBUG: close clipboard [2015-11-06T19:39:46] DEBUG: start receiving clipboard data [2015-11-06T19:39:46] DEBUG: receiving clipboard 1 size=4 [2015-11-06T19:39:46] DEBUG: received client "uk-jlmartin-deb7-64" clipboard 1 seqnum=11, size=4 [2015-11-06T19:39:46] INFO: screen "uk-jlmartin-deb7-64" updated clipboard 1 [2015-11-06T19:39:46] DEBUG: open clipboard [2015-11-06T19:39:46] DEBUG: empty clipboard [2015-11-06T19:39:46] DEBUG: close clipboard [/size]
Link to post
Share on other sites
Ayden Beeson
I've been having similar clipboard issues that seem exactly like this. I'll also add, i've noticed if you add a large item to the clipboard in windows and attempt to move to a linux host, it will crash the client and / or the server process as well. I believe this is SSL related, but not 100% sure.
Link to post
Share on other sites
Doug Barbieri
[quote="Ayden Beeson"]I'll also add, i've noticed if you add a large item to the clipboard in windows and attempt to move to a linux host, it will crash the client and / or the server process as well. I believe this is SSL related, but not 100% sure.[/quote] Me too! It do believe it's clipboard related. I have a linux host and a Win7 client. Normally I can move back and forth between the screens seamlessly, but when I copy something into the clipboard from the windows side (I think it does have something to do with larger payloads), and then move back into linux, then try to move into windows, I am unable to cross the threshold. I have to shutdown the server, then restart and wait for the client to reconnect. Interestingly, I never see any status in the log to indicate anything crashed.
Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...