Barrier installed in Ubuntu Linux only stops at "Barrier is starting" #181
Labels
bug
Something isn't working
platform/windows
This issue is affecting at least one system running Windows
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.
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
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:
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.exe
andbarriers.exe
through the firewall and open the port that barrier uses.@AdrianKoshka Thank you for your quick reply. After adding
barriers.exe
andbarrierc.exe
to the firewall exception programs, it works.I think a simple tutorial or wiki will be appreciated.
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.
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.
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.
A very lazy effort on my part, but: https://github.com/debauchee/barrier/wiki/Adding-Barrier-to-the-Windows-Firewall (Added credit)
@AdrianKoshka I think screenshots were captured by l0o0 😃
Oh jeez! My bad! I'll fix that right away!
Same problem "Barrier is Starting", it still no works in Win10 as server and Ubuntu as client.
Same, on debian 10 as client it keep say "barrier is starting" while in win10 as server It say it's in function
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.
If you were using an outdated version of the flatpak, that could be why.
Manual workaround: debauchee/barrier#480
How do you disable SSL in barrier setting?
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.
The text was updated successfully, but these errors were encountered: