[GH-ISSUE #2072] Barrier on mutliple screens #1495

Open
opened 2026-05-05 07:53:18 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @nadeem-gul on GitHub (Jun 21, 2024).
Original GitHub issue: https://github.com/debauchee/barrier/issues/2072

What happened?

I have a CPU running ubuntu with 2 monitors and a laptop running windows 11 in the following configuration:


| Server - Ubuntu - Screen 2 | | Server - Ubuntu - Screen 1 | | Client - Win - Screen 1 |
| 3840 x 2160 | | 2560 x 1080 | | 1920 x 1080 |
|| || |_______________________________|

This setup used to work perfectly with Ubuntu 18.04. I recently moved to Ubuntu 22.04 and this same setup is not working at all. The logs show that the client and the server are connected and there's no error. I can sometimes even copy the clipboard from one to another but the mouse doesn't move from server to client. However when I disable one of the monitors on the server and set it use only one display in the following configuration


| Server - Ubuntu - Screen 2 | | Client - Win - Screen 1 |
| 3840 x 2160 | | 1920 x 1080 |
|| ||

Then everything works perfectly.

Version

v2.4.0

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

Linux, Windows

What OS versions are you using?

Server: Ubuntu 22.04
Client: Windows 11

Relevant log output

Server Logs:
[2024-06-21T10:30:34] INFO: starting server
[2024-06-21T10:30:34] INFO: config file: /tmp/Barrier.nrQNxB
[2024-06-21T10:30:34] INFO: log level: INFO
started server (IPv4/IPv6), waiting for clients
[2024-06-21T10:30:35] INFO: OpenSSL 3.0.2 15 Mar 2022
[2024-06-21T10:30:35] INFO: accepted secure socket
[2024-06-21T10:30:35] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2024-06-21T10:30:35] NOTE: accepted client connection
[2024-06-21T10:30:35] NOTE: client "Laptop" has connected
[2024-06-21T10:30:58] NOTE: client "Laptop" has disconnected
[2024-06-21T10:31:00] INFO: OpenSSL 3.0.2 15 Mar 2022
[2024-06-21T10:31:00] INFO: accepted secure socket
[2024-06-21T10:31:00] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2024-06-21T10:31:00] NOTE: accepted client connection
[2024-06-21T10:31:00] NOTE: client "Laptop" has connected

Client Log:

[2024-06-21T10:30:58] INFO: starting client
[2024-06-21T10:30:58] INFO: config file: C:/Users/Admin/AppData/Local/Temp/Barrier.obgQxN
[2024-06-21T10:30:58] INFO: log level: INFO
[2024-06-21T10:30:58] INFO: service command updated
[2024-06-21T10:30:58] INFO: service command updated
[2024-06-21T10:30:58] INFO: got ipc shutdown message
[2024-06-21T10:30:58] NOTE: stopped client
[2024-06-21T10:30:59] INFO: process 17772 was shutdown gracefully
[2024-06-21T10:31:00] INFO: starting new process as privileged user
[2024-06-21T10:31:00] INFO: drag and drop enabled
[2024-06-21T10:31:00] NOTE: started client
[2024-06-21T10:31:00] NOTE: connecting to '10.37.38.155': 10.37.38.155:24800
[2024-06-21T10:31:00] INFO: OpenSSL 1.0.2l  25 May 2017
server status: active
[2024-06-21T10:31:00] NOTE: peer fingerprint (SHA1): 16:22:5A:38:95 (SHA256): 
[2024-06-21T10:31:00] NOTE: fingerprint_db_path: C:\Users\Admin\AppData\Local\Barrier\SSL\Fingerprints\TrustedServers.txt
[2024-06-21T10:31:00] NOTE: Read 2 fingerprints from: C:\Users\Admin\AppData\Local\Barrier\SSL\Fingerprints\TrustedServers.txt
[2024-06-21T10:31:00] NOTE: Fingerprint matches trusted fingerprint
[2024-06-21T10:31:00] INFO: connected to secure socket
[2024-06-21T10:31:00] INFO: peer ssl certificate info: /CN=barrier
[2024-06-21T10:31:00] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD
connected to server
Originally created by @nadeem-gul on GitHub (Jun 21, 2024). Original GitHub issue: https://github.com/debauchee/barrier/issues/2072 ### What happened? I have a CPU running ubuntu with 2 monitors and a laptop running windows 11 in the following configuration: _______________________________ _______________________________ _______________________________ | Server - Ubuntu - Screen 2 | | Server - Ubuntu - Screen 1 | | Client - Win - Screen 1 | | 3840 x 2160 | | 2560 x 1080 | | 1920 x 1080 | |_______________________________| |_______________________________| |_______________________________| This setup used to work perfectly with Ubuntu 18.04. I recently moved to Ubuntu 22.04 and this same setup is not working at all. The logs show that the client and the server are connected and there's no error. I can sometimes even copy the clipboard from one to another but the mouse doesn't move from server to client. However when I disable one of the monitors on the server and set it use only one display in the following configuration _______________________________ _______________________________ | Server - Ubuntu - Screen 2 | | Client - Win - Screen 1 | | 3840 x 2160 | | 1920 x 1080 | |_______________________________| |_______________________________| Then everything works perfectly. ### Version v2.4.0 ### What OSes are you seeing the problem on? (Check all that apply) Linux, Windows ### What OS versions are you using? Server: Ubuntu 22.04 Client: Windows 11 ### Relevant log output ```shell Server Logs: [2024-06-21T10:30:34] INFO: starting server [2024-06-21T10:30:34] INFO: config file: /tmp/Barrier.nrQNxB [2024-06-21T10:30:34] INFO: log level: INFO started server (IPv4/IPv6), waiting for clients [2024-06-21T10:30:35] INFO: OpenSSL 3.0.2 15 Mar 2022 [2024-06-21T10:30:35] INFO: accepted secure socket [2024-06-21T10:30:35] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD [2024-06-21T10:30:35] NOTE: accepted client connection [2024-06-21T10:30:35] NOTE: client "Laptop" has connected [2024-06-21T10:30:58] NOTE: client "Laptop" has disconnected [2024-06-21T10:31:00] INFO: OpenSSL 3.0.2 15 Mar 2022 [2024-06-21T10:31:00] INFO: accepted secure socket [2024-06-21T10:31:00] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD [2024-06-21T10:31:00] NOTE: accepted client connection [2024-06-21T10:31:00] NOTE: client "Laptop" has connected Client Log: [2024-06-21T10:30:58] INFO: starting client [2024-06-21T10:30:58] INFO: config file: C:/Users/Admin/AppData/Local/Temp/Barrier.obgQxN [2024-06-21T10:30:58] INFO: log level: INFO [2024-06-21T10:30:58] INFO: service command updated [2024-06-21T10:30:58] INFO: service command updated [2024-06-21T10:30:58] INFO: got ipc shutdown message [2024-06-21T10:30:58] NOTE: stopped client [2024-06-21T10:30:59] INFO: process 17772 was shutdown gracefully [2024-06-21T10:31:00] INFO: starting new process as privileged user [2024-06-21T10:31:00] INFO: drag and drop enabled [2024-06-21T10:31:00] NOTE: started client [2024-06-21T10:31:00] NOTE: connecting to '10.37.38.155': 10.37.38.155:24800 [2024-06-21T10:31:00] INFO: OpenSSL 1.0.2l 25 May 2017 server status: active [2024-06-21T10:31:00] NOTE: peer fingerprint (SHA1): 16:22:5A:38:95 (SHA256): [2024-06-21T10:31:00] NOTE: fingerprint_db_path: C:\Users\Admin\AppData\Local\Barrier\SSL\Fingerprints\TrustedServers.txt [2024-06-21T10:31:00] NOTE: Read 2 fingerprints from: C:\Users\Admin\AppData\Local\Barrier\SSL\Fingerprints\TrustedServers.txt [2024-06-21T10:31:00] NOTE: Fingerprint matches trusted fingerprint [2024-06-21T10:31:00] INFO: connected to secure socket [2024-06-21T10:31:00] INFO: peer ssl certificate info: /CN=barrier [2024-06-21T10:31:00] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD connected to server ```
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#1495
No description provided.