mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 22:01:23 -06:00
[GH-ISSUE #959] Barrier without admin rights, is it even possible ? #770
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#770
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ChristopheClaustre on GitHub (Nov 24, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/959
Hi everyone,
I want to use Barrier in an environment where not all users have admin rights.
Is there a way to have a barrier version (and installer) without admin rights ?
Is it even possible ? At least for client ?
Configuration
My rooter see both computers.
What I tried
I installed it on server without any problems, then zip and send the installation folder to my client.
The result is that this nasty version on client keep blocking on "Barrier is starting.", while spamming in the log the following errors:
It spams those errors even when I "Stop" the connection.
I suppose that "connecting to service" is specific to the client computer and not dependent of server's barrier potential dysfunction ^^"
Hope someone can help me ;)
@albertony commented on GitHub (Dec 6, 2020):
By using the command-line versions (barrierc.exe and barriers.exe), documented here you will be able to run both client and server without admin. There are some limitations when running barrier without admin, e.g. you will loose "control" if any elevated windows are active or if UAC prompts appear, but other than that it works.
I have a pull requestion for the wiki page which describes the command line version a bit more, with added details about minimal copy install of command line client/server, configuring local configuration, manually generating encryption certificate etc. See https://github.com/albertony/barrier-wiki/blob/local_config/Command-Line.md.
@ChristopheClaustre commented on GitHub (Dec 7, 2020):
Thanks for your answer. It helped a lot :)
My problem seems to be that my client can't use OpenSSL without admin rights and on this computer i can't have them. So I disabled ssl encryption on server and now it's working ! Thank you for your help.
By the way, you should consider distributing command line only installer ;)
It's note really user-friendly to install on another computer and transfer the install folder.
Thanks for all your hard work since synergy became paying ;)
@albertony commented on GitHub (Dec 7, 2020):
I agree!
In the meantime, you can extract all files from the installer using command line utility innounp, and then create your own copy-install package without installing it somewhere first.
You can't run the openssl executable, to generate certificate? Or barrier executable can't use openssl libraries? If it is the first, I found that when creating cert openssl wants to create file
C:\.rnd, which requires admin, but can be avoided by setting environment variable RANDFILE, as in my example here: https://github.com/albertony/barrier-wiki/blob/local_config/Command-Line.md#generating-certificate-and-fingerprint@ChristopheClaustre commented on GitHub (Dec 7, 2020):
Didn't know this software, seems useful but still it is not really user-friendly ^^"
Okay, I spoke too soon ^^".
The server part was okay as I am using UI version ^^" (I have admin rights here).
On the client, I updated my TrustedServers.txt and now it's working with encryption.
But still it doesn't work with UI on client. I get the same error than on my first post. Don't know why.
@plessbd commented on GitHub (Dec 24, 2020):
I know this is closed, but there is an easier way to get the programs without extracting the installer.
Use the Azure pipelines
This will give you a zip file.
@albertony commented on GitHub (Dec 25, 2020):
True. I am considering those beta builds, though.