Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10, Barrier never starts #1326

Open
RadJKW opened this issue Oct 19, 2021 · 5 comments
Open

Windows 10, Barrier never starts #1326

RadJKW opened this issue Oct 19, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@RadJKW
Copy link

RadJKW commented Oct 19, 2021

What happened?

Description

I've gone through windows firewall and tried everything I've researched, but i cannot get barrier to run on my machine. I have had the application change the status from 'Barrier is starting.' to 'Barrier is running.' only 2 times since it was installed. I am trying to use my windows pc as the server and connect my raspberry pi running raspberry pi os as a client. I'll list my logs and other data below.

Version

v2.3.3

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Install barrier from the repo's release page

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

Windows

What OS versions are you using?

Edition: Windows 10 Enterprise
Version: 2004
OS Build: 19041.1288

Raspberry Pi OS
Debian 10
*MOST UPDATED VERSION

Relevant log output

Windows Event Viewer

Here i have received the following error under Windows Logs -> Application

Bad service type in 192.168.0.1._barrierServerZeroconf._tcp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>

Barrier - Logs

Here are the logs from barrier currently. These logs have shown different errors but I do not currently have them. i replaced my username with {USER}, why i am not sure but i did what i did 😕

[2021-10-19T14:26:45] INFO: connecting to service...
[2021-10-19T14:26:46] INFO: connection established
[2021-10-19T14:26:42] INFO: starting new process as privileged user
[2021-10-19T14:26:43] ERROR: cannot read configuration "C:/Users/{USER}/AppData/Local/Temp/Barrier.fPUnOX": read error: line 26: unknown screen name in switchToScreen
barriers.exe: no configuration available
[2021-10-19T14:26:43] ERROR: failed to launch, error: process immediately stopped
[2021-10-19T14:26:43] INFO: backing off, wait=4s, failures=2
server status: not active
[2021-10-19T14:26:47] INFO: starting new process as privileged user
[2021-10-19T14:26:48] ERROR: cannot read configuration "C:/Users/{USER}/AppData/Local/Temp/Barrier.fPUnOX": read error: line 26: unknown screen name in switchToScreen
barriers.exe: no configuration available
[2021-10-19T14:26:49] ERROR: failed to launch, error: process immediately stopped
[2021-10-19T14:26:49] INFO: backing off, wait=6s, failures=3

Additional Info

Windows Firewall

Here i followed instructions to open TCP: 24800 on my firewall and also followed a writeup that showed to add the apps barrier.exe and barrierc.exe to the firewall's applications list.

Conclusion:

I would really like this to work as ive always used Microsoft Garage: Mouse without boarders on my windows machine but i do not have that ability with linux on the raspberry pi.

@RadJKW RadJKW added the bug Something isn't working label Oct 19, 2021
@GroobleDierne
Copy link

GroobleDierne commented Dec 24, 2021

Do you have a non standard ASCII character (like é è à ù) in your username or your filepath to barrier's configuration? I had the same issue and changing the configuration's path fixed it for me.

@ma3252788
Copy link

Do you have a non standard ASCII character (like é è à ù) in your username or your filepath to barrier's configuration? I add the same issue and changing the configuration's path fixed it for me.

How can I modify the path of the configuration file? As a client, I don't see anything that can be modified.

@mirh
Copy link

mirh commented Feb 28, 2022

Non-standard paths have been supposedly fixed in #979
The problem OP has seems to be about some odd character in the screen name (either in the host or the clients)?

@Wayeet
Copy link

Wayeet commented Dec 4, 2023

I was encountering the same issue and the hint by @GroobleDierne really helped. My windows installation decided to take my first name which includes a special-character for my users path. So just saving the config in barrir and then reopening it from a "ascii-valid" path should fix the issue

@GroobleDierne
Copy link

I was encountering the same issue and the hint by @GroobleDierne really helped. My windows installation decided to take my first name which includes a special-character for my users path. So just saving the config in barrir and then reopening it from a "ascii-valid" path should fix the issue

Glad it helped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants