Closed totaam closed 5 years ago
Clipboard sharing does not work with xpra v3.0-r22234 and higher. What's the latest version of the v3.0 beta that you've tried? How does it "not work"? No copying at all? In any direction? Any errors in the logs?
There were a number of updates and fixes, some are tracked in #812 and #2338. The latest potentially relevant fixes are in r23005.
What's the latest version of the v3.0 beta that you've tried?
xpra v3.0-r23019
How does it "not work"? No copying at all? In any direction?
Not copying at all in both directions. The clipboard works only within the vfb itself.
Any errors in the logs?
==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 15:59:47,143 Warning: CLIPBOARD selection request for 'TARGETS' timed out ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 15:59:47,144 client @10.613 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:47,145 client @10.614 request 0 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 15:59:47,145 request 0 at time=0 2019-06-29 15:59:47,653 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:47,654 request 1 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 15:59:47,655 client @11.123 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:47,656 client @11.124 request 1 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 15:59:48,196 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:48,197 request 2 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 15:59:48,198 client @11.666 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:48,200 client @11.667 request 2 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 15:59:49,858 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:49,859 request 3 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 15:59:49,860 client @13.328 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:49,862 client @13.329 request 3 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 15:59:50,365 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:50,366 request 4 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 15:59:50,366 client @13.835 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:50,369 client @13.836 request 4 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 15:59:52,582 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:52,583 request 5 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 15:59:52,583 client @16.052 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:52,585 client @16.053 request 5 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 15:59:53,090 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:53,091 request 6 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 15:59:53,091 client @16.560 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 15:59:53,094 client @16.561 request 6 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 16:00:00,102 Warning: CLIPBOARD selection request for 'TARGETS' timed out ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 16:00:00,103 client @23.572 Warning: CLIPBOARD selection request for 'TARGETS' timed out ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 16:00:00,103 request 7 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 16:00:00,103 client @23.573 request 7 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraclient.log <== 2019-06-29 16:00:00,608 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 16:00:00,609 request 8 at time=0 ==> /home/lauscher/.cache/x11docker/jess-firefox-9d49a1/xpraserver.log <== 2019-06-29 16:00:00,611 client @24.078 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2019-06-29 16:00:00,613 client @24.079 request 8 at time=0
Further clips on server or client side do not trigger new log entries.
Can you give me simple steps to reproduce?
Finally I could track it down: If the xpra client runs with
--xsettings=no
, the clipboard sharing does not work anymore.Sorry, I should have checked with simple setups first.
Edit: Example to reproduce:
xpra start :30 --xvfb="/usr/bin/Xvfb :30" --start "mousepad" --daemon=no --clipboard=yes
xpra attach :30 --xsettings=no
I can reproduce. Must be some refactoring gone wrong: xsettings and clipboard share the same X11 selection mechanism.
Issue migrated from trac ticket # 2342
component: clipboard | priority: blocker | resolution: fixed
2019-06-29 14:39:22: mviereck created the issue