[GH-ISSUE #1150] Mouse pointer doesn't show up on second system every other time #927

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

Originally created by @bleising-wdc on GitHub (Apr 28, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1150

Describe the bug
A clear and concise description of what the bug is.
When sharing a mouse and keyboard with two systems, the client does not graphically show the mouse pointer half of the time when the pointer is moved from the server. Every two times the cursor goes between screens, the first will have the cursor visible, the second will not. This is only on the client, the server has no issue with pointer visibility.

The mouse pointer still highlights when hovering over anything that normally causes a tooltip to show.
To Reproduce

Steps to reproduce the behavior:

  1. Start barrier server on host PC
  2. Start barrier client on other PC
  3. Move mouse from host to other PC (host is on the left monitor, client is on the right monitor)
  4. If mouse pointer does continue to show itself graphically, move mouse back to host PC and then back again to the client PC
  5. Mouse pointer should be functionally in the same place it would be with the same mouse movements, but not showing up graphically

Expected behavior
A clear and concise description of what you expected to happen.
I expect the mouse pointer to graphically carry over from the server each and every time once the connection is established.

Screenshots
If applicable, add screenshots to help explain your problem.
Tough to show reproduction with an image, but this image shows the result - hovering over the hyperlink without a mouse pointer being present:
image

Please do not link to image hosting sites, as these can be ephemeral. Instead, attach them to the issue.

Desktop (please complete the following information):

  • OS (Server): [Ubuntu 16.04]

  • Barrier version v2.3.3-release (according to barriers --version)

  • OS (Client): [Ubuntu 20.04]

  • Barrier version v2.3.2-Release (according to barrierc --version)

Additional context
Add any other context about the problem here.

With a python script on the client (which is where the issue seems to happen), I constantly polled the position of the mouse. I wanted to make sure that the mouse was not automatically being put into a corner or something. As far as I can tell, the position of the mouse is always as expected (no teleports anywhere, just following the movement of the mouse between displays of different systems).

Originally created by @bleising-wdc on GitHub (Apr 28, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1150 **Describe the bug** A clear and concise description of what the bug is. When sharing a mouse and keyboard with two systems, the client does not graphically show the mouse pointer half of the time when the pointer is moved from the server. Every two times the cursor goes between screens, the first will have the cursor visible, the second will not. This is only on the client, the server has no issue with pointer visibility. The mouse pointer still highlights when hovering over anything that normally causes a tooltip to show. **To Reproduce** Steps to reproduce the behavior: 1. Start barrier server on host PC 2. Start barrier client on other PC 3. Move mouse from host to other PC (host is on the left monitor, client is on the right monitor) 4. If mouse pointer does continue to show itself graphically, move mouse back to host PC and then back again to the client PC 5. Mouse pointer should be functionally in the same place it would be with the same mouse movements, but not showing up graphically **Expected behavior** A clear and concise description of what you expected to happen. I expect the mouse pointer to graphically carry over from the server each and every time once the connection is established. **Screenshots** If applicable, add screenshots to help explain your problem. Tough to show reproduction with an image, but this image shows the result - hovering over the hyperlink without a mouse pointer being present: ![image](https://user-images.githubusercontent.com/74746503/116333246-fd7a3400-a787-11eb-839a-8e852122268f.png) Please do not link to image hosting sites, as these can be ephemeral. Instead, attach them to the issue. **Desktop (please complete the following information):** - OS (Server): [Ubuntu 16.04] - Barrier version v2.3.3-release (according to barriers --version) - OS (Client): [Ubuntu 20.04] - Barrier version v2.3.2-Release (according to barrierc --version) **Additional context** Add any other context about the problem here. With a python script on the client (which is where the issue seems to happen), I constantly polled the position of the mouse. I wanted to make sure that the mouse was not automatically being put into a corner or something. As far as I can tell, the position of the mouse is always as expected (no teleports anywhere, just following the movement of the mouse between displays of different systems).
Author
Owner

@yogeshpandey009 commented on GitHub (Apr 28, 2021):

+1

OS (Server): [MacOS 10.15.7]

Barrier version v2.3.3-release

OS (Client): [MacOS 10.15.7]

Barrier version v2.3.3-Release

<!-- gh-comment-id:828292719 --> @yogeshpandey009 commented on GitHub (Apr 28, 2021): +1 OS (Server): [MacOS 10.15.7] Barrier version v2.3.3-release OS (Client): [MacOS 10.15.7] Barrier version v2.3.3-Release
Author
Owner

@Mekju commented on GitHub (May 6, 2021):

+1
I just installed Barrier and I never see my cursor on my client pc.

OS (Server): [Windows 20H2]

Barrier version v2.3.3

OS (Client): [Manjaro 21.0.3 Gnome 3.38.4]

Barrier version v2.3.3

<!-- gh-comment-id:833327804 --> @Mekju commented on GitHub (May 6, 2021): +1 I just installed Barrier and I never see my cursor on my client pc. OS (Server): [Windows 20H2] Barrier version v2.3.3 OS (Client): [Manjaro 21.0.3 Gnome 3.38.4] Barrier version v2.3.3
Author
Owner

@MatCapLynx commented on GitHub (Mar 9, 2022):

+1

OS (Server): [Ubuntu 20.04]

Barrier version v2.3.2-Release-00000000 (from apt repo)

OS (Client): [Ubuntu 18.04]

Barrier version v2.4.0-release-ac5a1bfd (from snap repo)

I noticed that plugin a mouse to the client computer would make the pointer show up. After unpluging it, the pointer stays and you can use barrier normally.

<!-- gh-comment-id:1062687417 --> @MatCapLynx commented on GitHub (Mar 9, 2022): +1 OS (Server): [Ubuntu 20.04] Barrier version v2.3.2-Release-00000000 (from apt repo) OS (Client): [Ubuntu 18.04] Barrier version v2.4.0-release-ac5a1bfd (from snap repo) I noticed that plugin a mouse to the client computer would make the pointer show up. After unpluging it, the pointer stays and you can use barrier normally.
Author
Owner

@anibalanto commented on GitHub (Aug 29, 2022):

+1

OS (Server): [Ubuntu 22.04]

Barrier version v2.4.0-release-0000000

OS (Client): [Ubuntu 22.04]

Barrier version v2.4.0-release-0000000

<!-- gh-comment-id:1230180174 --> @anibalanto commented on GitHub (Aug 29, 2022): +1 OS (Server): [Ubuntu 22.04] Barrier version v2.4.0-release-0000000 OS (Client): [Ubuntu 22.04] Barrier version v2.4.0-release-0000000
Author
Owner

@Codez2003 commented on GitHub (Nov 9, 2022):

OS (Server): [Windows 11 22H2]

Barrier version v2.4.0

OS (Client): [Ubuntu 22.04 LTS]

Barrier version v2.4.0-4-gac5a1bfd (snap store)

<!-- gh-comment-id:1309284374 --> @Codez2003 commented on GitHub (Nov 9, 2022): OS (Server): [Windows 11 22H2] Barrier version v2.4.0 OS (Client): [Ubuntu 22.04 LTS] Barrier version v2.4.0-4-gac5a1bfd (snap store)
Author
Owner

@anibalanto commented on GitHub (Nov 9, 2022):

Maybe this is related to Wayland in the client... Change Xorg solves the problem?

<!-- gh-comment-id:1309299982 --> @anibalanto commented on GitHub (Nov 9, 2022): Maybe this is related to Wayland in the client... Change Xorg solves the problem?
Author
Owner

@shnartho commented on GitHub (Dec 3, 2022):

Finally Solved the problem. Thank you @edetec & @anibalanto for your advice about Xorg.
I was using 2 operating system on 2 different laptop.

Windows(barrier server)
Ubuntu(barrier client)
Solution: I logout from ubuntu account. So before you login again, in ubuntu you will see small settings icon on bottom right. You need to click there and instead of "ubuntu" select "ubuntu on Xorg". There you go. I hope your problem will be solved. Thank you.

<!-- gh-comment-id:1336003297 --> @shnartho commented on GitHub (Dec 3, 2022): Finally Solved the problem. Thank you @edetec & @anibalanto for your advice about Xorg. I was using 2 operating system on 2 different laptop. Windows(barrier server) Ubuntu(barrier client) **Solution**: I logout from ubuntu account. So before you login again, in ubuntu you will see small settings icon on bottom right. You need to click there and instead of "ubuntu" select "ubuntu on Xorg". There you go. I hope your problem will be solved. Thank you.
Author
Owner

@dongsuperbo007 commented on GitHub (Jan 6, 2023):

Finally Solved the problem. Thank you @edetec & @anibalanto for your advice about Xorg. I was using 2 operating system on 2 different laptop.

Windows(barrier server) Ubuntu(barrier client) Solution: I logout from ubuntu account. So before you login again, in ubuntu you will see small settings icon on bottom right. You need to click there and instead of "ubuntu" select "ubuntu on Xorg". There you go. I hope your problem will be solved. Thank you.

thank you very much

<!-- gh-comment-id:1373957671 --> @dongsuperbo007 commented on GitHub (Jan 6, 2023): > Finally Solved the problem. Thank you @edetec & @anibalanto for your advice about Xorg. I was using 2 operating system on 2 different laptop. > > Windows(barrier server) Ubuntu(barrier client) **Solution**: I logout from ubuntu account. So before you login again, in ubuntu you will see small settings icon on bottom right. You need to click there and instead of "ubuntu" select "ubuntu on Xorg". There you go. I hope your problem will be solved. Thank you. thank you very much
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#927
No description provided.