mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #181] Barrier installed in Ubuntu Linux only stops at "Barrier is starting" #146
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#146
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 @josephcalixtro on GitHub (Nov 22, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/181
Operating Systems
Server: Ubuntu 18.04.1 LTS
Client: Windows 10 Pro
Barrier Version
1.9.π
Steps to reproduce bug
1.Set Windows 10 as client
2.Set Ubuntu Linux as Server
3. Start Barrier
4. "Barrier is starting" dialog is stuck
Other info
I Tried using the stated resolutions and also the steps in building in Linux. Since I am new to this Operating System and this application is the best way other than the usual KVM sharing, I tried this one. I also noticed the error stated in the logs when I tried to show it
[2018-11-22T11:52:43] INFO: starting server
[2018-11-22T11:52:43] INFO: command: /usr/local/bin/barriers -f --no-tray --debug DEBUG --name joseph-X450EA --enable-crypto -c /tmp/Barrier.dd3743 --address :24800
[2018-11-22T11:52:43] INFO: config file: /tmp/Barrier.ed3743
[2018-11-22T11:52:43] INFO: log level: DEBUG
[2018-11-22T11:52:43] DEBUG: opening configuration "/tmp/Barrier.dd3743"
/home/joseph/barrier/src/lib/barrier/ServerApp.cpp,221
[2018-11-22T11:52:43] DEBUG: configuration read successfully
/home/joseph/barrier/src/lib/barrier/ServerApp.cpp,232
[2018-11-22T11:52:43] DEBUG: XOpenDisplay(":0")
/home/joseph/barrier/src/lib/platform/XWindowsScreen.cpp,885
[2018-11-22T11:52:43] DEBUG: xscreensaver window: 0x00000000
/home/joseph/barrier/src/lib/platform/XWindowsScreenSaver.cpp,350
[2018-11-22T11:52:44] ERROR: process exited with error code: 11
[2018-11-22T11:52:44] INFO: detected process not running, auto restarting
[2018-11-22T11:52:45] DEBUG: starting process
Thanks for the further advice.
@AdrianKoshka commented on GitHub (Nov 22, 2018):
Did you configure the server?
Also you really shouldn't be building from master unless you're doing development work and/or testing patches. We have releases
@l0o0 commented on GitHub (Nov 26, 2018):
I have this issue too.
I have downloaded the 2.1.2 source file from GitHub then compile.
If Ubuntu 16.04 as a server, win10 is a client, everything is OK.
If win10 as a server, Ubuntu as a client, Barrier is stuck in "Barrier is starting". The log is below:
I have tried to install from flatpak. Is it necessary to download so many packages?

After installing from flatpak and reboot. I select barrier form ubuntu dash. The problem is still here.
Here is the log:
@AdrianKoshka commented on GitHub (Nov 26, 2018):
You're not meant to do this. 2.1.2 just introduced the flatpak. 2.10 is (more or less) identical.
Yep
I know for windows you have to allow
barrier.exeandbarriers.exethrough the firewall and open the port that barrier uses.@l0o0 commented on GitHub (Nov 27, 2018):
@AdrianKoshka Thank you for your quick reply. After adding
barriers.exeandbarrierc.exeto the firewall exception programs, it works.I think a simple tutorial or wiki will be appreciated.
@AdrianKoshka commented on GitHub (Nov 27, 2018):
We do have a wiki, but I don't know the specific steps to adding the rule(s) to the windows firewall. I've offered before that if anyone can write up a tutorial for how to do it, I'm more than happy to add it to the wiki with credit.
@l0o0 commented on GitHub (Nov 27, 2018):
I have made a screenshot to show how to add exception programs in window defender firewall win10. I'm sorry that the interface is Chinese.




Maybe you can use these screenshot in the wiki.
@AdrianKoshka commented on GitHub (Nov 27, 2018):
I'll get around to adding them, non-chinese ones would be preferable though. Even though the buttons are exactly the same. Thanks for the English instructions.
@AdrianKoshka commented on GitHub (Nov 27, 2018):
A very lazy effort on my part, but: https://github.com/debauchee/barrier/wiki/Adding-Barrier-to-the-Windows-Firewall (Added credit)
@l0o0 commented on GitHub (Nov 27, 2018):
@AdrianKoshka I think screenshots were captured by l0o0 😃
@AdrianKoshka commented on GitHub (Nov 27, 2018):
Oh jeez! My bad! I'll fix that right away!
@N3BB3Z4R commented on GitHub (May 19, 2019):
Same problem "Barrier is Starting", it still no works in Win10 as server and Ubuntu as client.
@zanhk commented on GitHub (Aug 3, 2019):
Same, on debian 10 as client it keep say "barrier is starting" while in win10 as server It say it's in function
@leflings commented on GitHub (Sep 6, 2019):
Just wanted to say I had the same issues, but I found that disabling SSL in barrier settings solved it. Of course this solution isn't for everyone, but it works in a pinch.
@AdrianKoshka commented on GitHub (Sep 6, 2019):
If you were using an outdated version of the flatpak, that could be why.
@edegaudenzi commented on GitHub (Mar 17, 2020):
Manual workaround: https://github.com/debauchee/barrier/issues/480
@ttfreeman commented on GitHub (Apr 28, 2020):
How do you disable SSL in barrier setting?
@pratyushlohumi26 commented on GitHub (Jun 30, 2020):
Add exceptions in your windows firewall, put the name of the screens as same on the server-side (windows in case of me) as suggested in the above comments.
It still wasn't connected,
WHAT MORE I HAD TO DO: In my ubuntu (client side) TeamViewer was running in background as I exited it, barrier started working for me. Now I can control ubuntu with my windows mouse/keyboard.