[GH-ISSUE #1843] Trying to start a server from a windows machine fails. #1348

Open
opened 2026-05-05 07:44:54 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @OrcunGuler1 on GitHub (Nov 24, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1843

What happened?

Trying to start a server from a windows machine fails.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Official Github release

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

Windows

What OS versions are you using?

Windows 11 version 10.0.22000 build 22000

Relevant log output

[2022-11-24T14:43:55] INFO: connecting to service...
[2022-11-24T14:43:56] INFO: connection established
server status: not active

[2022-11-24T14:43:58] INFO: starting server
[2022-11-24T14:43:58] INFO: config file: C:/Users/Orçun/AppData/Local/Temp/Barrier.aLXcOU
[2022-11-24T14:43:58] INFO: log level: INFO
[2022-11-24T14:43:58] INFO: service command updated
[2022-11-24T14:43:59] INFO: starting new process as privileged user
[2022-11-24T14:43:59] INFO: drag and drop enabled
barriers.exe: no configuration available
[2022-11-24T14:44:00] ERROR: failed to launch, error: process immediately stopped
[2022-11-24T14:44:00] INFO: backing off, wait=2s, failures=1
[2022-11-24T14:44:02] INFO: starting new process as privileged user
[2022-11-24T14:44:02] INFO: drag and drop enabled
barriers.exe: no configuration available
[2022-11-24T14:44:03] ERROR: failed to launch, error: process immediately stopped
[2022-11-24T14:44:03] INFO: backing off, wait=4s, failures=2
[2022-11-24T14:44:07] INFO: starting new process as privileged user
[2022-11-24T14:44:07] INFO: drag and drop enabled
barriers.exe: no configuration available
[2022-11-24T14:44:08] ERROR: failed to launch, error: process immediately stopped
[2022-11-24T14:44:08] INFO: backing off, wait=6s, failures=3
[2022-11-24T14:44:14] INFO: starting new process as privileged user
[2022-11-24T14:44:14] INFO: drag and drop enabled
barriers.exe: no configuration available
[2022-11-24T14:44:15] ERROR: failed to launch, error: process immediately stopped
[2022-11-24T14:44:15] INFO: backing off, wait=8s, failures=4

Any other information

I've checked other issues with similar outputs to their logs and most of the answers claim these is a non standart ASCII code in their config. Well here's my config for that purpose also;

section: screens
DESKTOP-6PRO0QS:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
preserveFocus = false
switchCorners = none
switchCornerSize = 0
end

section: aliases
end

section: links
DESKTOP-6PRO0QS:
end

section: options
relativeMouseMoves = false
screenSaverSync = true
win32KeepForeground = false
clipboardSharing = true
switchCorners = none
switchCornerSize = 0
end

Originally created by @OrcunGuler1 on GitHub (Nov 24, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1843 ### What happened? Trying to start a server from a windows machine fails. ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? Official Github release ### What OSes are you seeing the problem on? (Check all that apply) Windows ### What OS versions are you using? Windows 11 version 10.0.22000 build 22000 ### Relevant log output ```shell [2022-11-24T14:43:55] INFO: connecting to service... [2022-11-24T14:43:56] INFO: connection established server status: not active [2022-11-24T14:43:58] INFO: starting server [2022-11-24T14:43:58] INFO: config file: C:/Users/Orçun/AppData/Local/Temp/Barrier.aLXcOU [2022-11-24T14:43:58] INFO: log level: INFO [2022-11-24T14:43:58] INFO: service command updated [2022-11-24T14:43:59] INFO: starting new process as privileged user [2022-11-24T14:43:59] INFO: drag and drop enabled barriers.exe: no configuration available [2022-11-24T14:44:00] ERROR: failed to launch, error: process immediately stopped [2022-11-24T14:44:00] INFO: backing off, wait=2s, failures=1 [2022-11-24T14:44:02] INFO: starting new process as privileged user [2022-11-24T14:44:02] INFO: drag and drop enabled barriers.exe: no configuration available [2022-11-24T14:44:03] ERROR: failed to launch, error: process immediately stopped [2022-11-24T14:44:03] INFO: backing off, wait=4s, failures=2 [2022-11-24T14:44:07] INFO: starting new process as privileged user [2022-11-24T14:44:07] INFO: drag and drop enabled barriers.exe: no configuration available [2022-11-24T14:44:08] ERROR: failed to launch, error: process immediately stopped [2022-11-24T14:44:08] INFO: backing off, wait=6s, failures=3 [2022-11-24T14:44:14] INFO: starting new process as privileged user [2022-11-24T14:44:14] INFO: drag and drop enabled barriers.exe: no configuration available [2022-11-24T14:44:15] ERROR: failed to launch, error: process immediately stopped [2022-11-24T14:44:15] INFO: backing off, wait=8s, failures=4 ``` ### Any other information I've checked other issues with similar outputs to their logs and most of the answers claim these is a non standart ASCII code in their config. Well here's my config for that purpose also; section: screens DESKTOP-6PRO0QS: halfDuplexCapsLock = false halfDuplexNumLock = false halfDuplexScrollLock = false xtestIsXineramaUnaware = false preserveFocus = false switchCorners = none switchCornerSize = 0 end section: aliases end section: links DESKTOP-6PRO0QS: end section: options relativeMouseMoves = false screenSaverSync = true win32KeepForeground = false clipboardSharing = true switchCorners = none switchCornerSize = 0 end
Author
Owner

@csakyzsolt commented on GitHub (Jan 6, 2023):

I had the same error as you and I think I found what was wrong. The log says "no configuration available" immediately before it fails to launch. Are you trying to start the server with the "Configure interactively" option checked and without having a custom configuration saved on disk?

  • Then try saving your configuration with the menu option Barrier -> Save configuration.
  • After you've done so, check the "Use existing configuration" option and select the file you previously saved.
  • Try starting the server now.
<!-- gh-comment-id:1373512224 --> @csakyzsolt commented on GitHub (Jan 6, 2023): I had the same error as you and I think I found what was wrong. The log says "no configuration available" immediately before it fails to launch. Are you trying to start the server with the "Configure interactively" option checked and without having a custom configuration saved on disk? - Then try saving your configuration with the menu option _Barrier -> Save configuration_. - After you've done so, check the "Use existing configuration" option and select the file you previously saved. - Try starting the server now.
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#1348
No description provided.