尝试设置 Synergy,但似乎无法正确完成。以下是配置:
- 服务器:WinXP,屏幕名为 TV
- 客户端:Ubuntu 11.04,名为LAPTOP
服务器配置:
section: screens
LAPTOP:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
switchCorners = none +top-left +bottom-left
switchCornerSize = 0
TV:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
switchCorners = none +top-right +bottom-right
switchCornerSize = 0
end
section: links
LAPTOP:
right = TV
TV:
left = LAPTOP
end
section: options
relativeMouseMoves = false
screenSaverSync = false
win32KeepForeground = false
switchCorners = none
switchCornerSize = 0
keystroke(F12) = lockCursorToScreen(toggle)
end
当我连接时,服务器日志显示:
2011-07-04T09:57:18 NOTE: client "LAPTOP" has disconnected
..\lib\server\CClientProxy1_0.cpp,209
2011-07-04T09:57:21 NOTE: accepted client connection
..\lib\server\CClientListener.cpp,130
2011-07-04T09:57:21 NOTE: client "LAPTOP" has connected
..\lib\server\CServer.cpp,299
2011-07-04T09:57:38 NOTE: client "LAPTOP" has disconnected
..\lib\server\CClientProxy1_0.cpp,209
2011-07-04T10:01:48 NOTE: accepted client connection
..\lib\server\CClientListener.cpp,130
2011-07-04T10:01:48 NOTE: client "LAPTOP" has connected
..\lib\server\CServer.cpp,299
2011-07-04T10:01:53 INFO: screen "LAPTOP" grabbed clipboard 1 from "TV"
..\lib\server\CServer.cpp,1239
2011-07-04T10:01:53 INFO: screen "LAPTOP" updated clipboard 1
..\lib\server\CServer.cpp,1524
2011-07-04T10:02:02 NOTE: client "LAPTOP" has disconnected
..\lib\server\CClientProxy1_0.cpp,209
2011-07-04T10:07:01 NOTE: accepted client connection
..\lib\server\CClientListener.cpp,130
2011-07-04T10:07:01 NOTE: client "LAPTOP" has connected
..\lib\server\CServer.cpp,299
2011-07-04T10:08:40 INFO: screen "LAPTOP" grabbed clipboard 1 from "LAPTOP"
..\lib\server\CServer.cpp,1239
2011-07-04T10:08:40 INFO: screen "LAPTOP" updated clipboard 1
..\lib\server\CServer.cpp,1524
在客户端,我运行:synergyc -d DEBUG -f -n LAPTOP -l --log=/tmp/synergy.debug TV
2011-07-04T10:06:50 INFO: Synergy 1.3.6 Client on Linux 2.6.38-10-generic #44+kamal~mjgbacklight4-Ubuntu SMP Mon Jun 6 19:40:12 UTC 2011 x86_64
/build/buildd/synergy-1.3.6/cmd/synergyc/synergyc.cpp,765
2011-07-04T10:06:50 DEBUG: XOpenDisplay(":0")
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsScreen.cpp,889
2011-07-04T10:06:50 DEBUG: xscreensaver window: 0x00000000
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsScreenSaver.cpp,342
2011-07-04T10:06:50 DEBUG: screen shape: 0,0 1920x1080
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsScreen.cpp,131
2011-07-04T10:06:50 DEBUG: window is 0x07e00004
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsScreen.cpp,132
2011-07-04T10:06:50 DEBUG: opened display
/build/buildd/synergy-1.3.6/lib/synergy/CScreen.cpp,41
2011-07-04T10:06:50 NOTE: started client
/build/buildd/synergy-1.3.6/cmd/synergyc/synergyc.cpp,339
2011-07-04T10:06:50 NOTE: connecting to 'TV': 192.168.1.75:24800
/build/buildd/synergy-1.3.6/lib/client/CClient.cpp,115
2011-07-04T10:06:59 DEBUG: open clipboard 0
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,316
2011-07-04T10:06:59 DEBUG: empty clipboard 0
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,269
2011-07-04T10:06:59 DEBUG: grabbed clipboard 0
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,292
2011-07-04T10:06:59 DEBUG: close clipboard 0
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,351
2011-07-04T10:06:59 DEBUG: open clipboard 1
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,316
2011-07-04T10:06:59 DEBUG: empty clipboard 1
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,269
2011-07-04T10:06:59 DEBUG: grabbed clipboard 1
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,292
2011-07-04T10:06:59 DEBUG: close clipboard 1
/build/buildd/synergy-1.3.6/lib/platform/CXWindowsClipboard.cpp,351
2011-07-04T10:06:59 NOTE: connected to server
/build/buildd/synergy-1.3.6/cmd/synergyc/synergyc.cpp,256
然而,尽管一切似乎都已连接,但我笔记本电脑上的鼠标却从未离开过当前屏幕。
我没有看到任何有用的调试消息。有人看到我做错了什么吗?
短暂性脑缺血发作
答案1
事实证明,您可以使用 Scroll Lock 让鼠标停留在一个屏幕上!因此,请尝试按下 ScrollLock 以查看是否可以释放鼠标。
答案2
我刚刚使用 Fedora 28 和 Ubuntu 18.04 LTS,Scroll Lock 没有帮助。但有帮助的是
- Fedora 28,我恢复到了与 Ubuntu 18.04 相同的版本 1.8.8
- 在 Fedora 和 Ubuntu 上禁用 Wayland
- 重新开始(好运之吻)
瞧!
答案3
从 1.4.8 升级到 1.4.10 后出现了这个问题
服务器:win7-64bit Synergy-v1.4.10 客户端:Thinkpad T430s Ubuntu-v12.04-32bit Synergy-v1.4.10
在客户端尝试了不同的机器,仍然不行:客户端:Thinkpad T420s Ubuntu-v12.10-32bit Synergy-v1.4.10
还尝试在 Ubuntu 中使用 1.4.8 客户端,在 Windows 中使用 1.4.10 服务器,但出现同样的问题。
所以我最终从客户端和服务器上卸载了 synergy 1.4.10,并在两者上重新安装了 v1.4.8,一切运行良好。两个版本使用相同的配置,所以不是那样...