I use synergy[1] so that I can use a single mouse and keyboard across two computers. While there are instructions for getting it to start automatically when eg. lightdm starts, this is prone to annoyances (eg. the lightdm login screen somehow forces synergy to use a single monitor boundary, you can't restart the service without restarting lightdm).
These are gone now (in 13.10), I think because they existed only to allow integration with ConsoleKit, and ConsoleKit has been replaced by logind.
So my question is: is there a way to get a sensible value for XAUTHORITY and DISPLAY in an upstart conf file that doesn't require special-casing every different display manager? Or, if not, is there a page somewhere that documents how the different display managers set these?
Thanks,
Jason