[GH-ISSUE #1326] Windows 10, Barrier never starts #1049

Open
opened 2026-05-05 07:24:32 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @RadJKW on GitHub (Oct 19, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1326

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.

Originally created by @RadJKW on GitHub (Oct 19, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1326 ### 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 😕 ```shell [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.
gitea-mirror added the
bug
label 2026-05-05 07:24:32 -06:00
Author
Owner

@GroobleDierne commented on GitHub (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.

<!-- gh-comment-id:1000894250 --> @GroobleDierne commented on GitHub (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.
Author
Owner

@ma3252788 commented on GitHub (Feb 28, 2022):

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.

<!-- gh-comment-id:1053846588 --> @ma3252788 commented on GitHub (Feb 28, 2022): > 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.
Author
Owner

@mirh commented on GitHub (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)?

<!-- gh-comment-id:1054377252 --> @mirh commented on GitHub (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)?
Author
Owner

@Wayeet commented on GitHub (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

<!-- gh-comment-id:1839388450 --> @Wayeet commented on GitHub (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
Author
Owner

@GroobleDierne commented on GitHub (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

Glad it helped

<!-- gh-comment-id:1839477527 --> @GroobleDierne commented on GitHub (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 Glad it helped
Author
Owner

@Rachit-Mittal-10 commented on GitHub (Dec 18, 2024):

I also encountering it now after like years of usage. I don't even had the special character in my name or path to barrier configuration. Instead I am not seeing any barrier configuration file in AppData/Local/Barrier folder in my users folder. I tried removing app and associated folder in hopes upon reinstalling automatic configuration file would generate but alas.

<!-- gh-comment-id:2552057275 --> @Rachit-Mittal-10 commented on GitHub (Dec 18, 2024): I also encountering it now after like years of usage. I don't even had the special character in my name or path to barrier configuration. Instead I am not seeing any barrier configuration file in AppData/Local/Barrier folder in my users folder. I tried removing app and associated folder in hopes upon reinstalling automatic configuration file would generate but alas.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1049
No description provided.