I have been experiencing a nuisance ever since I switched from a rather outdated guide to install Lirc in Ubuntu (<a href="http://www.mythtv.org/wiki/index.php/Ubuntu_lirc_install">http://www.mythtv.org/wiki/index.php/Ubuntu_lirc_install</a>) to just using Lirc from the repository. When Mythtv is first started, the remote doesn&#39;t work. When I exit and issue irw from a terminal, it sometimes works, and sometimes it doesn&#39;t. The remarkable thing is that whenever I start Myth again, the remote does work - always. <br>
<br>I should add that I have a separate X server for running Mythtv on my TV. The user is logged in automatically, and Myth starts after login using Preferences &gt; Session of Gnome. So now I cannot just hit the couch after turning on the computer, because I have to exit and start Myth again.<br>
<br>I am fully aware the easy solution is going back to that guide I mentioned. However, Lirc installed that way kept breaking whenever updates came in.<br><br>I am also fully aware this might not be a Myth problem, but I was hoping people would be willing to help out anyway.<br>
<br>I have been thinking to start the frontend with this &#39;script&#39; as a workaround:<br><br>#!/bin/sh<br>/usr/bin/mythfrontend &amp;<br>sleep 5<br>pkill <a href="http://mythfrontend.re">mythfrontend.re</a><br>/usr/bin/mythfrontend<br>
<br>which works in a terminal, but not when I put it in Preferences &gt; Session. Any ideas?<br>