|
Hi, I have just upgraded to v1.4.2, on both my Windows 7 x64 and Linux host (OpenSuSE 11.4 x64). Server is Linux host ; Windows on client side. I am using SSH tunneling between hosts. Everything is running fine if I start client manually like this : synergyc --debug WARNING --name my_hostname 127.0.0.1:my_port But as soon as I try to start the client as a service with exactly the same options, like this : synergyc --debug WARNING --service install --name my_hostname 127.0.0.1:my_port everything is working fine according to logs, except that my mouse is not moving at all on client side... I have to say that I am a user of synergy for many years, and first time I met this issue. I tried to change service owner (like Administrator) but pb is still here. Any idea ? UpdateOn my Windows 7 x64, this command line is working as expected : synergyc --name my_hostname 127.0.0.1:12345 but the same command to run the client as a service does not work anymore : synergyc --service install --name my_hostname 127.0.0.1:12345 By 'not working anymore', I mean : mouse on client screen remains frozen. Though I can see the 'INFO: entering screen' event in logs. And I do not see any error message on client logs, neither server logs. Better ? |
|
Hi guys, and thank you for suggestions. I finally succeeded in using Synergy client as a service on my Windows host, trhu SSH tunnel... but not the standard way, offered by Synergy. I created my own services with free Windows SDK tools : srvany.exe and instsrv.exe 1 - Service to start SSH Tunnel from client to server, with srvany.exe with a given my Admin account.
Then I had to edit the just created Registry HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSynergy SSH and added a new key called 'Parameters' ; in this key, I created new string entry 'Application' with value "PathToPuTTYplink.exe my_putty_config" 2 - Service to start Synergy client using Local System account. instsrv.exe "Synergy Client" "PathTosynergyc.exe" Edit the Registry again, for this 2nd service, HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSynergy Client I create a new key called 'Parameters' ; in this key, I create new string entry 'Application' with value : -f --relaunch --debug NOTE --name MY_WIN 127.0.0.1:12345 And this way, it is working fine :) Even before any Windows user can log in, I can share mouse and keyboard. Now, I have to say I am still facing an issue : how to send Alt+Ctl+Del to Synergy client... Thanks for support :) |
|
Hi Ra0. I will try to help you. I have very similar question. First, try it without the "install" word:
Be carefull with the ips are you using. Remember: the server is where you have the keyboard/mouse. The cliente must be working on another computer, and it will connect with your server. In my case (server and with XP installed) the problem is very similar. The software is installed without problems in both computers, but it never starts, and it don't give any error. The icon in system tray appears with a forbidden signal, but still "Synergy 1.4.2: not running". But if I double-click on synergys.exe the server starts. The same if I start the server from command line. And the same happens in the client: the service starts giving no errors, but the icon in system tray appears with the forbidden signal saying "Synergy 1.4.2: not running". If I try it from a the explorer or the command line, the client works perfectly. Of course, logs didn't say nothing. He already tried without the --install argument; and it worked. Is this an answer or a question?
(02 May '11, 05:15)
nbolton ♦♦
My post has two parts, a answer for Ra0 and a question. Should I open a new post?
(02 May '11, 08:36)
Sergiom
|
|
you are listening on IP address 127.0.0.1 - which is localhost and not visible to other computers. You need to supply 0.0.0.0 as the IP address, this will cause it to listen on all active interfaces. He has set up SSH tunnelling, so 127.0.0.1 is the computer he is connecting to, not the one he's listening on (notice that he's running the
(02 May '11, 05:20)
nbolton ♦♦
|
Sorry, your question is very confusing. Please edit your question to make it shorter.
In few words : - This is working : synergyc --name my_hostname 127.0.0.1:12345
(Please note that in this example, 127.0.0.1 is actually a port redirection [ssh tunneling]).
I have moved your self-answer into your question, as it was not an answer. In future, please click "edit" on your question.
In response to your update, what happens if you open a new command prompt as administrator, and run the command without
--install? Usually, problems running as a service in win7 are caused by security.Also, you should make use of the
--logargument, to see what the output is when started as a service.