mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1188] ubuntu 20.04 not connecting with windows-10 64 bit #958
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#958
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 @ishika261 on GitHub (Jun 8, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1188
i wish to use ubuntu as my server and windows as a client. configuration and SSL keys matching is done. The client keeps shows barrier is running and Ubuntu(server) keeps showing barrier is starting. But I am not able to use the same mouse and keyboard for my client. Any help would be great! (p.s. I am new to ubuntu.)
@ranjeetnooli commented on GitHub (Jun 10, 2021):
even i am having the same issue. i have ubuntu 20.04.2 LTS as server and windows as client. earlier it used to work but now it does not even connect. but when i use windows as server and ubuntu as client it does connect but cursor wont show up when i navigate to ubuntu machine from windows. earlier i have used barrier across my three systems, ubuntu as server and windows and kali linux as clients. never had a problem till now. :(
edit: i changed display server protocol from wayland to x11 and now barrier works (Server : windows, client: ubuntu) but not vice versa. i really want it work the other way.
@presire commented on GitHub (Jun 25, 2021):
I also have the same problem.
Server : openSUSE Leap 15.3 (x11)
Client : Windows 10
Like you, I can connect and it works fine with the following environment.
Server : Windows 10
Client : openSUSE Leap 15.3 (x11)
By the way, it worked fine in the previous environment.
Server : openSUSE Leap 15.2 (x11)
Client : Windows 10
@presire commented on GitHub (Jun 26, 2021):
I don't know if this is the right way,
when I stopped firewalld, Barrier worked.
Perhaps, I think that this is a KVM issue.
On VMware, both are working fine.
@ranjeetnooli commented on GitHub (Jun 26, 2021):
Yes it does work when u stop firewall.. but after a while again it disconnects.. Everytime it disconnects I need to stop and restart the firewall.
@presire commented on GitHub (Jun 26, 2021):
After a lot of trial and error, By the following step, I was able to get Barrier to work.
Βy the following steps, Barrier will run without stopping firewalld.
First, create the
/usr/lib/firewalld/services/barrier.xmlfile. (You may not need this file)Next, edit the
/usr/lib/firewalld/zones/libvirt.xmlfile.Above
</zone>, add<port port="24800" protocol="tcp"/>.Finally, to reflect the firewall settings, run the following command.
Or reboot your PC.
There are some redundant parts,
by the above steps, worked for Barrier and Synergy.
Try the settings above.
@ranjeetnooli commented on GitHub (Jun 27, 2021):
I don't know if this is ethical but this worked for me.
sudo firewall-cmd --permanent --add-port="24800/tcp"
after this it is working fine, automatically connects to both of my client machines ( windows and ubuntu )
@presire commented on GitHub (Jun 27, 2021):
On ubuntu 20.04, Barrier was able to connect with
firewall-cmdcommand.I think that's the best (correct) way to do it.
On my openSUSE Leap 15.3, I could not connect with
firewall-cmdcommand.(Maybe it is because I did not specify
--zone=libvirt)I would like to keep in mind that there are different methods for each distribution.
@ishika261 commented on GitHub (Jul 1, 2021):
firewall-cmd is not working for me . i am getting this sudo: firewall-cmd: command not found
what to do?
@ranjeetnooli commented on GitHub (Jul 1, 2021):
first install firewalld using,
$ sudo apt install firewalld
then start and enable firewalld
$ sudo systemctl start firewalld
$ sudo systemctl enable firewalld
then use this two commands
$ sudo firewall-cmd --permanent --add-port="24800/tcp"
$ sudo firewall-cmd --reload