Synergy 1.4.10 客户端配置文件和系统日志条目

Synergy 1.4.10 客户端配置文件和系统日志条目

每隔几秒钟,我的系统日志中就会出现如下所示的协同条目。我该如何解决这个问题?

顺便问一下,synergyd 的配置文件在哪里或者我该如何配置它?

我想将日志记录降低到警告级别。

(鼠标和键盘按预期工作。查看此内容的原因是 Linux 盒已离线并且这些是最后系统日志条目。)

我尝试启动 synergys 并 sudo synergys,但没有找到配置文件。synergyd 正在运行但没有返回任何内容。

Jun 12 07:50:00 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:00 WARNING: failed to connect to server: No route to host#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,371
Jun 12 07:50:00 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:00 DEBUG: retry in 1 seconds#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,343
Jun 12 07:50:00 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:00 WARNING: failed to connect to server: No route to host#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,371
Jun 12 07:50:00 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:00 DEBUG: retry in 1 seconds#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,343
Jun 12 07:50:01 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:01 NOTE: connecting to '192.168.1.180': 192.168.1.180:24800#012#011/build/buildd/synergy-1.4.10/src/lib/client/CClient.cpp,136
Jun 12 07:50:01 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:01 NOTE: connecting to '192.168.1.180': 192.168.1.180:24800#012#011/build/buildd/synergy-1.4.10/src/lib/client/CClient.cpp,136
Jun 12 07:50:03 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:03 WARNING: failed to connect to server: No route to host#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,371
Jun 12 07:50:03 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:03 DEBUG: retry in 1 seconds#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,343
Jun 12 07:50:03 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:03 WARNING: failed to connect to server: No route to host#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,371
Jun 12 07:50:03 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:03 DEBUG: retry in 1 seconds#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,343
Jun 12 07:50:04 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:04 NOTE: connecting to '192.168.1.180': 192.168.1.180:24800#012#011/build/buildd/synergy-1.4.10/src/lib/client/CClient.cpp,136
Jun 12 07:50:04 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:04 NOTE: connecting to '192.168.1.180': 192.168.1.180:24800#012#011/build/buildd/synergy-1.4.10/src/lib/client/CClient.cpp,136
Jun 12 07:50:07 xy-Macmini Synergy 1.4.10: 2013-06-12T07:50:07 WARNING: failed to connect to server: No route to host#012#011/build/buildd/synergy-1.4.10/src/lib/synergy/CClientApp.cpp,371


$ synergys
2013-06-13T10:04:17 INFO: Synergy 1.4.10 Server on Linux 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:24:54 UTC 2013 i686
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,145
2013-06-13T10:04:17 DEBUG: opening configuration "/home/xy/.synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,270
2013-06-13T10:04:17 DEBUG: cannot open configuration "/home/xy/.synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,277
2013-06-13T10:04:17 DEBUG: opening configuration "/etc/synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,270
2013-06-13T10:04:17 DEBUG: cannot open configuration "/etc/synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,277
synergys: no configuration available
xy@xy-Macmini:~$ sudo synergys
2013-06-13T10:06:11 INFO: Synergy 1.4.10 Server on Linux 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:24:54 UTC 2013 i686
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,145
2013-06-13T10:06:11 DEBUG: opening configuration "/root/.synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,270
2013-06-13T10:06:11 DEBUG: cannot open configuration "/root/.synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,277
2013-06-13T10:06:11 DEBUG: opening configuration "/etc/synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,270
2013-06-13T10:06:11 DEBUG: cannot open configuration "/etc/synergy.conf"
    /build/buildd/synergy-1.4.10/src/lib/synergy/CServerApp.cpp,277
synergys: no configuration available
xy@xy-Macmini:~$ synergyd

答案1

使用较低调试级别的标志启动协同作用。输入synergys --help以查看用法。

-d, --debug <level>      filter out log messages with priority below level.
                         level may be: FATAL, ERROR, WARNING, NOTE, INFO,
                         DEBUG, DEBUGn (1-5).

我认为默认是 DEBUG,我遇到了和你一样的问题,所以我将启动脚本更改为

synergys -d WARNING

这更加合理。

相关内容