Launch synergy client on boot in Mac OS X

Posted by Herms on Super User See other posts from Super User or by Herms
Published on 2009-07-15T13:55:40Z Indexed on 2010/05/14 20:56 UTC
Read the original article Hit count: 476

Filed under:
|
|
|
|

I have a mac as a secondary machine at work. Currently I use synergy on my main machine to share its keyboard and mouse with the mac.

I created a launch agent for my user to launch synergy when I log in, and that's working. However, this means I still have to pull out the mac's keyboard and mouse in order to log in.

I tried making a user daemon so that it would launch on boot, but I get the following errors in the console:

LaunchSynergy[52] Tue Jul 14 12:41:44 testmacpro.local synergyc[52] <Warning>: 3891612: (CGSLookupServerRootPort) Untrusted apps are not allowed to connect to or launch Window Server before login. 
LaunchSynergy[52] Tue Jul 14 12:41:44 testmacpro.local synergyc[52] <Error>: kCGErrorRangeCheck : On-demand launch of the Window Server is allowed for root user only. 
LaunchSynergy[52] Tue Jul 14 12:41:44 testmacpro.local synergyc[52] <Error>: kCGErrorRangeCheck : Set a breakpoint at CGErrorBreakpoint() to catch errors as they are returned 
LaunchSynergy[52] _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.

Is there a way to get this to work? Looks like the Mac's security doesn't want to allow anything to take control of the window while at the login screen. I can understand that, but I'd like a way to override it, as it would make my life a lot easier.

© Super User or respective owner

Related posts about osx

Related posts about synergy