使用Synergy共享鼠标键盘

Synergy是一款开源软件,允许在同一局域网内的Windows、Linux和Mac OS设备间共享鼠标和键盘。本文以一台Fedora 14(LeftComputer)和一台Win7(RightComputer)为例,详细介绍了如何配置:Windows作为服务器端,Linux作为客户端。配置过程中,需在Windows上启动服务器并等待连接,在Linux终端中使用synergyc命令连接到Windows的IP地址,实现跨平台的鼠标键盘共享。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Synergy是个开源的软件,支持在一个局域网中的多台电脑之间共享鼠标键盘,支持Windows, Linux和Mac OS。
http://synergy-foss.org/

现在有2台电脑,分别命名为:LeftComputer 和 RightComputer,其位置关系如名所示。LeftComputer安装Fedora14,RightComputer安装Win7,目标是使用Win7主机的键盘和鼠标同时控制两台电脑,即Windows 作为服务器端,Linux作为客户端。

在Win7上下载 1.4.3 Beta 64 bit for Windows 版本,安装。运行,出现配置界面。

 

勾选 “Server(share this computer's mouse and keyboard)”。

选中“Configure interactively:”,进入“Configure Server“:

 

从右上角拖动一个屏幕到格子里,双击修改属性。点击OK,再点击start,状态栏右下角出现一个圆圈标志,wait for connection。

如果选择“Use existing configuration”,可以创建一个synergy.sgc文件,内容如下(这是使用1.3.7版本时自动生成的)

section: screens
	cnlilychen001:
		switchCorners = none
		switchCornerSize = 0
	Fedora-lilychen:
		switchCorners = none
		switchCornerSize = 0
end
section: links
	cnlilychen001:
		left = Fedora-lilychen
	Fedora-lilychen:
		right = cnlilychen001
end
section: aliases
	cnlilychen001:
		Win7
	Fedora-lilychen:
		Fedora14
end


Linux 端下载1.4.3 Beta for Fedora and Red Hat,安装。

打开Terminal,输入:$/usr/bin/synergyc -f [RightComputer's IP]

-f 的意思是可以在前台看见调试信息。

(停止防火墙 sudo service iptables stop)

[Fedora-lilychen_988 ~/nettuner_claro/main]$ /usr/bin/synergyc -f 10.172.56.137
Synergy 1.3.7 Client on Linux 2.6.35.13-92.fc14.i686 #1 SMP Sat May 21 17:39:42 UTC 2011 i686
started client
connecting to '10.172.56.137': 10.172.56.137:24800
connected to server
entering screen
leaving screen
entering screen
leaving screen

 

Linux做服务器端,Windows做客户端的配置,问google吧:)
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值