Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard Sharing Stops Working After Extended Use (Ubuntu 22.04 Server - Windows 11 Client) #2104

Open
wxwok opened this issue Nov 9, 2024 · 1 comment

Comments

@wxwok
Copy link

wxwok commented Nov 9, 2024

What happened?

Description

The clipboard-sharing functionality in Barrier stops working after extended use between an Ubuntu 22.04 server and a Windows 11 client. Copying content from one machine fails to paste it onto the other machine. The issue can be temporarily resolved by restarting the Barrier server but reoccurs after continued use.
The issue can be temporarily resolved by restarting the Barrier server, but it reoccurs after continued use.

Steps to Reproduce

  1. Set up Barrier with Ubuntu 22.04 as the server and Windows 11 as the client
  2. Use Barrier normally with clipboard sharing between machines
  3. After extended use (varying time), attempt to copy content from one machine and paste it on the other
  4. Observe that the clipboard sharing stops working

Expected Behavior

Clipboard sharing should continue consistently between machines regardless of how long Barrier has run.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Github

What OSes are you seeing the problem on? (Check all that apply)

Linux, Windows

What OS versions are you using?

System Setup

  • Server: Ubuntu 22.04
  • Client: Windows 11
  • Barrier version: v2.4.0
  • Installation source: GitHub repository

Relevant log output

[2024-11-09T15:01:25] INFO: switch from "legion" to "dream" at 0,597
[2024-11-09T15:01:25] INFO: leaving screen
[2024-11-09T15:01:47] INFO: switch from "dream" to "legion" at 5732,865
[2024-11-09T15:01:47] INFO: entering screen
[2024-11-09T15:02:11] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T15:02:11] INFO: screen "dream" grabbed clipboard 1 from "legion"
[2024-11-09T15:02:11] INFO: screen "dream" updated clipboard 0
[2024-11-09T15:02:11] INFO: screen "dream" updated clipboard 1
[2024-11-09T15:02:15] INFO: switch from "legion" to "dream" at 0,577
[2024-11-09T15:02:15] INFO: leaving screen
[2024-11-09T15:02:22] INFO: switch from "dream" to "legion" at 5754,795
[2024-11-09T15:02:22] INFO: entering screen
[2024-11-09T15:02:23] INFO: switch from "legion" to "dream" at 0,419
[2024-11-09T15:02:23] INFO: leaving screen
[2024-11-09T15:03:50] INFO: switch from "dream" to "legion" at 5755,912
[2024-11-09T15:03:50] INFO: entering screen
[2024-11-09T15:13:22] INFO: switch from "legion" to "dream" at 0,534
[2024-11-09T15:13:22] INFO: leaving screen
[2024-11-09T15:13:31] INFO: switch from "dream" to "legion" at 5755,645
[2024-11-09T15:13:31] INFO: entering screen
[2024-11-09T15:13:38] NOTE: client "dream" has disconnected
[2024-11-09T15:13:42] INFO: OpenSSL 3.0.2 15 Mar 2022
[2024-11-09T15:13:42] INFO: accepted secure socket
[2024-11-09T15:13:42] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2024-11-09T15:13:42] NOTE: accepted client connection
[2024-11-09T15:13:42] NOTE: client "dream" has connected
[2024-11-09T15:13:42] INFO: switch from "legion" to "dream" at 0,1143
[2024-11-09T15:13:42] INFO: leaving screen
[2024-11-09T15:13:45] NOTE: client "dream" has disconnected
[2024-11-09T15:13:45] INFO: jump from "dream" to "legion" at 3840,1226
[2024-11-09T15:13:45] INFO: entering screen
[2024-11-09T15:13:51] INFO: OpenSSL 3.0.2 15 Mar 2022
[2024-11-09T15:13:51] INFO: accepted secure socket
[2024-11-09T15:13:51] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2024-11-09T15:13:51] NOTE: accepted client connection
[2024-11-09T15:13:51] NOTE: client "dream" has connected
[2024-11-09T15:14:17] INFO: switch from "legion" to "dream" at 0,601
[2024-11-09T15:14:17] INFO: leaving screen
[2024-11-09T15:14:17] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T15:16:16] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T15:16:16] INFO: screen "dream" grabbed clipboard 1 from "dream"
[2024-11-09T15:16:16] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T15:40:22] INFO: switch from "dream" to "legion" at 5751,767
[2024-11-09T15:40:22] INFO: entering screen
[2024-11-09T15:40:22] INFO: switch from "legion" to "dream" at 0,385
[2024-11-09T15:40:22] INFO: leaving screen
[2024-11-09T15:40:22] INFO: screen "legion" updated clipboard 0
[2024-11-09T15:40:22] INFO: switch from "dream" to "legion" at 5733,507
[2024-11-09T15:40:22] INFO: entering screen
[2024-11-09T15:40:22] INFO: screen "dream" updated clipboard 1
[2024-11-09T15:40:28] INFO: switch from "legion" to "dream" at 0,688
[2024-11-09T15:40:28] INFO: leaving screen
[2024-11-09T15:47:01] INFO: switch from "dream" to "legion" at 5733,1084
[2024-11-09T15:47:01] INFO: entering screen
[2024-11-09T15:47:01] INFO: screen "dream" updated clipboard 1
[2024-11-09T15:47:11] INFO: stopping barrier desktop process
[2024-11-09T15:47:11] NOTE: disconnecting client "dream"
[2024-11-09T15:47:11] NOTE: client "dream" has disconnected
[2024-11-09T15:47:11] NOTE: stopped server
[2024-11-09T15:47:11] INFO: process exited normally

[2024-11-09T15:47:12] INFO: starting server
[2024-11-09T15:47:12] INFO: config file: /tmp/Barrier.qbWghd
[2024-11-09T15:47:12] INFO: log level: INFO
started server (IPv4/IPv6), waiting for clients
[2024-11-09T15:47:12] INFO: OpenSSL 3.0.2 15 Mar 2022
[2024-11-09T15:47:12] INFO: accepted secure socket
[2024-11-09T15:47:12] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2024-11-09T15:47:12] NOTE: accepted client connection
[2024-11-09T15:47:12] NOTE: client "dream" has connected
[2024-11-09T15:47:13] INFO: switch from "legion" to "dream" at 0,550
[2024-11-09T15:47:13] INFO: leaving screen
[2024-11-09T15:47:13] INFO: screen "legion" updated clipboard 0
[2024-11-09T15:47:19] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T15:47:19] INFO: screen "dream" grabbed clipboard 1 from "legion"
[2024-11-09T15:47:19] INFO: switch from "dream" to "legion" at 5740,1444
[2024-11-09T15:47:19] INFO: entering screen
[2024-11-09T15:47:19] INFO: screen "dream" updated clipboard 0
[2024-11-09T15:47:19] INFO: screen "dream" updated clipboard 1
[2024-11-09T15:53:11] INFO: switch from "legion" to "dream" at 0,203
[2024-11-09T15:53:11] INFO: leaving screen
[2024-11-09T15:53:12] INFO: switch from "dream" to "legion" at 5747,880
[2024-11-09T15:53:12] INFO: entering screen
[2024-11-09T15:53:14] INFO: switch from "legion" to "dream" at 0,527
[2024-11-09T15:53:14] INFO: leaving screen
[2024-11-09T15:53:18] INFO: switch from "dream" to "legion" at 5757,1304
[2024-11-09T15:53:18] INFO: entering screen
[2024-11-09T15:53:29] INFO: switch from "legion" to "dream" at 0,472
[2024-11-09T15:53:29] INFO: leaving screen
[2024-11-09T15:53:34] INFO: switch from "dream" to "legion" at 5755,1860
[2024-11-09T15:53:34] INFO: entering screen
[2024-11-09T15:53:43] INFO: switch from "legion" to "dream" at 0,604
[2024-11-09T15:53:43] INFO: leaving screen
[2024-11-09T15:53:59] INFO: switch from "dream" to "legion" at 5728,915
[2024-11-09T15:53:59] INFO: entering screen
[2024-11-09T15:54:16] INFO: screen "legion" grabbed clipboard 1 from "dream"
[2024-11-09T15:54:18] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T15:54:29] INFO: switch from "legion" to "dream" at 0,330
[2024-11-09T15:54:29] INFO: leaving screen
[2024-11-09T15:54:29] INFO: screen "legion" updated clipboard 0
[2024-11-09T15:54:29] INFO: screen "legion" updated clipboard 1
[2024-11-09T15:54:29] INFO: switch from "dream" to "legion" at 5756,535
[2024-11-09T15:54:29] INFO: entering screen
[2024-11-09T15:56:01] INFO: switch from "legion" to "dream" at 0,734
[2024-11-09T15:56:01] INFO: leaving screen
[2024-11-09T16:12:40] INFO: switch from "dream" to "legion" at 5638,1360
[2024-11-09T16:12:40] INFO: entering screen
[2024-11-09T16:12:43] INFO: switch from "legion" to "dream" at 0,607
[2024-11-09T16:12:43] INFO: leaving screen
[2024-11-09T16:13:14] INFO: switch from "dream" to "legion" at 5601,584
[2024-11-09T16:13:14] INFO: entering screen
[2024-11-09T16:14:52] INFO: switch from "legion" to "dream" at 0,442
[2024-11-09T16:14:52] INFO: leaving screen
[2024-11-09T16:15:34] INFO: switch from "dream" to "legion" at 5745,822
[2024-11-09T16:15:34] INFO: entering screen
[2024-11-09T16:16:29] INFO: switch from "legion" to "dream" at 0,714
[2024-11-09T16:16:29] INFO: leaving screen
[2024-11-09T16:16:45] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T16:16:45] INFO: screen "dream" grabbed clipboard 1 from "legion"
[2024-11-09T16:16:46] INFO: switch from "dream" to "legion" at 5682,990
[2024-11-09T16:16:46] INFO: entering screen
[2024-11-09T16:16:46] INFO: screen "dream" updated clipboard 0
[2024-11-09T16:16:46] INFO: screen "dream" updated clipboard 1
[2024-11-09T16:21:59] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T16:22:01] INFO: switch from "legion" to "dream" at 0,458
[2024-11-09T16:22:01] INFO: leaving screen
[2024-11-09T16:22:01] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:24:58] INFO: switch from "dream" to "legion" at 5730,507
[2024-11-09T16:24:58] INFO: entering screen
[2024-11-09T16:24:58] INFO: screen "dream" updated clipboard 1
[2024-11-09T16:30:28] INFO: switch from "legion" to "dream" at 0,474
[2024-11-09T16:30:28] INFO: leaving screen
[2024-11-09T16:31:12] INFO: switch from "dream" to "legion" at 5748,377
[2024-11-09T16:31:12] INFO: entering screen
[2024-11-09T16:31:23] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T16:31:23] INFO: screen "dream" grabbed clipboard 1 from "dream"
[2024-11-09T16:31:38] INFO: switch from "legion" to "dream" at 0,646
[2024-11-09T16:31:38] INFO: leaving screen
[2024-11-09T16:31:40] INFO: switch from "dream" to "legion" at 5758,1407
[2024-11-09T16:31:40] INFO: entering screen
[2024-11-09T16:31:40] INFO: screen "dream" updated clipboard 0
[2024-11-09T16:31:40] INFO: screen "dream" updated clipboard 1
[2024-11-09T16:31:41] INFO: switch from "legion" to "dream" at 0,746
[2024-11-09T16:31:41] INFO: leaving screen
[2024-11-09T16:33:15] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T16:33:23] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T16:33:23] INFO: screen "dream" grabbed clipboard 1 from "dream"
[2024-11-09T16:33:23] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T16:33:30] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T16:33:30] INFO: screen "dream" grabbed clipboard 1 from "dream"
[2024-11-09T16:33:30] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T16:33:38] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T16:33:38] INFO: screen "dream" grabbed clipboard 1 from "dream"
[2024-11-09T16:33:50] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T16:34:26] INFO: switch from "dream" to "legion" at 5744,899
[2024-11-09T16:34:26] INFO: entering screen
[2024-11-09T16:35:26] INFO: screen "legion" grabbed clipboard 1 from "dream"
[2024-11-09T16:35:30] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T16:35:30] INFO: ignored screen "dream" grab of clipboard 1
[2024-11-09T16:35:30] INFO: ignored screen "dream" update of clipboard 1 (missequenced)
[2024-11-09T16:35:36] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T16:35:36] INFO: ignored screen "dream" grab of clipboard 0
[2024-11-09T16:35:36] INFO: ignored screen "dream" grab of clipboard 1
[2024-11-09T16:35:36] INFO: ignored screen "dream" update of clipboard 0 (missequenced)
[2024-11-09T16:35:36] INFO: ignored screen "dream" update of clipboard 1 (missequenced)
[2024-11-09T16:37:21] INFO: switch from "legion" to "dream" at 0,619
[2024-11-09T16:37:21] INFO: leaving screen
[2024-11-09T16:37:21] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:37:21] INFO: screen "legion" updated clipboard 1
[2024-11-09T16:38:16] INFO: switch from "dream" to "legion" at 5719,636
[2024-11-09T16:38:16] INFO: entering screen
[2024-11-09T16:39:31] INFO: switch from "legion" to "dream" at 0,751
[2024-11-09T16:39:31] INFO: leaving screen
[2024-11-09T16:39:31] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:43:08] INFO: switch from "dream" to "legion" at 5590,1909
[2024-11-09T16:43:08] INFO: entering screen
[2024-11-09T16:43:31] INFO: switch from "legion" to "dream" at 0,589
[2024-11-09T16:43:31] INFO: leaving screen
[2024-11-09T16:43:31] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:43:39] INFO: switch from "dream" to "legion" at 5615,820
[2024-11-09T16:43:39] INFO: entering screen
[2024-11-09T16:43:42] INFO: switch from "legion" to "dream" at 0,421
[2024-11-09T16:43:42] INFO: leaving screen
[2024-11-09T16:43:42] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:43:58] INFO: switch from "dream" to "legion" at 5555,1568
[2024-11-09T16:43:58] INFO: entering screen
[2024-11-09T16:44:48] INFO: switch from "legion" to "dream" at 0,413
[2024-11-09T16:44:48] INFO: leaving screen
[2024-11-09T16:44:48] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:48:03] INFO: switch from "dream" to "legion" at 5636,1154
[2024-11-09T16:48:03] INFO: entering screen
[2024-11-09T16:48:03] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T16:48:03] INFO: screen "dream" grabbed clipboard 1 from "legion"
[2024-11-09T16:48:03] INFO: screen "dream" updated clipboard 0
[2024-11-09T16:48:03] INFO: screen "dream" updated clipboard 1
[2024-11-09T16:48:07] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T16:48:07] INFO: screen "legion" grabbed clipboard 1 from "dream"
[2024-11-09T16:48:09] INFO: switch from "legion" to "dream" at 0,686
[2024-11-09T16:48:09] INFO: leaving screen
[2024-11-09T16:48:09] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:48:09] INFO: screen "legion" updated clipboard 1
[2024-11-09T16:49:07] INFO: switch from "dream" to "legion" at 5752,1058
[2024-11-09T16:49:07] INFO: entering screen
[2024-11-09T16:49:07] INFO: switch from "legion" to "dream" at 0,642
[2024-11-09T16:49:07] INFO: leaving screen
[2024-11-09T16:49:07] INFO: screen "legion" updated clipboard 0
[2024-11-09T16:50:10] INFO: switch from "dream" to "legion" at 5758,1649
[2024-11-09T16:50:10] INFO: entering screen
[2024-11-09T16:50:11] INFO: switch from "legion" to "dream" at 0,828
[2024-11-09T16:50:11] INFO: leaving screen
[2024-11-09T17:01:56] INFO: switch from "dream" to "legion" at 5715,964
[2024-11-09T17:01:56] INFO: entering screen
[2024-11-09T17:12:40] INFO: switch from "legion" to "dream" at 0,705
[2024-11-09T17:12:40] INFO: leaving screen
[2024-11-09T17:12:40] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:12:40] INFO: screen "legion" updated clipboard 1
[2024-11-09T17:12:40] INFO: switch from "dream" to "legion" at 5740,1352
[2024-11-09T17:12:40] INFO: entering screen
[2024-11-09T17:12:40] INFO: switch from "legion" to "dream" at 0,725
[2024-11-09T17:12:40] INFO: leaving screen
[2024-11-09T17:12:40] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:12:41] INFO: switch from "dream" to "legion" at 5657,1536
[2024-11-09T17:12:41] INFO: entering screen
[2024-11-09T17:12:44] INFO: switch from "legion" to "dream" at 0,545
[2024-11-09T17:12:44] INFO: leaving screen
[2024-11-09T17:12:44] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:15:45] NOTE: client "dream" has disconnected
[2024-11-09T17:15:45] INFO: jump from "dream" to "legion" at 3840,1226
[2024-11-09T17:15:45] INFO: entering screen
[2024-11-09T17:15:49] INFO: OpenSSL 3.0.2 15 Mar 2022
[2024-11-09T17:15:49] INFO: accepted secure socket
[2024-11-09T17:15:49] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2024-11-09T17:15:49] NOTE: accepted client connection
[2024-11-09T17:15:49] NOTE: client "dream" has connected
[2024-11-09T17:15:49] INFO: switch from "legion" to "dream" at 0,1173
[2024-11-09T17:15:49] INFO: leaving screen
[2024-11-09T17:15:50] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:15:50] INFO: switch from "dream" to "legion" at 5725,2273
[2024-11-09T17:15:50] INFO: entering screen
[2024-11-09T17:15:50] INFO: switch from "legion" to "dream" at 0,1210
[2024-11-09T17:15:50] INFO: leaving screen
[2024-11-09T17:15:50] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:15:52] NOTE: client "dream" has disconnected
[2024-11-09T17:15:52] INFO: jump from "dream" to "legion" at 3840,1226
[2024-11-09T17:15:52] INFO: entering screen
[2024-11-09T17:15:56] INFO: OpenSSL 3.0.2 15 Mar 2022
[2024-11-09T17:15:56] INFO: accepted secure socket
[2024-11-09T17:15:56] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2024-11-09T17:15:56] NOTE: accepted client connection
[2024-11-09T17:15:56] NOTE: client "dream" has connected
[2024-11-09T17:15:56] INFO: switch from "legion" to "dream" at 0,1185
[2024-11-09T17:15:56] INFO: leaving screen
[2024-11-09T17:15:56] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:17:14] INFO: switch from "dream" to "legion" at 5718,1444
[2024-11-09T17:17:14] INFO: entering screen
[2024-11-09T17:17:30] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T17:17:30] INFO: screen "dream" grabbed clipboard 1 from "legion"
[2024-11-09T17:17:59] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T17:17:59] INFO: screen "legion" grabbed clipboard 1 from "dream"
[2024-11-09T17:17:59] INFO: ignored screen "dream" grab of clipboard 0
[2024-11-09T17:17:59] INFO: ignored screen "dream" grab of clipboard 1
[2024-11-09T17:17:59] INFO: ignored screen "dream" update of clipboard 0 (missequenced)
[2024-11-09T17:17:59] INFO: ignored screen "dream" update of clipboard 1 (missequenced)
[2024-11-09T17:19:27] INFO: switch from "legion" to "dream" at 0,865
[2024-11-09T17:19:27] INFO: leaving screen
[2024-11-09T17:19:27] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:19:27] INFO: screen "legion" updated clipboard 1
[2024-11-09T17:19:27] INFO: switch from "dream" to "legion" at 5748,1692
[2024-11-09T17:19:27] INFO: entering screen
[2024-11-09T17:20:38] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T17:20:38] INFO: screen "dream" grabbed clipboard 1 from "legion"
[2024-11-09T17:20:50] INFO: screen "legion" grabbed clipboard 0 from "dream"
[2024-11-09T17:20:50] INFO: screen "legion" grabbed clipboard 1 from "dream"
[2024-11-09T17:21:01] INFO: switch from "legion" to "dream" at 0,516
[2024-11-09T17:21:01] INFO: leaving screen
[2024-11-09T17:21:01] INFO: screen "legion" updated clipboard 0
[2024-11-09T17:21:01] INFO: screen "legion" updated clipboard 1
[2024-11-09T17:21:52] INFO: switch from "dream" to "legion" at 5687,1474
[2024-11-09T17:21:52] INFO: entering screen
[2024-11-09T17:22:30] INFO: screen "dream" grabbed clipboard 0 from "legion"
[2024-11-09T17:22:30] INFO: screen "dream" grabbed clipboard 1 from "legion"

Any other information

No response

@klesun
Copy link

klesun commented Dec 12, 2024

Same issue when using Windows 11 as server and Mac OS as client. Clipboard works in the beginning, but after some hours it stops working and Barrier has to be restarted to make clipboard work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants