[GH-ISSUE #1520] Not loading on MacOS Monterey 12.01 #1147

Open
opened 2026-05-05 07:32:03 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @manishie on GitHub (Jan 12, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1520

What happened?

Hi, I'm having an issue trying run 2.4.0 (I haven't tried earlier builds). I first installed via Homebrew, then tried from the DMG. Same results. When running the app from my /Applications folder nothing happens. The screen has a brief flash; I see the icon momentarily in the Dock. Then nothing. I cannot see any mention of Barrier in the logs.

I've also tried this from the command line: open -n -F -a Barrier. No difference. I checked and it's not being blocked in the Security & Privacy settings (I may have gotten a dialog box initially asking if I wanted to allow it, but I don't recall).

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

No response

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

macOS

What OS versions are you using?

monterey 12.0.1

Relevant log output

No response

Any other information

No response

Originally created by @manishie on GitHub (Jan 12, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1520 ### What happened? Hi, I'm having an issue trying run 2.4.0 (I haven't tried earlier builds). I first installed via Homebrew, then tried from the DMG. Same results. When running the app from my /Applications folder nothing happens. The screen has a brief flash; I see the icon momentarily in the Dock. Then nothing. I cannot see any mention of Barrier in the logs. I've also tried this from the command line: `open -n -F -a Barrier`. No difference. I checked and it's not being blocked in the Security & Privacy settings (I may have gotten a dialog box initially asking if I wanted to allow it, but I don't recall). ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? _No response_ ### What OSes are you seeing the problem on? (Check all that apply) macOS ### What OS versions are you using? monterey 12.0.1 ### Relevant log output _No response_ ### Any other information _No response_
Author
Owner

@chuckrector commented on GitHub (Jan 13, 2022):

I don't know if this will help you, but you may have better luck with 2.3.3:

I recently upgraded to Monterey 12.1 from Big Sur. An existing configuration with 2.3.3 survived the upgrade and was working fine. Then I upgraded to 2.4.0 and it broke my setup across all clients. Windows 10 is my server and Monterey and another Windows 10 box are clients. Mousing to clients would capture my mouse, the mouse cursor would disappear from all machines, and attempting to mouse back to the server would never release the mouse and keyboard from the client. Clicks would have effects on whichever client captured the input, but they happened at some fixed locations and moving the mouse would not change that location.

I downgraded back to 2.3.3 and everything is working again.

<!-- gh-comment-id:1012210175 --> @chuckrector commented on GitHub (Jan 13, 2022): I don't know if this will help you, but you may have better luck with 2.3.3: I recently upgraded to Monterey 12.1 from Big Sur. An existing configuration with 2.3.3 survived the upgrade and was working fine. Then I upgraded to 2.4.0 and it broke my setup across all clients. Windows 10 is my server and Monterey and another Windows 10 box are clients. Mousing to clients would capture my mouse, the mouse cursor would disappear from all machines, and attempting to mouse back to the server would never release the mouse and keyboard from the client. Clicks would have effects on whichever client captured the input, but they happened at some fixed locations and moving the mouse would not change that location. I downgraded back to 2.3.3 and everything is working again.
Author
Owner

@manishie commented on GitHub (Jan 13, 2022):

Thanks for the suggestion @chuckrector. Unfortunately 2.3.3 does the same thing. (I completely uninstalled Barrier using AppCleaner first).

<!-- gh-comment-id:1012214598 --> @manishie commented on GitHub (Jan 13, 2022): Thanks for the suggestion @chuckrector. Unfortunately 2.3.3 does the same thing. (I completely uninstalled Barrier using AppCleaner first).
Author
Owner

@hacfi commented on GitHub (Jan 14, 2022):

Using 2.4.0 without any issues. You just need to make sure to create a SSL certificate (whether you activate SSL or not!):

cd ~/Library/Application\ Support/barrier/SSL/             # should exist..if not create it
openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem

( source https://github.com/debauchee/barrier/issues/231#issuecomment-962421337 )

I use this script to install Barrier:

#!/bin/bash

set -e
set -x

if ! brew list --cask barrier > /dev/null; then
  brew install barrier
fi

if [ ! -f "$HOME/Library/Application Support/barrier/SSL/Barrier.pem" ]; then
  mkdir -p "$HOME/Library/Application Support/barrier/SSL/"
  cd "$HOME/Library/Application Support/barrier/SSL/"
  openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem
fi
<!-- gh-comment-id:1012670658 --> @hacfi commented on GitHub (Jan 14, 2022): Using 2.4.0 without any issues. You just need to make sure to create a SSL certificate (whether you activate SSL or not!): ``` cd ~/Library/Application\ Support/barrier/SSL/ # should exist..if not create it openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem ``` ( source https://github.com/debauchee/barrier/issues/231#issuecomment-962421337 ) I use this script to install Barrier: ``` #!/bin/bash set -e set -x if ! brew list --cask barrier > /dev/null; then brew install barrier fi if [ ! -f "$HOME/Library/Application Support/barrier/SSL/Barrier.pem" ]; then mkdir -p "$HOME/Library/Application Support/barrier/SSL/" cd "$HOME/Library/Application Support/barrier/SSL/" openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem fi ```
Author
Owner

@magicus commented on GitHub (Mar 11, 2022):

@hacfi Thank you, this saved my day!

Is this a bug with Barrier or with the homebrew bundling of Barrier?

<!-- gh-comment-id:1064894014 --> @magicus commented on GitHub (Mar 11, 2022): @hacfi Thank you, this saved my day! Is this a bug with Barrier or with the homebrew bundling of Barrier?
Author
Owner

@mahesh-agrawal-616 commented on GitHub (Apr 12, 2022):

I don't know if this will help you, but you may have better luck with 2.3.3:

I recently upgraded to Monterey 12.1 from Big Sur. An existing configuration with 2.3.3 survived the upgrade and was working fine. Then I upgraded to 2.4.0 and it broke my setup across all clients. Windows 10 is my server and Monterey and another Windows 10 box are clients. Mousing to clients would capture my mouse, the mouse cursor would disappear from all machines, and attempting to mouse back to the server would never release the mouse and keyboard from the client. Clicks would have effects on whichever client captured the input, but they happened at some fixed locations and moving the mouse would not change that location.

I downgraded back to 2.3.3 and everything is working again.

This is what worked for me but i did some searchings and found another post where it was mentioned that 2.3.2 will generate the pem files and ssl fingerprints then we can upgrade to higher version. So i installed 2.3.2 first and then replaced what with 2.3.3 and now everything works fine. Whoever facing a lag in mac os, they can use 2.3.3 and its working. I am using big sur in one mac and monterey in another.

<!-- gh-comment-id:1096508926 --> @mahesh-agrawal-616 commented on GitHub (Apr 12, 2022): > I don't know if this will help you, but you may have better luck with 2.3.3: > > I recently upgraded to Monterey 12.1 from Big Sur. An existing configuration with 2.3.3 survived the upgrade and was working fine. Then I upgraded to 2.4.0 and it broke my setup across all clients. Windows 10 is my server and Monterey and another Windows 10 box are clients. Mousing to clients would capture my mouse, the mouse cursor would disappear from all machines, and attempting to mouse back to the server would never release the mouse and keyboard from the client. Clicks would have effects on whichever client captured the input, but they happened at some fixed locations and moving the mouse would not change that location. > > I downgraded back to 2.3.3 and everything is working again. This is what worked for me but i did some searchings and found another post where it was mentioned that 2.3.2 will generate the pem files and ssl fingerprints then we can upgrade to higher version. So i installed 2.3.2 first and then replaced what with 2.3.3 and now everything works fine. Whoever facing a lag in mac os, they can use 2.3.3 and its working. I am using big sur in one mac and monterey in another.
Author
Owner

@HiddenBit-X commented on GitHub (Oct 27, 2023):

Hi, I have trouble on Monterey, it started of working with my first windows 11 as client, then when I added windows 10 client it seems like it crashed, and now my Mac Monterey kinda restarts all the time, how can I completely remove and reinstall Barrier on the Mac? I use the mac as the main "server" for the Mouse. Thank you in advance.

<!-- gh-comment-id:1782535438 --> @HiddenBit-X commented on GitHub (Oct 27, 2023): Hi, I have trouble on Monterey, it started of working with my first windows 11 as client, then when I added windows 10 client it seems like it crashed, and now my Mac Monterey kinda restarts all the time, how can I completely remove and reinstall Barrier on the Mac? I use the mac as the main "server" for the Mouse. Thank you in advance.
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#1147
No description provided.