mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #301] Cannot use snap on Ubuntu - permission denied errors for both client and server #242
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#242
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 @jwulf on GitHub (May 8, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/301
Operating Systems
Server: Mac OS Mojave 10.14.4
Client: Ubuntu 19.04
Barrier Version
Client: 2.2.0-snapshot-56218468
Server: 2.1.0-RELEASE-8b69f9fe
Steps to reproduce bug
Unable to start the zeroconf: Permission denied.IP addresses: Unknownin the panel.@jwulf commented on GitHub (May 8, 2019):
Workaround:
https://askubuntu.com/questions/1133041/error-unable-to-start-the-zeroconf-permission-denied
Then run:
@AdrianKoshka commented on GitHub (May 8, 2019):
Do you know if there's a way to report a bug against the snap? I personally don't know who maintains it.
@jwulf commented on GitHub (May 9, 2019):
There doesn't seem to be an obvious one. I posted in the Snapcraft Forum about it:
https://forum.snapcraft.io/t/how-do-i-log-a-bug-against-a-specific-snap/11282
@payomagic commented on GitHub (Jun 7, 2019):
To build a snap might be also pain in the a$$... Same issues as with Flatpak and/or building from source ;) If you use Ubuntu 18.10 or above -- Barrier gets installed from repo - via snap
@AdrianKoshka commented on GitHub (Jun 7, 2019):
I can't speak for snap, but building the flatpak is rather trivial.
@AdrianKoshka commented on GitHub (Jun 7, 2019):
I found who maintain the snap apparently: https://launchpad.net/~netmag
@payomagic commented on GitHub (Jun 7, 2019):
@AdrianKoshka -- netmag is me ... And i am getting errors with flatpak (first - install flatpak, second - it doesn't see any screen , third - it is still pushing me into KDE .. )
@AdrianKoshka commented on GitHub (Jun 7, 2019):
Are you using the flatpak on Wayland? We don't have Wayland support.
@payomagic commented on GitHub (Jun 7, 2019):
nope - X (xfce4 , gnome) , Xvnc and also tested with Xming tunneled via SSH -- didn't have luck // that's why I have built the snap finally as source was also no way for me
@AdrianKoshka commented on GitHub (Jun 7, 2019):
The runtime it uses is the KDE runtime, because it has the various QT dependencies we need to build.
@AdrianKoshka commented on GitHub (Jun 7, 2019):
Huh, odd.
@ghost commented on GitHub (Jul 23, 2019):
I build it from source and I am getting these errors. Synergy v1.8.8 no problems... Fix?
The Stop button isn't even working.
[2019-07-23T15:08:25] INFO: starting server
[2019-07-23T15:08:25] INFO: config file: /tmp/Barrier.X32491
[2019-07-23T15:08:25] INFO: log level: INFO
[2019-07-23T15:08:25] ERROR: process exited with error code: 11
[2019-07-23T15:08:25] INFO: detected process not running, auto restarting
[2019-07-23T15:08:26] INFO: starting server
[2019-07-23T15:08:26] INFO: config file: /tmp/Barrier.L32491
[2019-07-23T15:08:26] INFO: log level: INFO
[2019-07-23T15:08:26] ERROR: process exited with error code: 11
[2019-07-23T15:08:26] INFO: detected process not running, auto restarting
[2019-07-23T15:08:27] INFO: starting server
[2019-07-23T15:08:27] INFO: config file: /tmp/Barrier.n32491
[2019-07-23T15:08:27] INFO: log level: INFO
[2019-07-23T15:08:27] ERROR: process exited with error code: 11
[2019-07-23T15:08:27] INFO: detected process not running, auto restarting
[2019-07-23T15:08:28] INFO: starting server
[2019-07-23T15:08:28] INFO: config file: /tmp/Barrier.k32491
[2019-07-23T15:08:28] INFO: log level: INFO
[2019-07-23T15:08:28] ERROR: process exited with error code: 11
[2019-07-23T15:08:28] INFO: detected process not running, auto restarting
[2019-07-23T15:08:29] INFO: starting server
[2019-07-23T15:08:29] INFO: config file: /tmp/Barrier.U32491
[2019-07-23T15:08:29] INFO: log level: INFO
[2019-07-23T15:08:29] ERROR: process exited with error code: 11
[2019-07-23T15:08:29] INFO: detected process not running, auto restarting
@maxiberta commented on GitHub (Jul 23, 2019):
@LamaRaz are you on latest
master? I've just built the snap locally from scratch on a clean lxd on Ubuntu 19.04, installed it and ran the server with no issues.(Note: it needs an unrelated fix in the
version-scriptfor local lxd builds, PR coming soon.)And logs show:
You can also try the
barrier-maxibertasnap, which is automatically built and published to theedgechannel (for details see #360 ).@ghost commented on GitHub (Jul 23, 2019):
I tried master and 2.2.0 (also called v2.1.2 for whatever reason) and the barrier-kvm snap. All error code 11 as server on ubuntu 18.04.
Your snap is unfortunately also not working.
[2019-07-23T18:42:03] INFO: starting server
[2019-07-23T18:42:03] INFO: command: /snap/barrier-maxiberta/31/usr/bin/barriers -f --no-tray --debug DEBUG --name gffh1pc --enable-crypto -c /tmp/Barrier.I30874 --address :24800
[2019-07-23T18:42:03] INFO: config file: /tmp/Barrier.s30874
[2019-07-23T18:42:03] INFO: log level: DEBUG
[2019-07-23T18:42:03] DEBUG: opening configuration "/tmp/Barrier.I30874"
[2019-07-23T18:42:03] DEBUG: configuration read successfully
[2019-07-23T18:42:03] DEBUG: XOpenDisplay(":0")
[2019-07-23T18:42:03] DEBUG: xscreensaver window: 0x00000000
[2019-07-23T18:42:03] DEBUG: screen shape: 0,0 3840x1200 (xinerama)
[2019-07-23T18:42:03] DEBUG: window is 0x05a00004
[2019-07-23T18:42:03] DEBUG: adopting new buffer
[2019-07-23T18:42:03] DEBUG: opened display
[2019-07-23T18:42:03] ERROR: process exited with error code: 11
[2019-07-23T18:42:03] INFO: detected process not running, auto restarting
[2019-07-23T18:42:04] DEBUG: starting process
@maxiberta commented on GitHub (Jul 24, 2019):
@LamaRaz Can you please:
$ snap version$ journalctl -f$ sudo snap install barrier --devmodebarriersdirectly from command line:$ /snap/bin/barrier-maxiberta.barriers -f --no-tray --debug DEBUG --name server --enable-crypto -c /tmp/Barrier.J30537 --address :24800.barrierswith no encryption from command line:$ /snap/bin/barrier-maxiberta.barriers -f --no-tray --debug DEBUG --name server -c /tmp/Barrier.J30537 --address :24800.Thanks!
@ghost commented on GitHub (Jul 24, 2019):
I have been running both snaps with --devmode otherwise they don't even show IPs.
Also forget the snaps, the native version seg faults...
/usr/local/bin/barriers -f --no-tray --debug DEBUG --name homepc001 -c /tmp/Barrier.Sm4732 --address :24800
[2019-07-24T16:11:22] DEBUG: opening configuration "/tmp/Barrier.Sm4732"
/home/x/000git/barrier-2.1.2/src/lib/barrier/ServerApp.cpp,221
[2019-07-24T16:11:22] DEBUG: configuration read successfully
/home/x/000git/barrier-2.1.2/src/lib/barrier/ServerApp.cpp,232
[2019-07-24T16:11:22] DEBUG: XOpenDisplay(":0")
/home/x/000git/barrier-2.1.2/src/lib/platform/XWindowsScreen.cpp,915
[2019-07-24T16:11:22] DEBUG: xscreensaver window: 0x00000000
/home/x/000git/barrier-2.1.2/src/lib/platform/XWindowsScreenSaver.cpp,346
[2019-07-24T16:11:22] DEBUG: screen shape: 0,0 3840x1200 (xinerama)
/home/x/000git/barrier-2.1.2/src/lib/platform/XWindowsScreen.cpp,152
[2019-07-24T16:11:22] DEBUG: window is 0x05000004
/home/x/000git/barrier-2.1.2/src/lib/platform/XWindowsScreen.cpp,153
[2019-07-24T16:11:22] DEBUG: adopting new buffer
/home/x/000git/barrier-2.1.2/src/lib/base/EventQueue.cpp,181
[2019-07-24T16:11:22] DEBUG: opened display
/home/x/000git/barrier-2.1.2/src/lib/barrier/Screen.cpp,49
Segmentation fault
kernel: barriers[5278]: segfault at 1e121 ip 000000000001e121 sp 00007ffcfe8816b8 error 14 in barriers[55bbd70dd000+152000]
@payomagic commented on GitHub (Jul 26, 2019):
@LamaRaz
Might be obvious, but ...
uname -aenvI was experiencing a minor issues with the Nvidia drivers. Non-standard paths set in $env caused me the headache, and after the LXD itself. If you install in devmode, without sudo the app is not coming up properly.
Let's try to coop with @maxiberta as well. I might test on different architectures. Are you using standard x64 or some IoT board?
@payomagic aka netmag
@ghost commented on GitHub (Jul 26, 2019):
sudo produces the same seg fault
nvidia 418.56 (for dxvk/vulkan)
2 monitors connected
don't see how a firewall can cause a seg fault but i made no effort to use one and synergy doesn't have any problems connecting
sestatus
SELinux status: disabled
Linux x 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
DISPLAY=:0
GNOME_SHELL_SESSION_MODE=ubuntu
XDG_VTNR=1
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
S_COLORS=auto
XDG_SESSION_ID=1
DESKTOP_SESSION=ubuntu
QT4_IM_MODULE=xim
TEXTDOMAINDIR=/usr/share/locale/
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
QT_ACCESSIBILITY=1
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_SESSION_DESKTOP=ubuntu
GJS_DEBUG_OUTPUT=stderr
GTK_MODULES=gail:atk-bridge
WINDOWPATH=1
TERM=xterm-256color
SHELL=/bin/bash
VTE_VERSION=5202
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
IM_CONFIG_PHASE=2
XDG_CURRENT_DESKTOP=ubuntu:GNOME
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GNOME_TERMINAL_SERVICE=:1.70
XDG_SEAT=seat0
SHLVL=1
GDMSESSION=ubuntu
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=x
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_RUNTIME_DIR=/run/user/1000
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
PATH=/home/x/bin:/home/x/anaconda3/bin:/home/x/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
SESSION_MANAGER=local/x:@/tmp/.ICE-unix/1510,unix/x:/tmp/.ICE-unix/1510
LESSOPEN=| /usr/bin/lesspipe %s
GTK_IM_MODULE=ibus
_=/usr/bin/env