Barrier: BUG: ENH: Barrier does not work when multiple monitors are connected

Created on 23 Jun 2020  路  8Comments  路  Source: debauchee/barrier

Operating Systems

Server: Windows 10 2004

Client: Windows 10 20H2

Barrier 2.3.2

Steps to reproduce bug

  1. Remove all additional monitors, and verify barrier is running
  2. Connect a monitor while the mouse pointer is in the client PC, still operational
  3. Move the mouse to the server, working good
  4. Try to move the mouse to the client, just does not work

Seems like the zone where it tracks when to move the mouse to the other client fails when there is more than one monitor?

All 8 comments

New findings, only way it works is, if the display is arranged in the opposite side of barrier's virtual display

Ex:
Working:

  • Windows Monitor settings
    -- 2nd monitor : server monitor
  • Barrier settings
    -- server : client

Non Working:

  • Windows Monitor settings
    -- server monitor : 2nd monitor
  • Barrier settings
    -- server : client

Actually, anything opposite works, top 2nd monitor, bottom client and vice versa

I have this same issue.

Monitor setup:
[linux]
[linux][windows][windows]

I can move from linux to windows but cannot move from windows to linux.
As what adyanth said, if you move the display to the other side it works. But I need to have the linux monitors on the left.

EDIT:

I have found that if the server monitor is not set in windows as 'main monitor' the boundaries does not work with the barrier app. Additional monitors to your set up will not allow screen from to client machine.

So It will not work if the server's main monitor is not next to the client. No additional monitors in between the two.

Seems to be so, and no fix in sight :(

After some more testing it only seems to fail when the two monitors on the server are running different resolutions. That makes this slightly different to 127 where all monitors had the same resolution (I think).

I have a wrap around setup that is:

[Win 1080p] [Linux Screen 2 1080p or 4k] [ imac 2 1080p]
[Linux Screen 1 2560x1440 ] [ imac 1 2560x1440]

Linux is my server. If I set it to have both screens at 1080p (the only common resolution) all the edges work as expected. (The Win screen is stretched so any left hand edge of Linux goes to it.

When I have my default setup with the higher resolutions running only the edges of the high resolution screen work. On the left hand side I still have the Win laptop as expected on all edges. But on the right side of my server only the higher resolution screen connects to the iMac.

I'd be happy to pay a bounty to get someone to look at this, as long as it's cheaper than replacing all my screens with identical ones :D

I have this setup:

[windowsA-24in 1080p][windowsB-27in 4k]
[windowsA-24in 1080p][windowsB-27in 2k]

basically two windows 10 computers with 2 screens each. Hoping someone can add this feature in! I would be glad to help but not familiar at all with how the software works.

I do support this claim with a setup:

[Client; 1080 144hz][Server; Win 1080p] [Server; Win 4k]

Log says following:

```[2020-10-07T21:07:28] INFO: starting server
[2020-10-07T21:07:28] INFO: config file: C:...
[2020-10-07T21:07:28] INFO: log level: INFO
[2020-10-07T21:07:28] INFO: service command updated
[2020-10-07T21:07:28] INFO: got ipc shutdown message
[2020-10-07T21:07:28] NOTE: disconnecting client "Laptop"
[2020-10-07T21:07:28] NOTE: client "Laptop" has disconnected
[2020-10-07T21:07:28] NOTE: stopped server
[2020-10-07T21:07:29] INFO: process 9832 was shutdown gracefully
[2020-10-07T21:07:29] INFO: starting new process as privileged user
[2020-10-07T21:07:29] INFO: drag and drop enabled
[2020-10-07T21:07:29] ERROR: failed to get desktop path, no drop target available, error=2
started server (IPv4/IPv6), waiting for clients
server status: active
[2020-10-07T21:07:30] INFO: OpenSSL 1.0.2l 25 May 2017
[2020-10-07T21:07:30] INFO: accepted secure socket
[2020-10-07T21:07:30] INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD
[2020-10-07T21:07:30] NOTE: accepted client connection
[2020-10-07T21:07:30] NOTE: client "Laptop" has connected

I am also getting this error.
I am running a windows server
Display 1: 3840x2160 & Display 2: 1280x1024

Trying to connect to an ubuntu client with 1 display at 1920x1080

Layout is:
[Server; Win 3840x2160] [Server; Win 1280x1024][Client; ubuntu 1920x1080

Was this page helpful?
0 / 5 - 0 ratings