題 Synergy連接,但鼠標不會切換屏幕(並且沒有調試輸出顯示問題)


試圖設置Synergy,似乎無法做到正確。這是配置:

  • 服務器:帶有名為TV的屏幕的WinXP
  • 客戶端: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

然而,即使一切似乎都已連接,我的筆記本電腦上的鼠標也永遠不會離開它的當前屏幕。

我沒有看到任何可能有用的調試消息。有誰看到我做錯了什麼?

TIA


4
2017-07-04 14:23


起源




答案:


事實證明,您可以使用Scroll Lock將鼠標卡在一個屏幕上!因此,請嘗試按ScrollLock查看是否釋放鼠標。


12
2018-01-31 15:14



這簡直太煩人了。 - isaaclw


我剛剛使用Fedora 28和Ubuntu 18.04 LTS,Scroll鎖沒有幫助。但是有什麼幫助呢

  • Fedora 28,我恢復到與Ubuntu 18.04相同的1.8.8版本
  • 在Fedora和Ubuntu上禁用Wayland
  • 重啟(goodluck吻)

瞧!


1
2018-05-07 06:22





從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,一切都很好。兩個版本都使用相同的配置,所以不是......


0
2017-12-06 22:03



抱歉忘了提到我試著在兩台機器上玩SCRLK按鈕的時間太長了。我讓它工作一次,我認為我提供了一些鍵組合,但我再也找不到它們所以我在重啟或服務重啟後無法工作。 - syner-marr
這不應該是一個評論,而是一個編輯。點擊 edit 在您的問題下,將評論的內容放入問題中,然後刪除您的評論。 - BenjiWiebe