mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 22:01:23 -06:00
[GH-ISSUE #235] Windows IPC connection error #191
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kexoyi on GitHub (Jan 22, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/235
Server: Windows 10 Pro 1709
Client: macOS Mojave 10.14.2
Version: 2.2
I am unable to build Barrier on macOS. I was able to build it just fine Windows. When the program is created, finder puts a prohibited sign on the icon telling me that the program is incomplete or damaged. I also inspected the package's contents and there is nothing in there accept the app icon.
Here is a Pastebin of what happens when I run the script:
https://pastebin.com/V2iAwWge
I have noticed that there is a fatal error saying "fatal: not a git repository (or any of the parent directories): .git". I am thinking this is the cause but have no clue on how to fix it.
What I do to produce this is simply dropping the script in the terminal and running it.
@AdrianKoshka commented on GitHub (Jan 22, 2019):
Any reason for building barrier yourself instead of using the
.dmgwe provide for 2.11?@kexoyi commented on GitHub (Jan 22, 2019):
I am doing 2.2 because I have been unable to use macOS as the client. It will say "Barrier is starting..." but will never actually run. I have read that if I build 2.2 I should not have this issue. I have also tried making mac the server and my pc the host but the barrier still does not work with transferring the mouse even though it says they are running and connected.
@jwestfall69 commented on GitHub (Jan 22, 2019):
I ran into that too when making debug builds on osx, Try this
Go into build/bundle/ and edit build_installer.sh. This script is responsible for populating Barrier.app with everything it needs and generating the .dmg file.
Near the top remove or comment out the following
I also stop it from making the dmg as the debug build are too big for it causing the process to error out and leave the temp dmg image mounted. You can stop it by putting an
exitright before the following block in the script (near the bottom).Then run the script.
@kexoyi commented on GitHub (Jan 22, 2019):
You saved the day @jwestfall69 I have both Windows and macOS on 2.2! Oddly enough now on both ends it is saying "Barrier is starting." again. But I am getting different errors than I had before I build 2.2.
Error on Windows:
Error on macOS :
I double checked my Windows firewall just to be safe and I have allowed barrier, barriers, and barrierc as well.
EDIT:
I forgot to enable to the service on Windows and now it is running fine but still produces errors. But macOS is still not running.
Here is what the Mac's log says:
Here is what Window's log says:
@jwestfall69 commented on GitHub (Jan 22, 2019):
The IPC issue on windows is because the barrierd service isnt running. Its normally installed/started by the barrier installer. See if its under the list of services and start it. If its not there, you likely need to manually added it. To do that check the
[Run]section in dist/inno/barrier.iss.in for details about what the installer is doing to install/start it.@kexoyi commented on GitHub (Jan 22, 2019):
So I decided to go back to 2.1.1 on windows and Mac. Here are my logs now.
Mac:
Windows:
@kexoyi commented on GitHub (Jan 22, 2019):
I really don't know what happened but it has now decided to work. All I did was add aliases. Switch pc to client, and mac to server. It still didn't work but when I swapped my pc back to server and mac back to client, it is now all the sudden working. I don't really understand what caused this, but it is now working.
@AdrianKoshka commented on GitHub (Jan 22, 2019):
Perhaps windows was just being wonky about starting a service?
@mirh commented on GitHub (Sep 23, 2019):
Could it have something to do with ports being busy or something?
Error 19 should be OperationError, and I just noticed how oddly 24801 is reported in use even though config has 24800.
And as mentioned in https://github.com/symless/synergy-core/issues/6458, after killing and restarting everything it seemed to be solved.
@ExpandingMan commented on GitHub (Oct 29, 2020):
When using windows as client and linux as server, I get (on windows)
Were you implying the service may not be running on linux, or on windows? On linux, I have the server running as
barriers -f -c barrier.confwith a simple screen config. On windows I have no idea what's happening because it's windows.Update: I was also having the windows config file issue which mysteriously seems to have solved itself. However, no matter what I do I seem to get the ipc connection error only on windows. The linux machines all seem to be able to connect to each other.
@wienyang commented on GitHub (Nov 30, 2020):
i reinstalled barrier and it worked fine now
@groundstation1 commented on GitHub (Jan 8, 2021):
I had this error on windows, even before clicking "start". The problem was the service not running on the windows machine. You can check in the task manager, it has a services tab. From there you can also get to the system settings for services and see if it's disabled and if it's set to launch with windows or not.
@Hocnonsense commented on GitHub (Apr 9, 2021):
I got this error after kill
barrierin Windows Task Manager.version: 2.3.3-release-3395cca9
@matjaz321 commented on GitHub (Apr 22, 2021):
Same, but I fixed it by re-installing
@Hocnonsense commented on GitHub (Apr 22, 2021):
I restart the computer and
barrierrun again. It seems that the server ofbarrierstart automatically and only once?@mirh commented on GitHub (Apr 22, 2021):
Check the barrier service.
@CratylusCO commented on GitHub (Oct 8, 2021):
I did all this and noticed barrierd service wasn't running. I didn't want to mess with RUN or anything else, so I verified all the firewall rules were right, ended barrier.exe task and ran the installer again. Fixed everything and barrierd service started running.
@AymenFJA commented on GitHub (Jan 29, 2022):
I fixed it by going to the
Task Managerand switch to theservicetab, look forbarrierand right-click on it, andstartas it was stopped for some reason.@VNRARA commented on GitHub (Jul 30, 2022):
Years later and I still don't get why there isn't some sort of auto restart of this programmed into barrier to auto restart.
@ingxfm commented on GitHub (Sep 5, 2022):
As for @jwestfall69 and @AymenFJA, the Barrier service was not running, in my case.
@jhgorse commented on GitHub (Feb 26, 2023):
Where is the code for registering the service on windows installation?
@sumless commented on GitHub (Sep 11, 2023):
This issue happened to me while upgrading from Barrier 2.3.3 to Barrier 2.3.4 in a Windows 10 environment.
The following steps resolved my issue:
@JuninhoFreitas commented on GitHub (Feb 15, 2024):
Okay,
So here is the solution i found to Windows:
PT-BR:
Okay,
Então aqui está a solução que encontrei para o Windows:
@Rivonivo commented on GitHub (Jan 4, 2025):
i love u <3 searches for 2 hours now your way worked