[GH-ISSUE #298] Mouse Keyboard Intermittently freezes and hits enter about 600 times #240

Closed
opened 2026-05-05 05:46:09 -06:00 by gitea-mirror · 17 comments
Owner

Originally created by @decarlo-cliff on GitHub (May 1, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/298

Operating Systems

Server: Windows 10 64-bit 1809

Client: Ubuntu 18.04

Barrier Version

barrierc 2.2.0-snapshot
Protocol version 1.6

Steps to reproduce bug

Occasionally (and seemingly randomly) I will have my mouse just kind of "freeze". If I am only moving the mouse at this point in time, it seems to only affect the mouse. But if I happen to be typing at the moment this happens, it seems to be pressing the enter key around 600 times. It seems to resolve itself after about 10-15 seconds, at which point everything starts to function normally. I've tried to start the barrier client in my lightdm configuration file with logging turned on, but the client does not seem to start with lightdm when I have the options to turn on logging.

Originally created by @decarlo-cliff on GitHub (May 1, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/298 ### Operating Systems ### Server: Windows 10 64-bit 1809 Client: Ubuntu 18.04 ### Barrier Version ### barrierc 2.2.0-snapshot Protocol version 1.6 ### Steps to reproduce bug ### Occasionally (and seemingly randomly) I will have my mouse just kind of "freeze". If I am only moving the mouse at this point in time, it seems to only affect the mouse. But if I happen to be typing at the moment this happens, it seems to be pressing the enter key around 600 times. It seems to resolve itself after about 10-15 seconds, at which point everything starts to function normally. I've tried to start the barrier client in my lightdm configuration file with logging turned on, but the client does not seem to start with lightdm when I have the options to turn on logging.
gitea-mirror 2026-05-05 05:46:09 -06:00
Author
Owner

@p12tic commented on GitHub (May 1, 2019):

I have the same issue on Ubuntu/Ubuntu setup. I think in my case the culprit was IIRC clipboard retrieval was blocking occasionally which happened because I ran libvirt VMs.

<!-- gh-comment-id:488385748 --> @p12tic commented on GitHub (May 1, 2019): I have the same issue on Ubuntu/Ubuntu setup. I think in my case the culprit was IIRC clipboard retrieval was blocking occasionally which happened because I ran libvirt VMs.
Author
Owner

@hungrywolf27 commented on GitHub (May 16, 2019):

I'm experiencing the same issue and I suspect it's the same as these two issues in synergy-core:
https://github.com/symless/synergy-core/issues/6481
https://github.com/symless/synergy-core/issues/6487

<!-- gh-comment-id:492891111 --> @hungrywolf27 commented on GitHub (May 16, 2019): I'm experiencing the same issue and I suspect it's the same as these two issues in synergy-core: https://github.com/symless/synergy-core/issues/6481 https://github.com/symless/synergy-core/issues/6487
Author
Owner

@chrisokuda commented on GitHub (Jun 4, 2019):

Same issue.

Server: Manjaro 64-bit (stable branch)
Client: Ubuntu 18.04 LTS 64-bit
Barrier: 2.2.0-RELEASE (on both systems)

<!-- gh-comment-id:498689774 --> @chrisokuda commented on GitHub (Jun 4, 2019): Same issue. **Server**: Manjaro 64-bit (stable branch) **Client**: Ubuntu 18.04 LTS 64-bit **Barrier**: 2.2.0-RELEASE (on both systems)
Author
Owner

@xgdgsc commented on GitHub (Jul 26, 2019):

Also seeing this quite frequently on a manjaro-server ubuntu-client setup.

<!-- gh-comment-id:515623383 --> @xgdgsc commented on GitHub (Jul 26, 2019): Also seeing this quite frequently on a manjaro-server ubuntu-client setup.
Author
Owner

@allanwmacdonald commented on GitHub (Oct 17, 2019):

Still happening with release 2.3.1, client=Ubuntu 18.04LTS 64 bit, server=Windows 7 64 bit and SSL disabled.

<!-- gh-comment-id:543361959 --> @allanwmacdonald commented on GitHub (Oct 17, 2019): Still happening with release 2.3.1, client=Ubuntu 18.04LTS 64 bit, server=Windows 7 64 bit and SSL disabled.
Author
Owner

@TitanFail commented on GitHub (Oct 18, 2019):

Same thing happening to me. SSL enabled.

Server:
Windows 7 64-bit
Barrier 2.3.1-snapshot-58d8f020

Client:
Mint 19.1 (4.15.0-65)
Barrier 2.3.2-snapshot-14a708db (built from source, Oct 11)

<!-- gh-comment-id:543431285 --> @TitanFail commented on GitHub (Oct 18, 2019): Same thing happening to me. SSL enabled. **Server:** Windows 7 64-bit Barrier 2.3.1-snapshot-58d8f020 **Client:** Mint 19.1 (4.15.0-65) Barrier 2.3.2-snapshot-14a708db (built from source, Oct 11)
Author
Owner

@shymega commented on GitHub (Oct 18, 2019):

@TitanFail Interesting. With regards to the client, can you try building from the v2.3.1 tag? Thanks.

We're aware of this issue, but the codebase is in serious need of 'TLC', and its proving to be tricky...

<!-- gh-comment-id:543603706 --> @shymega commented on GitHub (Oct 18, 2019): @TitanFail Interesting. With regards to the client, can you try building from the v2.3.1 tag? Thanks. We're aware of this issue, but the codebase is in serious need of 'TLC', and its proving to be tricky...
Author
Owner

@TitanFail commented on GitHub (Oct 22, 2019):

@shymega - Built from the 2.3.1 tag, same thing.

When I set the logging to Debug2, everything seems to go normally. When it hangs, I still see the information flowing in the server-side logs, and nothing seems amiss. It's like the server still sees everything that's going on, but the updates just aren't pushing out to the client for some reason (best way I know how to explain it). It knows exactly where the cursor is, etc., but it isn't reflected in the client until several seconds later.

<!-- gh-comment-id:544769258 --> @TitanFail commented on GitHub (Oct 22, 2019): @shymega - Built from the 2.3.1 tag, same thing. When I set the logging to Debug2, everything seems to go normally. When it hangs, I still see the information flowing in the server-side logs, and nothing seems amiss. It's like the server still sees everything that's going on, but the updates just aren't pushing out to the client for some reason (best way I know how to explain it). It knows exactly where the cursor is, etc., but it isn't reflected in the client until several seconds later.
Author
Owner

@nbolton commented on GitHub (Oct 25, 2019):

Duplicate of https://github.com/symless/synergy-core/issues/6487

<!-- gh-comment-id:546226989 --> @nbolton commented on GitHub (Oct 25, 2019): Duplicate of https://github.com/symless/synergy-core/issues/6487
Author
Owner

@shymega commented on GitHub (Oct 26, 2019):

@TitanFail OK, thanks for letting me know. Again as I say, the codebase is really needing a major refactoring/TLC/improvements, and once we have the resources/time/manpower, then I surely hope it can happen.

My apologies again for this.

<!-- gh-comment-id:546641861 --> @shymega commented on GitHub (Oct 26, 2019): @TitanFail OK, thanks for letting me know. Again as I say, the codebase is really needing a major refactoring/TLC/improvements, and once we have the resources/time/manpower, then I surely hope it can happen. My apologies again for this.
Author
Owner

@TitanFail commented on GitHub (Oct 28, 2019):

Just an additional data-point that I hope is useful:

It can (and does) happen at any time, but seems to be much more frequent if I'm doing anything with Nemo, and to a lesser extent GIMP.

<!-- gh-comment-id:546810748 --> @TitanFail commented on GitHub (Oct 28, 2019): Just an additional data-point that I hope is useful: It can (and does) happen at any time, but seems to be _much_ more frequent if I'm doing anything with Nemo, and to a lesser extent GIMP.
Author
Owner

@shymega commented on GitHub (Oct 28, 2019):

Thanks. We'll bear this in mind.

<!-- gh-comment-id:546942808 --> @shymega commented on GitHub (Oct 28, 2019): Thanks. We'll bear this in mind.
Author
Owner

@jrodd96 commented on GitHub (Oct 30, 2019):

Issue is present on my setup as well:

  • SSL enabled
  • Clipboard sharing disabled

Server:
Windows 10 Pro x64-bit
Barrier 2.3.1-snapshot-58d8f020
Build Date: 08-09-2019 (installed on 09-22-2019)

Client:
Pop! OS 19.10 x64-bit
Barrier 2.3.1-Release-00000000
Build Date: 09-11-2019

Logs on both the server and the client do not indicate anything is wrong when the freeze occurs. In my case, I hadn't had any issues up until this week when Pop! OS updated from 19.04 to 19.10.

The cursor and/or the keyboard will freeze every 10-15 seconds or so for a brief 2-3 second period when on the client screen. Three or four times the issue with ENTER getting stuck has occurred as well.

The amount of running processes on either the server or the client doesn't seem to be a factor in when or how often it freezes. It has been consistently freezing every 10-15 seconds no matter what, while the ENTER key getting stuck has been much more sporadic and unpredictable except each time it has occurred I was in the Terminal executing commands.

<!-- gh-comment-id:548041916 --> @jrodd96 commented on GitHub (Oct 30, 2019): Issue is present on my setup as well: - SSL enabled - Clipboard sharing disabled **Server:** Windows 10 Pro x64-bit Barrier 2.3.1-snapshot-58d8f020 Build Date: 08-09-2019 (installed on 09-22-2019) **Client:** Pop! OS 19.10 x64-bit Barrier 2.3.1-Release-00000000 Build Date: 09-11-2019 Logs on both the server and the client do not indicate anything is wrong when the freeze occurs. In my case, I hadn't had any issues up until this week when Pop! OS updated from **19.04 to 19.10**. The cursor and/or the keyboard will freeze every 10-15 seconds or so for a brief 2-3 second period when on the client screen. Three or four times the issue with ENTER getting stuck has occurred as well. The amount of running processes on either the server or the client doesn't seem to be a factor in when or how often it freezes. It has been consistently freezing every 10-15 seconds no matter what, while the ENTER key getting stuck has been much more sporadic and unpredictable except each time it has occurred I was in the Terminal executing commands.
Author
Owner

@fahimipour commented on GitHub (Mar 30, 2020):

Have the same issue.

Server:
Windows 10 Enterprise x64 ver. 1909
Barrier 2.3.2-snapshot-210c2b70
Build: 3rd October 19

Client:
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=19.0.2
DISTRIB_CODENAME=Kyria
DISTRIB_DESCRIPTION="Manjaro Linux"
Barrier 2.3.2-snapshot-9080ce45

SSL Enabled / Clipboard Enabled

Keyboard/mouse freezes frequently and randomly.

Logs show nothing useful.

<!-- gh-comment-id:606298694 --> @fahimipour commented on GitHub (Mar 30, 2020): Have the same issue. **Server:** Windows 10 Enterprise x64 ver. 1909 Barrier 2.3.2-snapshot-210c2b70 Build: 3rd October 19 **Client:** DISTRIB_ID=ManjaroLinux DISTRIB_RELEASE=19.0.2 DISTRIB_CODENAME=Kyria DISTRIB_DESCRIPTION="Manjaro Linux" Barrier 2.3.2-snapshot-9080ce45 SSL Enabled / Clipboard Enabled Keyboard/mouse freezes frequently and randomly. Logs show nothing useful.
Author
Owner

@raman-maker commented on GitHub (Jul 21, 2020):

my keyboard is hanging in debian

<!-- gh-comment-id:661912583 --> @raman-maker commented on GitHub (Jul 21, 2020): my keyboard is hanging in debian
Author
Owner

@p12tic commented on GitHub (Jul 21, 2020):

This bug should be fixed on Barrier 2.3.3. See PR #679.

<!-- gh-comment-id:661913958 --> @p12tic commented on GitHub (Jul 21, 2020): This bug should be fixed on Barrier 2.3.3. See PR #679.
Author
Owner

@aalapd commented on GitHub (Nov 17, 2022):

This is still an issue for me.
Mouse freezes intermittently. SSL enabled.

Server running Manjaro 22.0.0 Sikaris with kernel 5.4.221,
Client running Ubuntu 22.04.1

<!-- gh-comment-id:1319017615 --> @aalapd commented on GitHub (Nov 17, 2022): This is still an issue for me. Mouse freezes intermittently. SSL enabled. Server running Manjaro 22.0.0 Sikaris with kernel 5.4.221, Client running Ubuntu 22.04.1
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#240
No description provided.