Sim - e, de fato, glipper
foi o problema: no entanto, somente se estiver em execução na máquina synergy
servidor ! Estranho para mim, porque influencia a cópia / colagem na máquina do cliente localmente ...
Na verdade, agora tenho a máquina synergy
em execução sem glipper
- no entanto, com glipper
em execução na máquina synergy
client - e tudo parece funcionar bem re: copypasting!
Eu tentei obter alguns logs; isto é aproximadamente o que foi gerado como mensagens quando glipper
estava trabalhando na máquina do servidor:
log do cliente da situação do problema (com glipper
em execução no servidor):
$ synergyc -f --debug DEBUG 192.168.1.XX
INFO: Synergy 1.4.11 Client on Linux 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6
....
INFO: leaving screen
INFO: entering screen
DEBUG: recv clipboard 0 size=21
DEBUG: open clipboard 0
DEBUG: empty clipboard 0
DEBUG: grabbed clipboard 0
DEBUG: add 9 bytes to clipboard 0 format: 0
DEBUG: close clipboard 0
DEBUG: recv clipboard 1 size=21
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: add 9 bytes to clipboard 1 format: 0
DEBUG: close clipboard 1
DEBUG: lost clipboard 1 ownership at time 758675
DEBUG: lost clipboard 1 ownership at 758675
DEBUG: recv grab clipboard 1
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: close clipboard 1
DEBUG: lost clipboard 1 ownership at time 761802
DEBUG: lost clipboard 1 ownership at 761802
DEBUG: recv grab clipboard 1
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: close clipboard 1
INFO: leaving screen
DEBUG: adopting new buffer
DEBUG: discarding 1 event(s)
DEBUG: closed display
NOTE: stopped client
log do servidor da situação do problema (com glipper
em execução no servidor):
$ synergys -f --debug DEBUG -c ~/.quicksynergy/synergy.conf
INFO: Synergy 1.4.11 Server on Linux 2.6.32-44-generic #98-Ubuntu SMP Mon Sep 24 17:32:45 UTC 2012 i686
...
INFO: switch from "SynSERVER" to "SynCLIENT" at 1023,319
INFO: leaving screen
DEBUG: open clipboard 0
DEBUG: ICCCM fill clipboard 0
DEBUG: available targets: TIMESTAMP (404), TARGETS (402), MULTIPLE (403), SAVE_TARGETS (441), UTF8_STRING (277), COMPOUND_TEXT (469), TEXT (502), STRING (31), text/plain;charset=utf-8 (503), text/plain (499)
DEBUG: added format 0 for target UTF8_STRING (277) (9 bytes)
DEBUG: close clipboard 0
INFO: screen "SynSERVER" updated clipboard 0
DEBUG: open clipboard 1
DEBUG: ICCCM fill clipboard 1
DEBUG: available targets: TIMESTAMP (404), TARGETS (402), MULTIPLE (403), UTF8_STRING (277), COMPOUND_TEXT (469), TEXT (502), STRING (31), text/plain;charset=utf-8 (503), text/plain (499)
DEBUG: added format 0 for target UTF8_STRING (277) (9 bytes)
DEBUG: close clipboard 1
INFO: screen "SynSERVER" updated clipboard 1
DEBUG: send clipboard 0 to "SynCLIENT" size=21
DEBUG: send clipboard 1 to "SynCLIENT" size=21
DEBUG: received client "SynCLIENT" grabbed clipboard 1 seqnum=7
INFO: screen "SynCLIENT" grabbed clipboard 1 from "SynSERVER"
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: close clipboard 1
DEBUG: lost clipboard 1 ownership at time 809607
DEBUG: lost clipboard 1 ownership at 809607
INFO: screen "SynSERVER" grabbed clipboard 1 from "SynCLIENT"
DEBUG: send grab clipboard 1 to "SynCLIENT"
DEBUG: received client "SynCLIENT" grabbed clipboard 1 seqnum=7
INFO: screen "SynCLIENT" grabbed clipboard 1 from "SynSERVER"
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: close clipboard 1
DEBUG: lost clipboard 1 ownership at time 812691
DEBUG: lost clipboard 1 ownership at 812691
INFO: screen "SynSERVER" grabbed clipboard 1 from "SynCLIENT"
DEBUG: send grab clipboard 1 to "SynCLIENT"
NOTE: client "SynCLIENT" has disconnected
...
Uma vez que glipper
é retirado na máquina do servidor (note que killall glipper
não funciona no Lucid como acontece no Natty - assim no Lucid, eu tive que fazer ps axf | grep glipper
, e então fazer kill 1234
no número do processo), então o copypasting funciona novamente - e aqui estão alguns logs nesse caso:
log do cliente (situação OK):
$ synergyc -f --debug DEBUG 192.168.1.XX
INFO: Synergy 1.4.11 Client on Linux 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6
....
NOTE: started client
NOTE: connecting to '192.168.1.XX': 192.168.1.XX:24800
DEBUG: open clipboard 0
DEBUG: empty clipboard 0
DEBUG: grabbed clipboard 0
DEBUG: close clipboard 0
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: close clipboard 1
NOTE: connected to server
DEBUG: lost clipboard 1 ownership at time 997135
DEBUG: lost clipboard 1 ownership at 997135
DEBUG: open clipboard 1
DEBUG: ICCCM fill clipboard 1
DEBUG: available targets: TIMESTAMP (373), TARGETS (371), MULTIPLE (372), text/html (581), text/_moz_htmlcontext (588), text/_moz_htmlinfo (589), UTF8_STRING (315), COMPOUND_TEXT (510), TEXT (529), STRING (31), text/x-moz-url-priv (590)
DEBUG: added format 2 for target text/html (581) (966 bytes)
DEBUG: added format 0 for target UTF8_STRING (315) (433 bytes)
DEBUG: close clipboard 1
DEBUG: lost clipboard 0 ownership at time 998704
DEBUG: lost clipboard 0 ownership at 998704
DEBUG: open clipboard 0
DEBUG: ICCCM fill clipboard 0
DEBUG: available targets: TIMESTAMP (373), TARGETS (371), MULTIPLE (372), SAVE_TARGETS (499), text/html (581), text/_moz_htmlcontext (588), text/_moz_htmlinfo (589), UTF8_STRING (315), COMPOUND_TEXT (510), TEXT (529), STRING (31), text/x-moz-url-priv (590)
DEBUG: added format 2 for target text/html (581) (966 bytes)
DEBUG: added format 0 for target UTF8_STRING (315) (433 bytes)
DEBUG: close clipboard 0
^CDEBUG: adopting new buffer
DEBUG: discarding 1 event(s)
DEBUG: closed display
NOTE: stopped client
log do servidor (situação OK):
$ synergys -f --debug DEBUG -c /home/USERNAME/.quicksynergy/synergy.conf
INFO: Synergy 1.4.11 Server on Linux 2.6.32-44-generic #98-Ubuntu SMP Mon Sep 24
...
NOTE: accepted client connection
DEBUG: received client "SynCLIENT" info shape=0,0 1024x600 at 642,225
NOTE: client "SynCLIENT" has connected
DEBUG: received client "SynCLIENT" grabbed clipboard 1 seqnum=0
INFO: screen "SynCLIENT" grabbed clipboard 1 from "SynSERVER"
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: close clipboard 1
DEBUG: received client "SynCLIENT" clipboard 1 seqnum=0, size=935
INFO: screen "SynCLIENT" updated clipboard 1
DEBUG: open clipboard 1
DEBUG: empty clipboard 1
DEBUG: grabbed clipboard 1
DEBUG: add 433 bytes to clipboard 1 format: 0
DEBUG: add 482 bytes to clipboard 1 format: 2
DEBUG: close clipboard 1
DEBUG: received client "SynCLIENT" grabbed clipboard 0 seqnum=0
INFO: screen "SynCLIENT" grabbed clipboard 0 from "SynSERVER"
DEBUG: open clipboard 0
DEBUG: empty clipboard 0
DEBUG: grabbed clipboard 0
DEBUG: close clipboard 0
DEBUG: received client "SynCLIENT" clipboard 0 seqnum=0, size=935
INFO: screen "SynCLIENT" updated clipboard 0
DEBUG: open clipboard 0
DEBUG: empty clipboard 0
DEBUG: grabbed clipboard 0
DEBUG: add 433 bytes to clipboard 0 format: 0
DEBUG: add 482 bytes to clipboard 0 format: 2
DEBUG: close clipboard 0
NOTE: client "SynCLIENT" has disconnected
Observe que o cliente relata " perda da propriedade da área de transferência 1 " quando copiar / colar funciona e quando não; a diferença que posso ver entre o caso de trabalho e o de não trabalho é que, no caso de trabalho, o cliente mostra mensagens como " ICCCM preencher área de transferência 1 " e " destinos disponíveis: TIMESTAMP (373 ), ... ".
Bem, além disso, não posso realmente dizer que entendi muito bem esses registros - mas espero que eles possam ajudar alguém :)
,
Felicidades!