<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi All,</div>
<div>&nbsp;</div>
<div>I&#8217;m about to upgrade to Ubuntu 11.10 which used LightDM instead of GDM. I use Synergy-FOSS to share my mouse and keyboard in between&nbsp; several machines, the server is running on the Linux box. I currently use the GDM scripts &amp; before/after hooks to run
it:</div>
<div>&nbsp;</div>
<ul style="margin:0;padding-left:36pt;">
<font face="Times New Roman" size="3"><span style="font-size:12pt;">
<li><b>/etc/gdm/Init/Default</b><b>:</b><b> (</b><b>to have it star</b><b>t so it</b><b>&#8217;</b><b>s running with GDM </b><b>login screen</b><b>, it runs as root</b><b>)</b></li></span></font>
</ul>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">[code start]</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">/usr/bin/killall synergys</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">while<font face="Times New Roman" size="3"><span style="font-size:12pt;"> </span></font>[ $(pgrep -x synergys) ]; do<font face="Times New Roman" size="3"><span style="font-size:12pt;">
</span></font>sleep 0.1; done</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">/usr/bin/synergys --config /etc/synergy.conf</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">[code stop]</span></font></div>
<div>&nbsp;</div>
<ul style="margin:0;padding-left:36pt;">
<font face="Times New Roman" size="3"><span style="font-size:12pt;">
<li><b>/etc/gdm/PostLogin/Default</b><b>: </b><b>(</b><b>run after login, this kills the version running as root</b><b>)</b></li></span></font>
</ul>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">[code start]</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">/usr/bin/killall synergys</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">while<font face="Times New Roman" size="3"><span style="font-size:12pt;"> </span></font>[ $(pgrep -x synergys) ]; do<font face="Times New Roman" size="3"><span style="font-size:12pt;">
</span></font>sleep 0.1; done</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">[code stop]</span></font></div>
<div>&nbsp;</div>
<ul style="margin:0;padding-left:36pt;">
<font face="Times New Roman" size="3"><span style="font-size:12pt;">
<li><b>/etc/X11/Xsession.d/85synergys</b><b>: </b><b>(</b><b>runs during the user</b><b>&#8217;</b><b>s session startup, </b><b>runs it </b><b>as the user</b><b>)</b></li></span></font>
</ul>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">[code start]</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">/usr/bin/killall synergys # not sure why this is here, the examples on the net had this, probably a mistake)</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">while<font face="Times New Roman" size="3"><span style="font-size:12pt;"> </span></font>[ $(pgrep -x synergys) ]; do<font face="Times New Roman" size="3"><span style="font-size:12pt;">
</span></font>sleep 0.1; done</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">/usr/bin/synergys --config /etc/synergy.conf</span></font></div>
<div style="padding-left:36pt;"><font face="Courier New" size="2"><span style="font-size:10pt;">[code stop]</span></font></div>
<div>&nbsp;</div>
<div>I&#8217;m trying to find the equivalent for LightDM but I&#8217;m coming up empty handed... can someone please help?</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Gabriel</div>
<div>&nbsp;</div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"><br>

</span></font></div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"><u>&nbsp; ________________________________ &nbsp;</u></span></font></div>
<div><font face="Times New Roman" size="3" color="gray"><span style="font-size:12pt;"><br>

<font face="Arial" size="1"><span style="font-size:7.5pt;">This email and any attachments are confidential and access to this email or attachment by anyone other than the addressee is unauthorised. If you are not the intended recipient please notify the sender
and delete the email including any attachments. You must not disclose or distribute any of the contents to any other person. Personal views or opinions are solely those of the author and not of Trafigura. Trafigura does not guarantee that the integrity of this
communication has been maintained nor that the communication is free of viruses, interceptions or interference. By communicating with anyone at Trafigura by email, you consent to the monitoring or interception of such email by Trafigura in accordance with its
internal policies. Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted.<br>

</span></font></span></font></div>
</span></font>
</body>
</html>