[GH-ISSUE #1910] mouse not sharing after upgrading from Ubuntu 20.04 to Ubuntu 22.04 #1395

Open
opened 2026-05-05 07:47:49 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @hamkuu on GitHub (Mar 3, 2023).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1910

What happened?

I have two computers both running Ubuntu 20.04,
one as the server, the other as the client, and Barrier v2.4 worked fine for me over a year.

After upgrading both computer to Ubuntu 22.04, and installing Barrier v2.4,
and the client says "connected to server".

But the mouse on the server cannot move to the client.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

downloaded from Ubuntu Software.

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

Linux

What OS versions are you using?

Ubuntu 22.04 LTS

Relevant log output

[2023-03-03T10:29:33] INFO: starting server
[2023-03-03T10:29:33] INFO: config file: /tmp/Barrier.ab9639
[2023-03-03T10:29:33] INFO: log level: INFO
started server (IPv4/IPv6), waiting for clients
[2023-03-03T10:29:33] NOTE: accepted client connection
[2023-03-03T10:29:33] NOTE: client "MyClientHostname" has connected

Any other information

No response

Originally created by @hamkuu on GitHub (Mar 3, 2023). Original GitHub issue: https://github.com/debauchee/barrier/issues/1910 ### What happened? I have two computers both running Ubuntu 20.04, one as the server, the other as the client, and Barrier v2.4 worked fine for me over a year. After upgrading both computer to Ubuntu 22.04, and installing Barrier v2.4, and the client says "connected to server". But the mouse on the server cannot move to the client. ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? downloaded from Ubuntu Software. ### What OSes are you seeing the problem on? (Check all that apply) Linux ### What OS versions are you using? Ubuntu 22.04 LTS ### Relevant log output ```shell [2023-03-03T10:29:33] INFO: starting server [2023-03-03T10:29:33] INFO: config file: /tmp/Barrier.ab9639 [2023-03-03T10:29:33] INFO: log level: INFO started server (IPv4/IPv6), waiting for clients [2023-03-03T10:29:33] NOTE: accepted client connection [2023-03-03T10:29:33] NOTE: client "MyClientHostname" has connected ``` ### Any other information _No response_
Author
Owner

@SlowHyper commented on GitHub (Mar 7, 2023):

Upgraded Ubuntu from 20.04 to 22.04 and barrier server was not working. I disabled SSL but still barrier was not working.
For anyone interested my problem was solved and SSL is now working fine, by logging in with an xorg session.
Maybe wayland support is the problem! I hope this helps.

<!-- gh-comment-id:1457768769 --> @SlowHyper commented on GitHub (Mar 7, 2023): Upgraded Ubuntu from 20.04 to 22.04 and barrier server was not working. I disabled SSL but still barrier was not working. For anyone interested my problem was solved and SSL is now working fine, by logging in with an xorg session. Maybe wayland support is the problem! I hope this helps.
Author
Owner

@eliumoraes commented on GitHub (May 15, 2023):

I followed SlowHyper instructions and it worked for me! Thanks for sharing!

<!-- gh-comment-id:1548491754 --> @eliumoraes commented on GitHub (May 15, 2023): I followed SlowHyper instructions and it worked for me! Thanks for sharing!
Author
Owner

@alanjames1987 commented on GitHub (Jun 9, 2023):

I'm getting the same error. The computers connect but cannot control each other.

I'm running Kubuntu 22.04 on my desktop / server and Ubuntu 22.04 on my laptop / client. I've installed Wayland on my desktop using sudo apt-get install plasma-workspace-wayland and switched to it by logging out, selecting the Wayland option in the bottom left, and logging back in.

When running X11 or Wayland on my desktop I can move the mouse off screen but the client mouse will not move. The keyboard is controllable however.

I've also reversed this, running the server on the laptop running Wayland and the client on the desktop running X11. In this case when moving the mouse off screen of the server I can't control anything on the client.

<!-- gh-comment-id:1585159356 --> @alanjames1987 commented on GitHub (Jun 9, 2023): I'm getting the same error. The computers connect but cannot control each other. I'm running Kubuntu 22.04 on my desktop / server and Ubuntu 22.04 on my laptop / client. I've installed Wayland on my desktop using `sudo apt-get install plasma-workspace-wayland` and switched to it by logging out, selecting the Wayland option in the bottom left, and logging back in. When running X11 or Wayland on my desktop I can move the mouse off screen but the client mouse will not move. The keyboard is controllable however. I've also reversed this, running the server on the laptop running Wayland and the client on the desktop running X11. In this case when moving the mouse off screen of the server I can't control anything on the client.
Author
Owner

@eliumoraes commented on GitHub (Jun 10, 2023):

[2023-03-03T10:29:33] INFO: starting server
[2023-03-03T10:29:33] INFO: config file: /tmp/Barrier.ab9639
[2023-03-03T10:29:33] INFO: log level: INFO
started server (IPv4/IPv6), waiting for clients
[2023-03-03T10:29:33] NOTE: accepted client connection
[2023-03-03T10:29:33] NOTE: client "MyClientHostname" has connected

Did you open the ports on both sides (client and server) and checked if the machine names are the same in the configurations? It's also important for you to verify if the SSH key is properly configured.

<!-- gh-comment-id:1585687587 --> @eliumoraes commented on GitHub (Jun 10, 2023): > ```shell > [2023-03-03T10:29:33] INFO: starting server > [2023-03-03T10:29:33] INFO: config file: /tmp/Barrier.ab9639 > [2023-03-03T10:29:33] INFO: log level: INFO > started server (IPv4/IPv6), waiting for clients > [2023-03-03T10:29:33] NOTE: accepted client connection > [2023-03-03T10:29:33] NOTE: client "MyClientHostname" has connected > ``` Did you open the ports on both sides (client and server) and checked if the machine names are the same in the configurations? It's also important for you to verify if the SSH key is properly configured.
Author
Owner

@eliumoraes commented on GitHub (Jun 10, 2023):

I also usually set a fixed IP address for the server because it makes it easier for clients to locate the machine.

<!-- gh-comment-id:1585687871 --> @eliumoraes commented on GitHub (Jun 10, 2023): I also usually set a fixed IP address for the server because it makes it easier for clients to locate the machine.
Author
Owner

@andydude commented on GitHub (Oct 11, 2023):

Same issue, my server says "client ... is connected" and my client says "connected to server", but the mouse doesn't travel between monitors like it used to. I'm not sure what "logging into Xorg" means, but I suspect it means that I'm running Xwayland. I have no idea how to configure that, and would prefer to not have to reinstall Ubuntu with a different window manager just to use one app. Does barrier support wayland?

<!-- gh-comment-id:1756594904 --> @andydude commented on GitHub (Oct 11, 2023): Same issue, my server says "client ... is connected" and my client says "connected to server", but the mouse doesn't travel between monitors like it used to. I'm not sure what "logging into Xorg" means, but I suspect it means that I'm running Xwayland. I have no idea how to configure that, and would prefer to not have to reinstall Ubuntu with a different window manager just to use one app. Does barrier support wayland?
Author
Owner

@sgon00 commented on GitHub (Jan 10, 2024):

Does barrier support wayland?

@andydude No, barrier does NOT support wayland. I think the project is dead.

<!-- gh-comment-id:1884961239 --> @sgon00 commented on GitHub (Jan 10, 2024): > Does barrier support wayland? @andydude No, barrier does NOT support wayland. I think the project is dead.
Author
Owner

@jamie-pate commented on GitHub (Feb 1, 2024):

for me it works on the right side of the screen but not the left, but even though the mouse travels, it doesn't really work

<!-- gh-comment-id:1922090513 --> @jamie-pate commented on GitHub (Feb 1, 2024): for me it works on the right side of the screen but not the left, but even though the mouse travels, it doesn't really work
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#1395
No description provided.