[GH-ISSUE #593] Server IP is blank on every reboot #464

Closed
opened 2026-05-05 06:28:47 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @iamstoick on GitHub (Mar 18, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/593

Operating Systems

Server: MacOS Catalina

Client: Ubuntu 18.04 LTS

This is related to this closed issue https://github.com/debauchee/barrier/issues/44

Every time I reboot the client the Server IP is blank.

Barrier Version

2.3.2

Steps to reproduce bug

  1. Setup the server on macOS.
  2. Setup the client on Ubuntu.
  3. At this point, the Barrier should be working fine.
  4. Reboot the client.
  5. Confirm that the Server IP field is empty.
Originally created by @iamstoick on GitHub (Mar 18, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/593 ### Operating Systems ### Server: MacOS Catalina Client: Ubuntu 18.04 LTS This is related to this closed issue https://github.com/debauchee/barrier/issues/44 Every time I reboot the client the Server IP is blank. ### Barrier Version ### 2.3.2 ### Steps to reproduce bug ### 1. Setup the server on macOS. 2. Setup the client on Ubuntu. 3. At this point, the Barrier should be working fine. 4. Reboot the client. 5. Confirm that the Server IP field is empty.
Author
Owner

@maluramichael commented on GitHub (Mar 19, 2020):

Try the following: Open the client on the guest. Put in the ip, in the menu press barrier -> save configuration, choose a save location and name, close the client without pressing start.

Eventually i got it to work this way.

<!-- gh-comment-id:601015545 --> @maluramichael commented on GitHub (Mar 19, 2020): Try the following: Open the client on the guest. Put in the ip, in the menu press `barrier -> save` configuration, choose a save location and name, close the client without pressing `start`. Eventually i got it to work this way.
Author
Owner

@iamstoick commented on GitHub (Mar 20, 2020):

Thank you @maluramichael. I'll try this.

<!-- gh-comment-id:601515583 --> @iamstoick commented on GitHub (Mar 20, 2020): Thank you @maluramichael. I'll try this.
Author
Owner

@AlexBSM commented on GitHub (Mar 29, 2020):

This seemed to work for me:

  1. open a new Konsole in ~/usr/local/bin
  2. run sudo ./barrier in the above mentioned folder (important as you will need sudo privileges to create a file in this folder)
  3. add your server ip and any other setting on the barrier gui
  4. use the barrier tab on the gui to "save configuration" now save it to ~/usr/local/bin and call it ".barrier.sgc" (the sgc part is super important)
  5. Profit
<!-- gh-comment-id:605600554 --> @AlexBSM commented on GitHub (Mar 29, 2020): This seemed to work for me: 1) open a new Konsole in ~/usr/local/bin 2) run sudo ./barrier in the above mentioned folder (important as you will need sudo privileges to create a file in this folder) 3) add your server ip and any other setting on the barrier gui 4) use the barrier tab on the gui to "save configuration" now save it to ~/usr/local/bin and call it ".barrier.sgc" (the sgc part is super important) 5) Profit
Author
Owner

@iamstoick commented on GitHub (Apr 1, 2020):

@AlexBSM awesome! This fixed the issue I am having.

<!-- gh-comment-id:607183005 --> @iamstoick commented on GitHub (Apr 1, 2020): @AlexBSM awesome! This fixed the issue I am having.
Author
Owner

@martinpescador commented on GitHub (Feb 24, 2021):

This workaround works on one device for me, but not on another?!?

<!-- gh-comment-id:784968687 --> @martinpescador commented on GitHub (Feb 24, 2021): This workaround works on one device for me, but not on another?!?
Author
Owner

@crazydef commented on GitHub (Oct 7, 2022):

I copied the .barrier.sgc file to ~/.local/bin on Linux Mint and that worked for me.

<!-- gh-comment-id:1271213400 --> @crazydef commented on GitHub (Oct 7, 2022): I copied the `.barrier.sgc` file to `~/.local/bin` on Linux Mint and that worked for me.
Author
Owner

@sekmenhuseyin commented on GitHub (Aug 26, 2023):

Hi
I have the same problem, server IP is not saved. I've tried a dozen times with different settings
image

<!-- gh-comment-id:1694225805 --> @sekmenhuseyin commented on GitHub (Aug 26, 2023): Hi I have the same problem, server IP is not saved. I've tried a dozen times with different settings ![image](https://github.com/debauchee/barrier/assets/1363876/af11b768-9f6f-4592-b754-e36c448c304f)
Author
Owner

@myviolinsings commented on GitHub (Aug 28, 2023):

Am also having this issue after fresh install of Linux Mint using Gnome on Surface Pro 7. Everything else works except barrier doesn't start on login and it never loads saved conf file. When I tried the above in terminal at /usr/local/bin$ sudo ./barrier, I get "command not found." And saving config does not appear to save file as .sgc, but rather just a text file. A search where I saved it in home for *.sgc, including typing the name of the file I can see there, does not find any .sgc files. If I type the IP address and hit start, it continues to say, "Barrier is starting" yet the mouse & keyboard start working.

<!-- gh-comment-id:1695681179 --> @myviolinsings commented on GitHub (Aug 28, 2023): Am also having this issue after fresh install of Linux Mint using Gnome on Surface Pro 7. Everything else works except barrier doesn't start on login and it never loads saved conf file. When I tried the above in terminal at /usr/local/bin$ sudo ./barrier, I get "command not found." And saving config does not appear to save file as .sgc, but rather just a text file. A search where I saved it in home for *.sgc, including typing the name of the file I can see there, does not find any .sgc files. If I type the IP address and hit start, it continues to say, "Barrier is starting" yet the mouse & keyboard start working.
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#464
No description provided.