[GH-ISSUE #1057] Doesent work on a M1 .Mac #838

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

Originally created by @user858753257 on GitHub (Feb 8, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1057

Describe the bug
A clear and concise description of what the bug is.

trying to connect from Linux mint 20 .

My MacBook doesent accept the connection . Firewall is off.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Please do not link to image hosting sites, as these can be ephemeral. Instead, attach them to the issue.

Desktop (please complete the following information):

  • OS: [e.g. Windows]
  • Barrier version [e.g 2.3.3]

Barrier 2.3.3 on OSX 11.2
Barrier 2.3.2 on Linux mint 20.1 (remote)

Additional context

Add any other context about the problem here.

Originally created by @user858753257 on GitHub (Feb 8, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1057 **Describe the bug** A clear and concise description of what the bug is. trying to connect from Linux mint 20 . My MacBook doesent accept the connection . Firewall is off. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. Please do not link to image hosting sites, as these can be ephemeral. Instead, attach them to the issue. **Desktop (please complete the following information):** - OS: [e.g. Windows] - Barrier version [e.g 2.3.3] Barrier 2.3.3 on OSX 11.2 Barrier 2.3.2 on Linux mint 20.1 (remote) **Additional context** Add any other context about the problem here.
Author
Owner

@adamwolf commented on GitHub (Feb 13, 2021):

Just a user here, but I was able to get my M1 mac to connect to a Barrier server. I did not try the other way around, with the M1 mac as the server.

<!-- gh-comment-id:778650485 --> @adamwolf commented on GitHub (Feb 13, 2021): Just a user here, but I was able to get my M1 mac to connect to a Barrier server. I did not try the other way around, with the M1 mac as the server.
Author
Owner

@Celerii commented on GitHub (Feb 19, 2021):

I confirm that Barrier works well on my M1 MacBook Air (Big Sur 11.2.1) as a client, I did not see any problem.

<!-- gh-comment-id:782039605 --> @Celerii commented on GitHub (Feb 19, 2021): I confirm that Barrier works well on my M1 MacBook Air (Big Sur 11.2.1) as a client, I did not see any problem.
Author
Owner

@dafi commented on GitHub (Feb 19, 2021):

Server M1 (Big Sur)
Client Mac Mini 2012 (Catalina)
Client Mac Book Pro 2017 (Mojave)

Everything works fine

<!-- gh-comment-id:782055300 --> @dafi commented on GitHub (Feb 19, 2021): Server M1 (Big Sur) Client Mac Mini 2012 (Catalina) Client Mac Book Pro 2017 (Mojave) Everything works fine
Author
Owner

@unimatrix2 commented on GitHub (Feb 21, 2021):

Just tested on Mac to Mac and worked fine.

Server: iMac (Late 2012) - Catalina
Client: Mac Mini M1 - Big Sur

Worked right away. With the server started, opening the app on the M1 prompted the server to choose the display position and done. Mouse/keyboard & clipboard: awesome, drag n drop is a little sluggish to detect when the mouse reaches the border but works fine once you get the hang of it.

Btw I'm impressed, Synergy wouldn't work no matter what, and Barrier worked with only two clicks. Awesome work!

<!-- gh-comment-id:782924333 --> @unimatrix2 commented on GitHub (Feb 21, 2021): Just tested on Mac to Mac and worked fine. Server: iMac (Late 2012) - Catalina Client: Mac Mini M1 - Big Sur Worked right away. With the server started, opening the app on the M1 prompted the server to choose the display position and done. Mouse/keyboard & clipboard: awesome, drag n drop is a little sluggish to detect when the mouse reaches the border but works fine once you get the hang of it. Btw I'm impressed, Synergy wouldn't work no matter what, and Barrier worked with only two clicks. Awesome work!
Author
Owner

@kyserv commented on GitHub (Feb 22, 2021):

Hi - I am running into a strange issue on my M1 Mac mini running Big Sur as the Server.

When I launch the app on my Mac and attempt to start it seems to be stuck in some sort of loop where the app repeatedly keeps opening in the dock but never seems to open

Happy to answer questions or provide a log if needed. Maybe I'm just stuck on something stupid.

Yup - sorry to clarify looks like my issue is unrelated to the M1

[2021-02-21T23:52:50] INFO: starting server
[2021-02-21T23:52:50] INFO: config file: /private/var/folders/z2/nxg06nn96gq94sfv36k2zcbw0000gn/T/Barrier.mFuqdn
[2021-02-21T23:52:50] INFO: log level: INFO
[2021-02-21T23:52:50] INFO: drag and drop enabled
[2021-02-21T23:52:50] ERROR: cannot read configuration "/private/var/folders/z2/nxg06nn96gq94sfv36k2zcbw0000gn/T/Barrier.VTNWts": read error: line 18: duplicate screen name "COMPUTERNAME.local"
barriers: no configuration available
[2021-02-21T23:52:50] ERROR: process exited with error code: 4
[2021-02-21T23:52:50] INFO: detected process not running, auto restarting

<!-- gh-comment-id:783078915 --> @kyserv commented on GitHub (Feb 22, 2021): Hi - I am running into a strange issue on my M1 Mac mini running Big Sur as the Server. When I launch the app on my Mac and attempt to start it seems to be stuck in some sort of loop where the app repeatedly keeps opening in the dock but never seems to open Happy to answer questions or provide a log if needed. Maybe I'm just stuck on something stupid. Yup - sorry to clarify looks like my issue is unrelated to the M1 [2021-02-21T23:52:50] INFO: starting server [2021-02-21T23:52:50] INFO: config file: /private/var/folders/z2/nxg06nn96gq94sfv36k2zcbw0000gn/T/Barrier.mFuqdn [2021-02-21T23:52:50] INFO: log level: INFO [2021-02-21T23:52:50] INFO: drag and drop enabled [2021-02-21T23:52:50] ERROR: cannot read configuration "/private/var/folders/z2/nxg06nn96gq94sfv36k2zcbw0000gn/T/Barrier.VTNWts": read error: line 18: duplicate screen name "COMPUTERNAME.local" barriers: no configuration available [2021-02-21T23:52:50] ERROR: process exited with error code: 4 [2021-02-21T23:52:50] INFO: detected process not running, auto restarting
Author
Owner

@mcoolidge commented on GitHub (Feb 23, 2021):

I was having a similar issue. I would recommend you click the configure server button and remove all screens/devices and any hotkeys. The error seems to indicate the config file was corrupted or you added the same device twice.

If that doesn't fix it, you might want to save the configuration file and open it with a text editor to see if there are duplicate screens. Then remove the duplicates.

Hope this helps.

<!-- gh-comment-id:784514101 --> @mcoolidge commented on GitHub (Feb 23, 2021): I was having a similar issue. I would recommend you click the configure server button and remove all screens/devices and any hotkeys. The error seems to indicate the config file was corrupted or you added the same device twice. If that doesn't fix it, you might want to save the configuration file and open it with a text editor to see if there are duplicate screens. Then remove the duplicates. Hope this helps.
Author
Owner

@tomhillmeyer commented on GitHub (Feb 24, 2021):

Thank you @mcoolidge! I was having the exactly same issue: server just wouldn't start on Big Sur. Removed all of the configured devices in the "configure server" screen and it booted right up. Cheers!

<!-- gh-comment-id:785108317 --> @tomhillmeyer commented on GitHub (Feb 24, 2021): Thank you @mcoolidge! I was having the exactly same issue: server just wouldn't start on Big Sur. Removed all of the configured devices in the "configure server" screen and it booted right up. Cheers!
Author
Owner

@kyserv commented on GitHub (Feb 24, 2021):

I was having a similar issue. I would recommend you click the configure server button and remove all screens/devices and any hotkeys. The error seems to indicate the config file was corrupted or you added the same device twice.

If that doesn't fix it, you might want to save the configuration file and open it with a text editor to see if there are duplicate screens. Then remove the duplicates.

Hope this helps.

Thanks - just updating this thread that I was able to use your advice and got everything working correctly. I definitely had some bad or duplicate data in my setup and clearing everything out and starting fresh had it start working right away. Server working perfectly on my m1 Mac now

<!-- gh-comment-id:785138817 --> @kyserv commented on GitHub (Feb 24, 2021): > I was having a similar issue. I would recommend you click the configure server button and remove all screens/devices and any hotkeys. The error seems to indicate the config file was corrupted or you added the same device twice. > > If that doesn't fix it, you might want to save the configuration file and open it with a text editor to see if there are duplicate screens. Then remove the duplicates. > > Hope this helps. Thanks - just updating this thread that I was able to use your advice and got everything working correctly. I definitely had some bad or duplicate data in my setup and clearing everything out and starting fresh had it start working right away. Server working perfectly on my m1 Mac now
Author
Owner

@diocletiann commented on GitHub (Apr 15, 2021):

Can we get a native build? This is how far I get (mac noob):

"_X509_get_pubkey", referenced from:
      SslCertificate::isCertificateValid(QString const&) in SslCertificate.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/barrier] Error 1
make[1]: *** [src/gui/CMakeFiles/barrier.dir/all] Error 2
<!-- gh-comment-id:820704484 --> @diocletiann commented on GitHub (Apr 15, 2021): Can we get a native build? This is how far I get (mac noob): ``` "_X509_get_pubkey", referenced from: SslCertificate::isCertificateValid(QString const&) in SslCertificate.cpp.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/barrier] Error 1 make[1]: *** [src/gui/CMakeFiles/barrier.dir/all] Error 2 ```
Author
Owner

@tylerb153 commented on GitHub (Dec 17, 2021):

So I found having my M1 MacBook Air running macOS Monterey worked fine as a client running on Rosetta 2 but would run on a server. There’s a certificate that’s missing or something like that but it your able to install barrier on an intel Mac and steal its certificate it works perfectly fine so far. It’s in ~/Users/“user”/library/application support/barrier alternatively you can get the path from the log that the Mac will spit out as it tries and fails to start the server. It’s not a like perfect fix but it’s worked for me so far and maybe it will help you too until a native version is released

<!-- gh-comment-id:996543781 --> @tylerb153 commented on GitHub (Dec 17, 2021): So I found having my M1 MacBook Air running macOS Monterey worked fine as a client running on Rosetta 2 but would run on a server. There’s a certificate that’s missing or something like that but it your able to install barrier on an intel Mac and steal its certificate it works perfectly fine so far. It’s in ~/Users/“user”/library/application support/barrier alternatively you can get the path from the log that the Mac will spit out as it tries and fails to start the server. It’s not a like perfect fix but it’s worked for me so far and maybe it will help you too until a native version is released
Author
Owner

@rafaelatlucro commented on GitHub (Apr 11, 2022):

I was able to get this to work by stopping the server. Going to 'configure server', remove all the screens, drop in a random screen. Close the window. Run the 'server' first. Zero clue what combination of the above and macOS/app restarts led to this working but I have it working on two M1 macs running monterey. One computer refuses to be a client though, also not sure why. Just posting to see if this helps anyone

<!-- gh-comment-id:1094462413 --> @rafaelatlucro commented on GitHub (Apr 11, 2022): I was able to get this to work by stopping the server. Going to 'configure server', remove all the screens, drop in a random screen. Close the window. Run the 'server' first. Zero clue what combination of the above and macOS/app restarts led to this working but I have it working on two M1 macs running monterey. One computer refuses to be a client though, also not sure why. Just posting to see if this helps anyone
Author
Owner

@jmahone commented on GitHub (Apr 11, 2022):

Did you ever see the issue I describe in #1530? I have an intel-based mbp
running Mojave (10.14.6) as the server, and my client machine is an M1 Pro
mbp running Monterey (12.1). I had previously gotten barrier 2.3.3 to work
on two intel-based mbps, where the server is the same one I just mentioned.
Now that I've changed the client machine, I just can't get it to work.

I've turned off SSL for now (though I had gotten that to work in that I was
able to generate the certs which seemed to quiet the SSL errors).

Here's a taste of what I'm seeing.

Currently, on the server (MBP 15” mid-2015, 10.14.6 Mojave, 2.8GHz Intel
Core i7), I get this message:

[2022-04-04T11:01:07] NOTE: accepted client connection
[2022-04-04T11:01:07] WARNING: a client with name "my-mbp" is already
connected
[2022-04-04T11:01:07] NOTE: disconnecting client "my-mbp"
[2022-04-04T11:01:07] NOTE: client "my-mbp" has disconnected

Currently, on the client (MBP 16” 2021, 12.1 Monterey, Apple M1 Pro), I get
this message:

T11:00:44] NOTE: connecting to '192.168.xx.yy': 192.168.xx.xxx:24800
[2022-04-04T11:00:44] ERROR: server already has a connected client with
name "my-mbp"
[2022-04-04T11:00:44] WARNING: failed to connect to server: server already
has a connected client with our name

Many thanks for any help you can provide,
Jerry

On Sun, Apr 10, 2022 at 9:51 PM rafaelatlucro @.***>
wrote:

I was able to get this to work by stopping the server. Going to 'configure
server', remove all the screens, drop in a random screen. Close the window.
Run the 'server' first. Zero clue what combination of the above and
macOS/app restarts led to this working but I have it working on two M1 macs
running monterey. One computer refuses to be a client though, also not sure
why. Just posting to see if this helps anyone


Reply to this email directly, view it on GitHub
https://github.com/debauchee/barrier/issues/1057#issuecomment-1094462413,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRMWMY57W3OZCA3VZJAYL3VEOAR3ANCNFSM4XJAINSQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

<!-- gh-comment-id:1094510872 --> @jmahone commented on GitHub (Apr 11, 2022): Did you ever see the issue I describe in #1530? I have an intel-based mbp running Mojave (10.14.6) as the server, and my client machine is an M1 Pro mbp running Monterey (12.1). I had previously gotten barrier 2.3.3 to work on two intel-based mbps, where the server is the same one I just mentioned. Now that I've changed the client machine, I just can't get it to work. I've turned off SSL for now (though I had gotten that to work in that I was able to generate the certs which seemed to quiet the SSL errors). Here's a taste of what I'm seeing. Currently, on the server (MBP 15” mid-2015, 10.14.6 Mojave, 2.8GHz Intel Core i7), I get this message: [2022-04-04T11:01:07] NOTE: accepted client connection [2022-04-04T11:01:07] WARNING: a client with name "my-mbp" is already connected [2022-04-04T11:01:07] NOTE: disconnecting client "my-mbp" [2022-04-04T11:01:07] NOTE: client "my-mbp" has disconnected ------------------------------ Currently, on the client (MBP 16” 2021, 12.1 Monterey, Apple M1 Pro), I get this message: T11:00:44] NOTE: connecting to '192.168.xx.yy': 192.168.xx.xxx:24800 [2022-04-04T11:00:44] ERROR: server already has a connected client with name "my-mbp" [2022-04-04T11:00:44] WARNING: failed to connect to server: server already has a connected client with our name Many thanks for any help you can provide, Jerry On Sun, Apr 10, 2022 at 9:51 PM rafaelatlucro ***@***.***> wrote: > I was able to get this to work by stopping the server. Going to 'configure > server', remove all the screens, drop in a random screen. Close the window. > Run the 'server' first. Zero clue what combination of the above and > macOS/app restarts led to this working but I have it working on two M1 macs > running monterey. One computer refuses to be a client though, also not sure > why. Just posting to see if this helps anyone > > — > Reply to this email directly, view it on GitHub > <https://github.com/debauchee/barrier/issues/1057#issuecomment-1094462413>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABRMWMY57W3OZCA3VZJAYL3VEOAR3ANCNFSM4XJAINSQ> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@luis-henriquez-07 commented on GitHub (Apr 20, 2022):

I'm trying to client mac mini using a pc as a server but it doesn't work.
When client pc using mac mini as a server it works.
Can you help me?

<!-- gh-comment-id:1104527076 --> @luis-henriquez-07 commented on GitHub (Apr 20, 2022): I'm trying to client mac mini using a pc as a server but it doesn't work. When client pc using mac mini as a server it works. Can you help me?
Author
Owner

@buermann commented on GitHub (Nov 8, 2022):

I'm trying to client mac mini using a pc as a server but it doesn't work. When client pc using mac mini as a server it works. Can you help me?

https://github.com/debauchee/barrier/issues/1609#issuecomment-1186281717

<!-- gh-comment-id:1306576804 --> @buermann commented on GitHub (Nov 8, 2022): > I'm trying to client mac mini using a pc as a server but it doesn't work. When client pc using mac mini as a server it works. Can you help me? https://github.com/debauchee/barrier/issues/1609#issuecomment-1186281717
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#838
No description provided.