[GH-ISSUE #1754] big clipboard content makes Linux server keyboard/mouse freeze when pointer moves to Windows client #1296

Open
opened 2026-05-05 07:42:23 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @davebiffuk on GitHub (Aug 23, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1754

What happened?

  1. with the pointer in the Linux (server) desktop, copy something large to the clipboard (e.g. via alt-printscreen and "copy to clipboard" to copy a image of the whole screen)
  2. try to move the pointer to the Windows (client) desktop
  3. notice that the Linux (server) keyboard and mouse input are no longer acted on; the Windows (client) keyboard and mouse still work as expected, on the Windows desktop

The situation can be recovered from by ssh'ing to the Linux server and killing the barrier process. The system tray part of the snap notices it has died and restarts it.

This is 100% reproducible with Ubuntu 18.04 barrier server (barrier 2.4.0-4-gac5a1bfd installed as a "snap") and Windows 10 version 20H2 barrier client (barrier 2.4.0-release-3e0d758b)

Version

v2.4.0

Git commit hash (if applicable)

gac5a1bfd

If applicable, where did you install Barrier from?

Linux server: from snap 2.4.0-4-gac5a1bfd

Windows client: from BarrierSetup-2.4.0-release.exe downloaded from Github

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

Linux, Windows

What OS versions are you using?

Linux: Ubuntu 18.04

Windows 10 20H2

Relevant log output

none in "show log" on either server or client

Any other information

No response

Originally created by @davebiffuk on GitHub (Aug 23, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1754 ### What happened? 1. with the pointer in the Linux (server) desktop, copy something large to the clipboard (e.g. via alt-printscreen and "copy to clipboard" to copy a image of the whole screen) 2. try to move the pointer to the Windows (client) desktop 3. notice that the Linux (server) keyboard and mouse input are no longer acted on; the Windows (client) keyboard and mouse still work as expected, on the Windows desktop The situation can be recovered from by ssh'ing to the Linux server and killing the barrier process. The system tray part of the snap notices it has died and restarts it. This is 100% reproducible with Ubuntu 18.04 barrier server (barrier 2.4.0-4-gac5a1bfd installed as a "snap") and Windows 10 version 20H2 barrier client (barrier 2.4.0-release-3e0d758b) ### Version v2.4.0 ### Git commit hash (if applicable) gac5a1bfd ### If applicable, where did you install Barrier from? Linux server: from snap 2.4.0-4-gac5a1bfd Windows client: from BarrierSetup-2.4.0-release.exe downloaded from Github ### What OSes are you seeing the problem on? (Check all that apply) Linux, Windows ### What OS versions are you using? Linux: Ubuntu 18.04 Windows 10 20H2 ### Relevant log output ```shell none in "show log" on either server or client ``` ### Any other information _No response_
Author
Owner

@davebiffuk commented on GitHub (Aug 23, 2022):

This is probably the same cause: https://github.com/debauchee/barrier/issues/1248#issuecomment-916411048

<!-- gh-comment-id:1224286932 --> @davebiffuk commented on GitHub (Aug 23, 2022): This is probably the same cause: https://github.com/debauchee/barrier/issues/1248#issuecomment-916411048
Author
Owner

@davebiffuk commented on GitHub (Aug 24, 2022):

I enabled debug logging and reproduced this, and the messages on the server side were:

[2022-08-24T08:59:06] DEBUG: open clipboard 0
[2022-08-24T08:59:06] DEBUG: ICCCM fill clipboard 0
[2022-08-24T08:59:06] DEBUG:   available targets: TARGETS (536), MULTIPLE (533), image/tiff (699), image/jpeg (698), image/x-MS-bmp (689)
[2022-08-24T08:59:14] DEBUG: ssl connection closed

and on the client side:

[2022-08-24T08:59:14] NOTE: server is dead
[2022-08-24T08:59:14] DEBUG: Closing socket: FB8B9B00
[2022-08-24T08:59:14] WARNING: failed to connect to server: server is not responding
[2022-08-24T08:59:14] DEBUG: retry in 1 seconds

Is there any further debug info I can provide?

<!-- gh-comment-id:1225342214 --> @davebiffuk commented on GitHub (Aug 24, 2022): I enabled debug logging and reproduced this, and the messages on the server side were: ``` [2022-08-24T08:59:06] DEBUG: open clipboard 0 [2022-08-24T08:59:06] DEBUG: ICCCM fill clipboard 0 [2022-08-24T08:59:06] DEBUG: available targets: TARGETS (536), MULTIPLE (533), image/tiff (699), image/jpeg (698), image/x-MS-bmp (689) [2022-08-24T08:59:14] DEBUG: ssl connection closed ``` and on the client side: ``` [2022-08-24T08:59:14] NOTE: server is dead [2022-08-24T08:59:14] DEBUG: Closing socket: FB8B9B00 [2022-08-24T08:59:14] WARNING: failed to connect to server: server is not responding [2022-08-24T08:59:14] DEBUG: retry in 1 seconds ``` Is there any further debug info I can provide?
Author
Owner

@emisca commented on GitHub (Mar 26, 2024):

I can confirm the same issue, barrier 2.4.0-release-3e0d758b server on MacOS 14.4.1 and client (same version) on Windows 11.

Strangely if I copy in the clipboard the same image on windows, there is no issue, if I do it on the server side (macos) it creates trouble. In any case it seems that only text based clipboard works.

<!-- gh-comment-id:2020905853 --> @emisca commented on GitHub (Mar 26, 2024): I can confirm the same issue, barrier 2.4.0-release-3e0d758b server on MacOS 14.4.1 and client (same version) on Windows 11. Strangely if I copy in the clipboard the same image on windows, there is no issue, if I do it on the server side (macos) it creates trouble. In any case it seems that only text based clipboard works.
Author
Owner

@DerekVeit commented on GitHub (Mar 26, 2024):

This project seems probably abandoned, but there is an actively maintained fork of it called input-leap.
https://github.com/input-leap/input-leap

<!-- gh-comment-id:2021300866 --> @DerekVeit commented on GitHub (Mar 26, 2024): This project seems probably abandoned, but there is an actively maintained fork of it called input-leap. https://github.com/input-leap/input-leap
Author
Owner

@emisca commented on GitHub (Mar 27, 2024):

I noticed that after commenting this issue...

For now I've installed the latest build from synergy opensource code which fixes this issue: https://github.com/DEAKSoftware/Synergy-Binaries

Eagerly waiting for some release from input-leap Team :D

<!-- gh-comment-id:2022387034 --> @emisca commented on GitHub (Mar 27, 2024): I noticed that after commenting this issue... For now I've installed the latest build from synergy opensource code which fixes this issue: https://github.com/DEAKSoftware/Synergy-Binaries Eagerly waiting for some release from input-leap Team :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1296
No description provided.