Home > Common Problem > body text

Can't wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier

王林
Release: 2023-04-14 12:04:08
forward
2513 people have browsed it

How to Share Keyboard and Mouse Between Mac/PC Using Barrier

You need to make sure that the computers you want to share your mouse and keyboard with are all on the same network, and you will be on different computers during the initial setup. Switch back and forth between Macs.

    1. Get the latest version of Barrier here (DMG for Mac, exe for Windows) – download it to every device you want to be able to use your keyboard and mouse
    2. Copy Barrier from the DMG (or use the exe to install to Windows) to the /Applications folder on each Mac you plan to use it on, then right-click Barrier.app and select Open To bypass Gatekeeper on each Mac
    3. On all Macs, select Open System Preferences and authenticate to allow Barrier to control the Mac *

Cant wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier

    1. On the Mac with the keyboard and mouse you wish to share (the "Server Mac"), in the Setup Barrier screen, select "Server" and then Select Done

Cant wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier

    1. ## while connecting to the server Mac to use its mouse/keyboard ("Client Mac") on your Mac or PC, select "Client" and then "Finish"
    2. On the server Mac, wait a moment and Barrier should automatically detect the Mac you want to connect to via Bonjour, then just Click in the direction of where you want the client Mac to be

Cant wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier

    Then the server Mac should be set up and ready, the screen will look like this Display:

  1. Cant wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier
  2. Confirm on the client Mac that you want to connect to the Mac/Trust SHA fingerprint to connect to the server Mac
  3. On all other Macs you wish to connect to the server Mac Repeat this process on Mac to share keyboard and mouse
  4. For clients on Windows PC, everything is the same except for the automatic Bonjour connection, so specify the server Mac IP address and connect manually
Everything should now be working properly and you can easily drag your mouse and keyboard over to your Mac (or PC) and simply move the cursor to where you directed the other computer to during setup.

You can use the clipboard to copy text or images and paste them between computers.

If the barrier is not working, then troubleshoot and fix the "Barrier error: ssl certificate does not exist" error

If things are not working properly, pull down the Barrier menu item on the server Mac and then Select "Show Log" to get a log of error messages that are occurring, which should give you a good idea of ​​what went wrong.

If you see an error message similar to the following:


openERROR: ssl certificate doesn't exist: /home/user/.var/app/com.github.debauchee.barrier/ data/barrier/SSL/Barrier.pem

You will then need to manually generate a private security key for Barrier, which you can do by running the following command in Terminal.app:

First change your directory to the Barrier SSL folder:


cd ~/Library/Application\ Support/barrier/SSL

Now generate a security key:


openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem

Return to the Barrier application on the Mac server , click Stop, and then click Start Barrier Server to load the private key.

The client Mac(s) or PC(s) should now ask a security question showing the generated fingerprint and asking you "Do you trust this fingerprint?" Assuming it matches, select "Yes" to connect to Barrier Server Mac.

Cant wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier

#You can also try to connect manually, specifying the IP address of the Mac server directly. If you're not sure what that is, you can get the IP address on the Mac running as a barrier server through Network Preferences.

Cant wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier

Barrier also works on multiple OS versions, in the setup shown here I'm using Barrier on multiple Macs with macOS Big Sur and macOS Monterey, No glitches, but you can also run it on Windows 11, Windows 10, Linux, and pretty much anything else that's glitchy.

*

If you're not willing to let uncensored third-party open source software control your Mac, you won't be able to use Barrier. Use at your own risk and make your own security/privacy decisions based on your use case and needs.

The above is the detailed content of Can't wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template