[GH-ISSUE #994] Shared keyboard and mouse have almost no functionality on client computer(linux) #793

Closed
opened 2026-05-05 07:08:20 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Caleb-Biggs on GitHub (Dec 27, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/994

Describe the bug
When moving the mouse from the server computer to the client, both computers register the switch in focus but the mouse doesn't move on the client and the keyboard has some function but can't type.

According to the log(included below) there doesn't seem to be any issues. Something weird is that while I can't type and the mouse on the client doesn't move, when I move to the client the active window comes into focus and the tab button on the keyboard works, though so far nothing else I've tried on the keyboard does. It also successfully updates the clipboard. If I move the shared mouse to the client, then use a mouse plugged into the client to copy something, then move the shared mouse back to the server, I can paste on the server what I copied on the client.

To Reproduce

Steps to reproduce the behavior:

  1. Have both server and client running and connected
  2. Move mouse to the side of the screen where the client computer is
  3. The active window on the client comes into focus, but the mouse does not move on the client
  4. Move the mouse back and it reappears on the server, fully functional and the active window on the client loses focus.

Expected behavior
The mouse and keyboard should be fully functional on both machines.

Logs
From starting barrier, moving mouse from server to client, then back

Server:

[2020-12-27T11:02:33] INFO: starting server
[2020-12-27T11:02:33] INFO: config file: /tmp/Barrier.aIEffI
[2020-12-27T11:02:33] INFO: log level: INFO
[2020-12-27T11:02:33] NOTE: started server (IPv4/IPv6), waiting for clients
[2020-12-27T11:02:37] INFO: OpenSSL 1.1.1f 31 Mar 2020
[2020-12-27T11:02:37] INFO: accepted secure socket
[2020-12-27T11:02:37] INFO: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
[2020-12-27T11:02:37] NOTE: accepted client connection
[2020-12-27T11:02:37] NOTE: client "GLaDOS" has connected
[2020-12-27T11:02:46] INFO: switch from "Rocinante" to "GLaDOS" at 548,0
[2020-12-27T11:02:46] INFO: leaving screen
[2020-12-27T11:02:46] INFO: screen "Rocinante" updated clipboard 1
[2020-12-27T11:02:49] INFO: switch from "GLaDOS" to "Rocinante" at 587,1040
[2020-12-27T11:02:49] INFO: entering screen

Client:

[2020-12-27T11:02:37] INFO: starting client
[2020-12-27T11:02:37] INFO: config file: /tmp/Barrier.ISJCFg
[2020-12-27T11:02:37] INFO: log level: INFO
[2020-12-27T11:02:37] NOTE: started client
[2020-12-27T11:02:37] NOTE: connecting to '10.42.0.1': 10.42.0.1:24800
[2020-12-27T11:02:37] INFO: OpenSSL 1.1.1d 10 Sep 2019
[2020-12-27T11:02:37] NOTE: server fingerprint: idk if this is something safe to share or not
[2020-12-27T11:02:37] NOTE: trustedServersFilename: /home/caleb/.local/share/barrier/SSL/Fingerprints/TrustedServers.txt
[2020-12-27T11:02:37] NOTE: Opened trustedServersFilename: /home/caleb/.local/share/barrier/SSL/Fingerprints/TrustedServers.txt
[2020-12-27T11:02:37] NOTE: Fingerprint matches trusted fingerprint
[2020-12-27T11:02:37] INFO: connected to secure socket
[2020-12-27T11:02:37] INFO: server ssl certificate info: /CN=Barrier
[2020-12-27T11:02:37] INFO: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
[2020-12-27T11:02:37] NOTE: connected to server
[2020-12-27T11:02:46] INFO: entering screen
[2020-12-27T11:02:46] INFO: clipboard was updated
[2020-12-27T11:02:46] INFO: clipboard was updated
[2020-12-27T11:02:49] INFO: leaving screen

Desktop (please complete the following information):

  • OS: Server: Ubuntu 20.04.1, Client: openSUSE Leap 15.2
  • Barrier version: Server: 2.3.2, Client: tested with both 2.3.3 and 2.3.2
Originally created by @Caleb-Biggs on GitHub (Dec 27, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/994 **Describe the bug** When moving the mouse from the server computer to the client, both computers register the switch in focus but the mouse doesn't move on the client and the keyboard has some function but can't type. According to the log(included below) there doesn't seem to be any issues. Something weird is that while I can't type and the mouse on the client doesn't move, when I move to the client the active window comes into focus and the tab button on the keyboard works, though so far nothing else I've tried on the keyboard does. It also successfully updates the clipboard. If I move the shared mouse to the client, then use a mouse plugged into the client to copy something, then move the shared mouse back to the server, I can paste on the server what I copied on the client. **To Reproduce** Steps to reproduce the behavior: 1. Have both server and client running and connected 2. Move mouse to the side of the screen where the client computer is 3. The active window on the client comes into focus, but the mouse does not move on the client 4. Move the mouse back and it reappears on the server, fully functional and the active window on the client loses focus. **Expected behavior** The mouse and keyboard should be fully functional on both machines. **Logs** From starting barrier, moving mouse from server to client, then back Server: >[2020-12-27T11:02:33] INFO: starting server [2020-12-27T11:02:33] INFO: config file: /tmp/Barrier.aIEffI [2020-12-27T11:02:33] INFO: log level: INFO [2020-12-27T11:02:33] NOTE: started server (IPv4/IPv6), waiting for clients [2020-12-27T11:02:37] INFO: OpenSSL 1.1.1f 31 Mar 2020 [2020-12-27T11:02:37] INFO: accepted secure socket [2020-12-27T11:02:37] INFO: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD [2020-12-27T11:02:37] NOTE: accepted client connection [2020-12-27T11:02:37] NOTE: client "GLaDOS" has connected [2020-12-27T11:02:46] INFO: switch from "Rocinante" to "GLaDOS" at 548,0 [2020-12-27T11:02:46] INFO: leaving screen [2020-12-27T11:02:46] INFO: screen "Rocinante" updated clipboard 1 [2020-12-27T11:02:49] INFO: switch from "GLaDOS" to "Rocinante" at 587,1040 [2020-12-27T11:02:49] INFO: entering screen Client: > [2020-12-27T11:02:37] INFO: starting client [2020-12-27T11:02:37] INFO: config file: /tmp/Barrier.ISJCFg [2020-12-27T11:02:37] INFO: log level: INFO [2020-12-27T11:02:37] NOTE: started client [2020-12-27T11:02:37] NOTE: connecting to '10.42.0.1': 10.42.0.1:24800 [2020-12-27T11:02:37] INFO: OpenSSL 1.1.1d 10 Sep 2019 [2020-12-27T11:02:37] NOTE: server fingerprint: idk if this is something safe to share or not [2020-12-27T11:02:37] NOTE: trustedServersFilename: /home/caleb/.local/share/barrier/SSL/Fingerprints/TrustedServers.txt [2020-12-27T11:02:37] NOTE: Opened trustedServersFilename: /home/caleb/.local/share/barrier/SSL/Fingerprints/TrustedServers.txt [2020-12-27T11:02:37] NOTE: Fingerprint matches trusted fingerprint [2020-12-27T11:02:37] INFO: connected to secure socket [2020-12-27T11:02:37] INFO: server ssl certificate info: /CN=Barrier [2020-12-27T11:02:37] INFO: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD [2020-12-27T11:02:37] NOTE: connected to server [2020-12-27T11:02:46] INFO: entering screen [2020-12-27T11:02:46] INFO: clipboard was updated [2020-12-27T11:02:46] INFO: clipboard was updated [2020-12-27T11:02:49] INFO: leaving screen **Desktop (please complete the following information):** - OS: Server: Ubuntu 20.04.1, Client: openSUSE Leap 15.2 - Barrier version: Server: 2.3.2, Client: tested with both 2.3.3 and 2.3.2
Author
Owner

@Caleb-Biggs commented on GitHub (Dec 28, 2020):

I did the same thing as above, but with debug 2 turned on. Here are the logs from starting server and client, moving mouse from server to client, then back to server, then turning off client, then turning off server. Server, Client.

<!-- gh-comment-id:751842533 --> @Caleb-Biggs commented on GitHub (Dec 28, 2020): I did the same thing as above, but with debug 2 turned on. Here are the logs from starting server and client, moving mouse from server to client, then back to server, then turning off client, then turning off server. [Server](https://pastebin.com/raw/Y90nrspi), [Client](https://pastebin.com/raw/e1StjmvC).
Author
Owner

@Caleb-Biggs commented on GitHub (Jan 11, 2021):

Figured it out, one of the computers was running gnome in Wayland, which barrier is incompatible with, so changing it to xorg fixed the issue

<!-- gh-comment-id:757585095 --> @Caleb-Biggs commented on GitHub (Jan 11, 2021): Figured it out, one of the computers was running gnome in Wayland, which barrier is incompatible with, so changing it to xorg fixed the issue
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#793
No description provided.