基于barrier的跨系统、多机键鼠协同

1、Windows与MAC安装

直接基于github安装
https://github.com/debauchee/barrier#distro-specific-packages

2、ubuntu安装

2.1 环境准备

sudo apt install flatpak
sudo apt install gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

2.2 安装包下载

https://dl.flathub.org/repo/appstream/com.github.debauchee.barrier.flatpakref

2.3 安装barrier

flatpak install com.github.debauchee.barrier.flatpakref

2.4 运行

flatpak run com.github.debauchee.barrier

2.5 日志报错解决

bug1: 日志报错提醒:barrier.pem不存在;解决方案就是在报错的路径下创建一个,注意一定要进入报错路径创建。创建命令如下:

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

bug2: 多机连接失败;解决问题是看服务端和客户端名字是否一样;检查SSL的开启状态;不同机子之间最好都设置打开,然后重启、连接。


参考链接:

  1. https://blog.csdn.net/u013187057/article/details/127211704
  2. https://blog.csdn.net/weixin_42301220/article/details/121197328
posted @   巴蜀秀才  阅读(121)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 没有源码,如何修改代码逻辑?
· NetPad:一个.NET开源、跨平台的C#编辑器
· PowerShell开发游戏 · 打蜜蜂
· 凌晨三点救火实录:Java内存泄漏的七个神坑,你至少踩过三个!
点击右上角即可分享
微信分享提示