Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Make Synergy keyboard sharing work in 10.5 Apps
There is this fine little program named Synergy, which I use to share one keyboard with my Mac and my Linux box. In 10.5, my Synergy LoginHook (as described here) stopped working. However, I received a crash report stating "single thread forked" (or something similar), and if the program was started in the foreground (option -f), it still worked.

So i changend my LoginHook a bit and added -f > /tmp/synergy.log 2>&1 & as the last line to start the daemon in the foreground and redirect the output somewhere else. It's a hack, but it works. Here's my final script:
#!/bin/sh 
# prog=(/usr/local/bin/synergyc -n $(hostname -s) ip-address-of-server)   
prog=(/03_Tools/synergy-1.3.1/synergys -d WARNING -c /03_Tools/synergy-1.3.1/synergy.conf)
### Stop any currently running Synergy client 
killall ${prog[0]##*/}   
sleep 2
### Start the new client 
exec "${prog[@]}" -f > /tmp/synergy.log 2>&1 &
[robg adds: I haven't tested this one, and normally I'd assume the app would be updated to fix the issue in 10.5 and not run this as a hint. In this case, though, Synergy was last updated in April of 2006, so there may not be further updates forthcoming.]
    •    
  • Currently 3.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[27,526 views]  

10.5: Make Synergy keyboard sharing work in 10.5 | 12 comments | Create New Account
Click here to return to the '10.5: Make Synergy keyboard sharing work in 10.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: osxpounder on Dec 18, '07 11:58:31AM
For those Mac OSX users who are interested in the function Synergy provides, the application "teleport" might suit you. It's dead easy to install and configure. I've been using it the past 2 weeks to share one mouse and one keyboard among 2 Macs, a G5 and a Mac Pro. Each Mac has its own monitor, but I'm using one mouse and keyboard to control them both.

http://abyssoft.com/software/teleport/

One minor issue to consider: if one of the Macs goes to sleep and requires a password to wake it, and you enter its screen with the mouse, you better know that password, because that Mac won't "let go" the mouse until you've given the password. But you should know the passwords for Macs you control; it's a minor issue and not a fault of teleport at all. Just be aware you can't get your mouse and keyboard control back without that.

[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: Seth Milliken on Dec 18, '07 12:15:53PM

You can abort a teleport session with Shift-Control-Option-Command-Esc.



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: hackerssidekick on Dec 19, '07 01:05:31AM

Are you kidding me??



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: Seth Milliken on Dec 18, '07 12:29:17PM
SynergyKM is Mac OS X GUI wrapper around synergy. The configuration panel is a System Preference pane, but also included is a Menu Extra that displays the current synergy status and allows you to turn it on and off.

[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: m021478 on Dec 18, '07 02:05:03PM

SynergyKM is definately the way to go! It works beautifully on Leopard and Tiger, and also works on PCs (not the SynergyKM GUI but the Synergy.app as referenced in the original post of this thread)...

Teleport is only able to share keyboard & mice between Macs, as its not cross platform...and on top of that, its not free like synergy is!!



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: homa2001 on Dec 18, '07 07:34:54PM

I use Synergy running on my windows desktop and i connect a linux machine and my MBP to it with SynergyKM. Everything worked after upgrade to Leopard except one thing. I use two languages on all of them and if I switch to Russian on my MBP and try to type something from the shared keyboard, it switches back to english. If I use MBP keyboard even with Synergy running it works fine. It used to work fine in 10.4



[ Reply to This | # ]
10.5: Synergy installed without any problems
Authored by: fruityth1ng on Dec 20, '07 04:38:56AM

Strange! I didn't need any of this, synergy just installed cleanly, without any problems at all. I'm sharing K&M from an XP machine to my MBP.

I did rummage around with the meta/super keys etc. but that's normal.

Maybe a clean reinstall of synergy?

Kind regards,
F.



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: dts on Nov 19, '08 07:27:39PM

I can't seem to get my windows machine connect to my macbook. I can ping the macbook, but I get a "connection actively refused" error on the PC when trying to connect to the macbook server.
Can someone give me a hand?
Thanks in advance.



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: macwill2009 on Nov 04, '09 11:54:41PM

i'm wondering can synergy share magic mouse and wireless keyboard with my pc, making my mac as the server?



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: everkleer80 on Nov 05, '09 05:47:26AM

It should work. I don't know if you'll be able to use any of the "special features" of the mouse if that's what you're asking, but basic mouse and keyboard functionality should always work with any mouse and keyboard. The program is basically a kind of remote desktop program minus the view of the client screen on the server; so simple yet such a great idea - easilly one of the best free programs I've ever come across.



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: zintax on Dec 18, '09 12:07:44PM

I managed to get connected, and (PC -> iMac), but after my mouse makes it over to my Mac, I have no way of getting it to return.

I tried double tapping on all corners/sides, even waiting a couple of seconds on all sides, but it just won't come back!!!

I have to end the connection in oder to make it back.

ideas?
Thanks
Jon



[ Reply to This | # ]
10.5: Make Synergy keyboard sharing work in 10.5
Authored by: zintax on Dec 18, '09 12:18:01PM

ooooooo man.that was dorky.

GOT IT! I need to define all sides on all computers (cliente and server)



[ Reply to This | # ]