I'm sending mouse & keyboard events from code to another application using Quartz events.
This works on standalone Mac OSX Mountain Lion installs. Events get sent and received in all user sessions.
If I run the virtualized instance it only works for the user that is currently active in the console (i.e. is visible on the screen).
The non-interactive users get the events and distribute them, but nothing happens.
Does anyone have any idea why this happens and how to circumvent it.
I tried various methods to see if changing the send mechanisme has any effect (As done in Synergy or vnc server), but nothing seems to work.
So basically I'm stumped.
Help.