[GH-ISSUE #1170] Do not work on Raspberry Pi 4(client) from Windows 10 [tried searching for similar issues] #941

Closed
opened 2026-05-05 07:18:40 -06:00 by gitea-mirror · 11 comments
Owner

Originally created by @IamLizu on GitHub (May 25, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1170

Describe the bug
I have a Raspberry Pi 4 Model B of 4GB RAM. I installed latest version of Ubuntu Desktop for Raspberry Pi on it. Then to work with my other computer, I have installed Barrier on both machines where Windows is the server and Raspberry Pi is the client. I followed the process showed in the blog of Raspberry Pi to share my mouse and keyboard using Barrier. I can see when I move the cursor to server to client, the client display gets focus but nothing works. I checked the log and it logs when I enter or leave the screen. I have opened LibreOffice Writer and tried writing, as I said, nothing works. But when I pressed ALT + F4 I saw in log found key in group 0 being made an entry.

To Reproduce

Steps to reproduce the behavior:

  1. Install Barrier latest version on Windows 10 (latest public build)
  2. Install Barrier on Raspberry Pi using 'apt'
  3. Setup Windows as server
  4. Setup Raspberry Pi as client
  5. Configure server on Windows with correct name and position of the client
  6. Start the server in Windows
  7. Connect to server from client by typing the server IP and clicking start.
  8. Try moving your mouse to the client screen from server.

Expected behavior
Mouse should move from server to client and vise versa. Mouse should work on client. Keyboard should work, meaning being able to write in client using the server's keyboard.

Desktop (please complete the following information):

  • Host OS: Windows 10 version 20H2
  • Client OS: Ubuntu for Raspberry Pi
  • Barrier version 2.3.3

Additional context

If I make the Raspberry Pi server and Windows a client then the mouse cursor do not even go to the Windows screen. But I saw in log that the connection was successful.

I can provide logs. please let me know.

Originally created by @IamLizu on GitHub (May 25, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1170 **Describe the bug** I have a Raspberry Pi 4 Model B of 4GB RAM. I installed latest version of Ubuntu Desktop for Raspberry Pi on it. Then to work with my other computer, I have installed Barrier on both machines where Windows is the server and Raspberry Pi is the client. I followed the process showed in the blog of Raspberry Pi to share my mouse and keyboard using Barrier. I can see when I move the cursor to server to client, the client display gets focus but nothing works. I checked the log and it logs when I enter or leave the screen. I have opened LibreOffice Writer and tried writing, as I said, nothing works. But when I pressed <kbd>ALT</kbd> + <kbd>F4</kbd> I saw in log `found key in group 0` being made an entry. **To Reproduce** Steps to reproduce the behavior: 1. Install Barrier latest version on Windows 10 (latest public build) 2. Install Barrier on Raspberry Pi using 'apt' 3. Setup Windows as server 4. Setup Raspberry Pi as client 5. Configure server on Windows with correct name and position of the client 6. Start the server in Windows 7. Connect to server from client by typing the server IP and clicking start. 8. Try moving your mouse to the client screen from server. **Expected behavior** Mouse should move from server to client and vise versa. Mouse should work on client. Keyboard should work, meaning being able to write in client using the server's keyboard. **Desktop (please complete the following information):** - Host OS: Windows 10 version 20H2 - Client OS: Ubuntu for Raspberry Pi - Barrier version 2.3.3 **Additional context** If I make the Raspberry Pi server and Windows a client then the mouse cursor do not even go to the Windows screen. But I saw in log that the connection was successful. I can provide logs. please let me know.
Author
Owner

@Wallby commented on GitHub (May 25, 2021):

Same issue with windows 10 and linux mint.
NOTE: for windows 10.. barrier version == 2.3.3
for linux mint.. barrier version == 2.3.2

<!-- gh-comment-id:847860967 --> @Wallby commented on GitHub (May 25, 2021): Same issue with windows 10 and linux mint. NOTE: for windows 10.. barrier version == 2.3.3 for linux mint.. barrier version == 2.3.2
Author
Owner

@Wallby commented on GitHub (May 25, 2021):

After trying some more.. it now works if the linux mint machine is the server.
It started working after I pressed reload on the server. I am not sure if I pressed reload after adding the screen to the grid on the linux mint machine.
Still doesn't work if windows 10 machine is the server.

<!-- gh-comment-id:847866865 --> @Wallby commented on GitHub (May 25, 2021): After trying some more.. it now works if the linux mint machine is the server. It started working after I pressed reload on the server. I am not sure if I pressed reload after adding the screen to the grid on the linux mint machine. Still doesn't work if windows 10 machine is the server.
Author
Owner

@IamLizu commented on GitHub (May 25, 2021):

After trying some more.. it now works if the linux mint machine is the server.

It is a good news that your problem is solved.

It started working after I pressed reload on the server. I am not sure if I pressed reload after adding the screen to the grid on the linux mint machine.
Still doesn't work if windows 10 machine is the server.

I see, at least it works in a way. But I have tried making the raspberry pi server as well. Unfortunately no luck.

<!-- gh-comment-id:848058960 --> @IamLizu commented on GitHub (May 25, 2021): > After trying some more.. it now works if the linux mint machine is the server. It is a good news that your problem is solved. > It started working after I pressed reload on the server. I am not sure if I pressed reload after adding the screen to the grid on the linux mint machine. > Still doesn't work if windows 10 machine is the server. I see, at least it works in a way. But I have tried making the raspberry pi server as well. Unfortunately no luck.
Author
Owner

@chiptaylor commented on GitHub (May 25, 2021):

I have the same issue. I have set the Windows 10 as server and the Pi4 running Ubuntu 21.04 as client (and visa versa). Either way I can see in the Barrier logs the messages for entering screen and leaving screen. I also can see on the Pi4 the icon in the launch bar go active but it never takes over the cursor on the Pi

<!-- gh-comment-id:848291200 --> @chiptaylor commented on GitHub (May 25, 2021): I have the same issue. I have set the Windows 10 as server and the Pi4 running Ubuntu 21.04 as client (and visa versa). Either way I can see in the Barrier logs the messages for entering screen and leaving screen. I also can see on the Pi4 the icon in the launch bar go active but it never takes over the cursor on the Pi
Author
Owner

@chiptaylor commented on GitHub (May 25, 2021):

I installed Gnome on the Pi4 running Ubuntu and Barrier is working now. Thanks

<!-- gh-comment-id:848301560 --> @chiptaylor commented on GitHub (May 25, 2021): I installed Gnome on the Pi4 running Ubuntu and Barrier is working now. Thanks
Author
Owner

@IamLizu commented on GitHub (May 26, 2021):

After reading that @chiptaylor solved his problem by installing Gnome, I installed Xfce and switched Gnome whit Xfce. I installed Xfce because I already had Gnome installed there was no special reason behind it, rather a random choice. But switching to Xfce has solved the problem. I can now use the Windows or Raspberry as client or server, I mean both way. However, movement seems a very little bit slow sometimes, that is not very noticeable maybe.

I will still keep the issue open for the maintainers to see and decide if there's something they need to investigate.

<!-- gh-comment-id:848482972 --> @IamLizu commented on GitHub (May 26, 2021): After reading that @chiptaylor solved his problem by installing Gnome, I installed Xfce and switched Gnome whit Xfce. I installed Xfce because I already had Gnome installed there was no special reason behind it, rather a random choice. But switching to Xfce has solved the problem. I can now use the Windows or Raspberry as client or server, I mean both way. However, movement seems a very little bit slow sometimes, that is not very noticeable maybe. I will still keep the issue open for the maintainers to see and decide if there's something they need to investigate.
Author
Owner

@Wallby commented on GitHub (May 26, 2021):

I installed Gnome on the Pi4 running Ubuntu and Barrier is working now. Thanks

I guess you installed the non desktop version at first unlike me, I installed the desktop one, so I already have Gnome by default. I will give it a reinstall in case anything changes. Will post an update.

Is there such a thing as a non-desktop version of ubuntu for raspberry pi? Installing gnome/xfce sounds like a weird requirement that shouldn't really have to be required.

<!-- gh-comment-id:848645145 --> @Wallby commented on GitHub (May 26, 2021): > > I installed Gnome on the Pi4 running Ubuntu and Barrier is working now. Thanks > > I guess you installed the non desktop version at first unlike me, I installed the desktop one, so I already have Gnome by default. I will give it a reinstall in case anything changes. Will post an update. Is there such a thing as a non-desktop version of ubuntu for raspberry pi? Installing gnome/xfce sounds like a weird requirement that shouldn't really have to be required.
Author
Owner

@IamLizu commented on GitHub (May 26, 2021):

Is there such a thing as a non-desktop version of ubuntu for raspberry pi? Installing gnome/xfce sounds like a weird requirement that shouldn't really have to be required.

Yes, you can install Ubuntu server. That includes no desktop environment. Installing Gnome/Xfce is not a requirement at all if you don't want to.

Please visit to https://ubuntu.com/download/raspberry-pi to download Ubuntu server for Raspberry Pi,

image

<!-- gh-comment-id:848782321 --> @IamLizu commented on GitHub (May 26, 2021): > Is there such a thing as a non-desktop version of ubuntu for raspberry pi? Installing gnome/xfce sounds like a weird requirement that shouldn't really have to be required. Yes, you can install Ubuntu server. That includes no desktop environment. Installing Gnome/Xfce is not a requirement at all if you don't want to. Please visit to [https://ubuntu.com/download/raspberry-pi](https://ubuntu.com/download/raspberry-pi) to download Ubuntu server for Raspberry Pi, ![image](https://user-images.githubusercontent.com/26184316/119669936-49d59400-be5a-11eb-8340-3dbb3ddd42a7.png)
Author
Owner

@chiptaylor commented on GitHub (May 26, 2021):

Hi @IamLizu Thank you for the reply. I installed the desktop version of Ubuntu 21.04. The default GUI environment in this case was Ubuntu's Unity. I installed Gnome using the following "sudo apt-get install gnome-session-flashback" Then I restarted and picked Gnome Flashback (Metacity) in my session setting at the login screen. The performance on my systems is quite good (no lag) Thanks again.

<!-- gh-comment-id:848951354 --> @chiptaylor commented on GitHub (May 26, 2021): Hi @IamLizu Thank you for the reply. I installed the desktop version of Ubuntu 21.04. The default GUI environment in this case was Ubuntu's Unity. I installed Gnome using the following "sudo apt-get install gnome-session-flashback" Then I restarted and picked Gnome Flashback (Metacity) in my session setting at the login screen. The performance on my systems is quite good (no lag) Thanks again.
Author
Owner

@IamLizu commented on GitHub (May 26, 2021):

@chiptaylor You are right. I was mistaken, the default desktop environment is Unity not Gnome. I apologize if anyone was confused because of my earlier comment, I am withdrawing that now to prevent future confusion.

<!-- gh-comment-id:848993229 --> @IamLizu commented on GitHub (May 26, 2021): @chiptaylor You are right. I was mistaken, the default desktop environment is Unity not Gnome. I apologize if anyone was confused because of my earlier comment, I am withdrawing that now to prevent future confusion.
Author
Owner

@WangShayne commented on GitHub (Jul 27, 2022):

@chiptaylor @IamLizu Thanks , its work for me

<!-- gh-comment-id:1196222931 --> @WangShayne commented on GitHub (Jul 27, 2022): @chiptaylor @IamLizu Thanks , its work for me
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#941
No description provided.