Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

[arch] WARNING: failed to connect to server: Connection refused


Recommended Posts

Whenever I try to start synergy, I get the following error. Not sure how to fix it

Tue Mar 06 01:10 jason:jason_arch/home/jason $synergy-core --client -f --run-as-uid 1000 --debug DEBUG --name jace_arch --enable-drag-drop --profile-dir /var/lib/synergy --log /var/log/synergy/synergy-core.log 127.0.0.1:24800
[2018-03-06T01:10:52] INFO: ignoring --enable-drag-drop, not supported on linux.
[2018-03-06T01:10:52] DEBUG: XOpenDisplay(":0.0")
[2018-03-06T01:10:52] DEBUG: xscreensaver window: 0x00000000
[2018-03-06T01:10:52] DEBUG: screen shape: 0,0 3600x1080 
[2018-03-06T01:10:52] DEBUG: window is 0x03600004
[2018-03-06T01:10:52] DEBUG: adopting new buffer
[2018-03-06T01:10:52] DEBUG: opened display
[2018-03-06T01:10:52] NOTE: started client
[2018-03-06T01:10:52] NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
[2018-03-06T01:10:52] DEBUG: event queue is ready
[2018-03-06T01:10:52] WARNING: failed to connect to server: Connection refused
[2018-03-06T01:10:52] DEBUG: retry in 1 seconds
[2018-03-06T01:10:53] NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
[2018-03-06T01:10:53] WARNING: failed to connect to server: Connection refused
[2018-03-06T01:10:53] DEBUG: retry in 1 seconds
[2018-03-06T01:10:54] NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
[2018-03-06T01:10:54] WARNING: failed to connect to server: Connection refused
[2018-03-06T01:10:54] DEBUG: retry in 1 seconds
[2018-03-06T01:10:55] NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
[2018-03-06T01:10:55] WARNING: failed to connect to server: Connection refused
[2018-03-06T01:10:55] DEBUG: retry in 1 seconds
^C[2018-03-06T01:10:55] DEBUG: adopting new buffer
[2018-03-06T01:10:55] DEBUG: closed display
[2018-03-06T01:10:55] NOTE: stopped client
Tue Mar 06 01:10 jason:jason_arch/home/jason $echo $DISPLAY
:0.0

 

Link to post
Share on other sites

@chasmfiend this is what I get

Sun Mar 11 17:02 jason:jason_arch/home/jason $sudo synergy-service 
[ Service ] [2018-03-11T17:02:18] debug: service log path: /var/log/synergy/synergy-service.log
[ Service ] [2018-03-11T17:02:18] debug: install dir: /usr/bin
[ Service ] [2018-03-11T17:02:18] info: starting service...
[ Router  ] [2018-03-11T17:02:18] debug: binding to 0.0.0.0:24802
[ Router  ] [2018-03-11T17:02:18] error: Failed to initialize: bind: Address already in use
[ Service ] [2018-03-11T17:02:18] error: service failed: bind: Address already in use
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  bind: Address already in use
Aborted

 

Link to post
Share on other sites

@chasmfiend ignore the above message, I managed to fix that and ended up with those one instead

 

Sun Mar 11 17:17 jason:jason_arch/home/jason $sudo synergy-service 
[ Service ] [2018-03-11T17:17:11] debug: service log path: /var/log/synergy/synergy-service.log
[ Service ] [2018-03-11T17:17:11] debug: install dir: /usr/bin
[ Service ] [2018-03-11T17:17:11] info: starting service...
[ Router  ] [2018-03-11T17:17:11] debug: binding to 0.0.0.0:24802
[ Router  ] [2018-03-11T17:17:11] debug: Initialized
[ Service ] [2018-03-11T17:17:11] warning: core uid is not set in config file
[ Service ] [2018-03-11T17:17:11] info: Session monitor started
[ Service ] [2018-03-11T17:17:11] info: Active X session changed from "--" to "c1"
[ Service ] [2018-03-11T17:17:11] info: Active X user changed from "--" to "1000"
[ Service ] [2018-03-11T17:17:11] info: Active X display changed from "--" to ":0"
[ Service ] [2018-03-11T17:17:11] debug: creating rpc endpoints
[ Service ] [2018-03-11T17:17:11] debug: rpc endpoints created

 

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...