In Ubuntu you can try modding lightdm upstart entry. It contains pre-start and post-start scripts, this looks like the thing you're looking for.<br><br>--<br>Sergey "Shnatsel" Davidoff<br>elementary OS integrator<br>