mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #480] Barrier Stuck At "Barrier Is Starting" #373
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#373
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 @Ryan-Te on GitHub (Oct 28, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/480
So i installed it on both my windows 7 and ubuntu machines. i set up a server on the win pc but when i try to connect on my linux pc it gets stuck at "Barrier Is starting". i have ubuntu 18.04.3 LTS
Here Is the log:
Qt: Session management error: None of the authentication protocols specified are supported
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.135]:24800")
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.135]:24800")
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.135]:24800")
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.152]:24800")
@kylergibson commented on GitHub (Nov 1, 2019):
I had similar issue, but I did not look at the log to see what it said.
How I resolved it, is on the server machine select configure server and delete all machines that are in "Screens and links". Once I did that and reloaded barrier on both machines it was working. Hope this helps.
@minhmoc commented on GitHub (Nov 5, 2019):
I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.
@BrickmanRodrigo commented on GitHub (Nov 5, 2019):
Having the same issue and this one worked for me, thanks
@Ryan-Te commented on GitHub (Nov 8, 2019):
I Tried This And It Worked! Thanks
@Rahul-Yogi commented on GitHub (Dec 23, 2019):
Awesome man, it worked for me too. I was stuck from last hour or so. Thanks a ton.... :)
@edegaudenzi commented on GitHub (Mar 17, 2020):
Worked here as well, cheers!
@wgmao commented on GitHub (Mar 25, 2020):
Amazing ! (Win10 as server, Ubuntu16 as client)
@zeerd commented on GitHub (May 6, 2020):
I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too.
But, when I closed the SSL, it works.
@verajosemanuel commented on GitHub (Jun 9, 2020):
[SOLVED ]same here, added a screen on server config with the name of the client computer, reloaded, but client is stuck on "Barrier is starting".
Server is connected to network via RJ45 cable, but Client via WIFI. Both to same router
SOLVED DISABLING FIREWALL
@livejamie commented on GitHub (Aug 12, 2020):
Disabling SSL fixed it for me as well.
@Aerglonus commented on GitHub (Aug 14, 2020):
[SOLVED] [ EXTRA SOLUTION]
I had the same setup and disabling windows firewall worked but to keep windows firewall running i added an Inbound rule to the 24800 port (the one that barrier is using) in Windows defender firewall with advanced security after that barrier started to work again with firewall enabled again.
@jsantosdias commented on GitHub (Sep 11, 2020):
Hello! Tried everything: Disabling SSL, Disabling Firewall and nothing... What can I do?
@toty88 commented on GitHub (Sep 16, 2020):
I cant seem to make it work from Windows 10 (server) to arch (client). I Tried doing what @minhmoc says, I tried disabling firewall completely and ssl but still no results. I keep getting 'Barrier is starting' on arch!
I know there's got something to do with Windows cause I tried it from two arch machines and it worked flawlessly!
@chingham commented on GitHub (Oct 19, 2020):
Tried everything too and still have this problem with macOS (Server) and Windows 10 (Client)
@ryukinix commented on GitHub (Oct 21, 2020):
In my opinion that should be on FAQ.
@thesurajkamble commented on GitHub (Nov 5, 2020):
yes this one and one solution by @minhmoc worked for me.
@bkdgmx commented on GitHub (Nov 25, 2020):
In my case, because I've tried multiple times starting and closing Barrier on the Windows machine as the server, the application doesn't actually exist. So make sure there is not an existing barrier process running in task manager. Then start barrier again which should be able to run.
@iFreilicht commented on GitHub (Dec 7, 2020):
When you're installing barrier as a snap, don't install it via a UI! Install it via the terminal like so:
snap install --devmode barrierThis will circumvent all security sandboxing snap normally applies to an install, which prevents barrier from accessing the network socket properly. I'm sure there's a way to fix this when building the snap package, but as a workaround, this was good enough for me.
@maxiberta commented on GitHub (Dec 7, 2020):
Installing the snap with
--devmodeis dangerous and defeats the whole idea behind snaps security; it should only be done for debugging and diagnosing issues. I use this snap daily with no issues myself, fwiw. Here's a complete guide to debugging issues with snaps. Also, check that thenetworkinterface/permission is connected/granted, viasnap connections barrier.@iFreilicht commented on GitHub (Dec 8, 2020):
@maxiberta It didn't really matter in my case, this was on a temporary machine with no important data, but you're right, it's not the right way. I tried uninstalling and reinstalling again, and I did check the permissions as you suggested, and this time it worked out of the box without any fiddling. Very strange, not sure what caused it to break the first time around.
@ishridharhegde commented on GitHub (Jan 29, 2021):
Tried this and it works like a charm.
Thank You
@abhagsain commented on GitHub (Mar 12, 2021):
I had the same issues. After an hour of searching Internet I got it working.
My server is Windows 10 and Client is MacOS Catalina.
Barrier was picking up the wrong IP Address which was my Ethernet IP Address.
So make sure you run
ipconfigon the server, in my case it's Windows 10and see the correct IP Address Under Wireless LAN adapter Wi-Fi IPV4 address.
Make sure you give the same Screen Name
In my case the name is mac (Windows 10 Screenshot)
Mac OS Screenshot
I had problems if my Wifi is set to password protected (which is just my mobile hotspot). So to get around that I made it public and limited the connections to it.
That's it. I hope it helps somebody :)
@ravihlb commented on GitHub (Jun 6, 2021):
Had the same problem, the issue was that both computers had the almost exact same screen name (one being Title Cased, the other not), fixed by using different screen names.
@aboode95 commented on GitHub (Jun 8, 2021):
could you please explain how we can fix this without the devmode?
I cannot understand where to look for this network socket security issue in snap
@aboode95 commented on GitHub (Jun 21, 2021):
okay, I got it working by disabling "auto-config" and using the other ip address from the server barrier in "server ip".
@juanmartin commented on GitHub (Jul 13, 2021):
In my case, for some reason Windows disabled Network Discovery. I realized this because I couldn't share files over my LAN.
In Windows I went to the Network folder and I was prompted if I wanted to enable network discovery and file sharing for my (private) network and everything got fixed.
@Shisah commented on GitHub (Aug 17, 2021):
Another cause of this issue is having a registered keystroke that points to a screen that does not exist, in my case i had a switch to screen to one i deleted.
@gnpaone commented on GitHub (Aug 28, 2021):
How to disable/close SSL?
@Moh-Snoussi commented on GitHub (Dec 7, 2021):
Windows Server to Ubuntu Client:
I solved the problem by getting the server IP from windows -> network status -> properties of the currently connected connection -> scroll down and copy the IPv4 address, this is our server address that need to be entered in the Ubuntu client section.
the only problem that I face is windows mouse does not work well on ubuntu. but I can use shortcuts!!!
@sderose commented on GitHub (Dec 10, 2021):
I think I've now tried everything above. I can't turn off the firewall on one machine, because company; however, Mac privacy/security panel says barrier is allowed through. Get nowhere with that machine as server; if I make a different Mac the server, and that one a client, it autoconfigs and claimed to be connected and running, but the client still says "barrier is starting", and nothing works. MacOS Big Sur all around.
@ShashaankHari commented on GitHub (Jan 19, 2022):
I'm connecting between 2 arch linux (garuda) devices, on one device barrier is running but on other device its stuck at "barrier is starting", tried all the steps above..
In the server mode it is running but on client mode it's stuck at starting on both devices..
Server mode works, client mode doesn't
@Midnex commented on GitHub (Feb 21, 2022):
Wish there was more info on how to resolve these issues. It should be as simple as adding a hostname or ip, and then showing what side of your computer that computer is on. I came here as this was highly recommended software. But can't even get it to work on a local network out of the box.
@franva commented on GitHub (Mar 26, 2022):
this one works for me~! thanks ~!
@gnpaone commented on GitHub (Mar 26, 2022):
How did you do it? Any brief explanation or link please?
@franva commented on GitHub (Mar 27, 2022):
From the menu, click "Change Configuration". You are welcome :)
@egemenertugrul commented on GitHub (Apr 4, 2022):
Disabling SSL and 'Reload'ing from the server solved the issue for me.
@rafaeltgt commented on GitHub (Jun 1, 2022):
It did work after disabling SSL in Barrier config
@martinszeltins commented on GitHub (Jul 16, 2022):
Thank you @minhmoc I was having the same issue and adding the client manually to my server config made it work. I was banging my head against the wall why it wasn't working.
@ryancheta commented on GitHub (Dec 2, 2022):
OK.... so after you create the new client in the server config, do you delete the original client that appeared? Do we reload just the server or both client and server?
@minhmoc commented on GitHub (Dec 3, 2022):
I didn't delete the original client and just restart the server. I think it
doesn't master if you keep the original client or not.
Vào Th 7, 3 thg 12, 2022 vào lúc 01:44 Ryan Ancheta <
@.***> đã viết:
@karass2 commented on GitHub (Jan 9, 2023):
In my case the server side (Windows 10) of Barrier, which was properly setup and working fine, just stopped. Log showed "ERROR: ipc connection error, connection refused" message and none of the above has worked for me.
In Task Manager, under the Services tab, I found Barrier service, which was for some reason stopped. Right click on that service and choose Start. Problem solved.
@Amarel-Taylor-Scott commented on GitHub (Jan 26, 2023):
Had a similar problem between Linux Mint and OSX.
Tried all the methods here and it still didn't work, but for some reason, it started working after I opened the "Network Settings" options and disabled then enabled both wireless and Wifi on my client computer (Linux Mint).
@zencore commented on GitHub (Feb 2, 2023):
Another potential solution: Just dropping my solution incase anyone else has tried all of the others, without any luck.
It turns out I was running multiple instances of barrier on each computer (server and client). Check any tray icons you have to check that you are only running one. Or just reboot both to make sure 🙂👍
@robywoo commented on GitHub (Feb 23, 2023):
I was running both on 2 Macs - client was stuck on "starting" So I finally stopped Barrier on the server and stopped it also on the client then restarted both and the client started working
@NitroHxC commented on GitHub (Mar 7, 2023):
Thank you. Disabling SSL worked for me with Win10 as Server and Ubuntu 22.04 as Client.
@franva commented on GitHub (Mar 25, 2023):
I got the same issue but my 2 OSs are:
Server: Ubuntu 20.04
Client: RPi BullEye 64Bit OS
Solution:
I disabled SSL + manually typed in my server ip, then restarted the Barrier.
@Michelangelo-Foresta commented on GitHub (Mar 25, 2023):
<3 you are the best.
@PJK2011 commented on GitHub (Mar 26, 2023):
It took me having to apply just about all of the suggestions in this thread and really paying attention to detail. What got it finally working for me was clicking to Save Configuration. I hadn't been doing that, and especially not noticing that closing the GUI wasn't stopping Barrier and several copies of Barrier were running with different configurations, after closing them all out and rechecking all the menus and dialog boxes, I found one of them still had the SSH box checked. Once I cleared that, Barrier started running.
@VioletSnow08 commented on GitHub (Jul 8, 2023):
Thank you!!!
@fbrinker commented on GitHub (Jul 27, 2023):
Thank you for all the hints. Input-Leap isn't an alternatîve for me yet without non-debug binaries. Barrier just works with a Win 11 Server and Arch Client after disabling SSL, but it I searched a while for the SSL option... It's behind Barrier -> Change Settings (F4). I always thought it's the SSL "Fingerprint" option at first... The Barrier Log was very helpful in seeing that it is still trying to use SSL :D
@deanrobin333 commented on GitHub (Sep 8, 2023):
I managed to get great help from all the advises above. I only needed to do one extra thing. which was to disable SSL. So this is now what worked for me.
@JohnWilliston commented on GitHub (Feb 3, 2024):
I had the same problem trying to get my iMac running macOS Monterey 12.7.3 to connect to my Windows PC running Windows 10 Pro x64. It seems like turning off SSL on the PC acting as a server doesn't work. I had to make sure SSL was enabled and then use the following commands to generate an SSL cert on the Windows machine:
With that new certificate in place, restarting the server and restarting the client finally gave me the anticipated behavior. The client asked me to confirm the fingerprint of the newly generated cert, and all of a sudden it was working. Yay!
@dasboogles commented on GitHub (Apr 15, 2024):
Ran into this just now, and I've collected the top issues that could cause this:
Any of the above errors can, or will, cause the "Barrier Service" to stop which will prevent your Barrier Server from going from "starting" -> "running". Once you've checked the above, go check your Services for the Barrier service and insure it is running.
@talk2emman commented on GitHub (Jul 7, 2024):
Mine is not working even after disabling it
@leosanxyz commented on GitHub (Aug 2, 2024):
thanks! now is working as expected!