[mythtv-users] Remote control only works after restarting Mythtv

Tom Dexter digitalaudiorock at gmail.com
Sat Jan 10 20:31:14 UTC 2009


On Sat, Jan 10, 2009 at 12:24 PM, Paul van Gerven
<baloedebruinebeer at gmail.com> wrote:
> I have been experiencing a nuisance ever since I switched from a rather
> outdated guide to install Lirc in Ubuntu
> (http://www.mythtv.org/wiki/index.php/Ubuntu_lirc_install) to just using
> Lirc from the repository. When Mythtv is first started, the remote doesn't
> work. When I exit and issue irw from a terminal, it sometimes works, and
> sometimes it doesn't. The remarkable thing is that whenever I start Myth
> again, the remote does work - always.
>
> 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 > 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.
>
> 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.
>
> I am also fully aware this might not be a Myth problem, but I was hoping
> people would be willing to help out anyway.
>
> I have been thinking to start the frontend with this 'script' as a
> workaround:
>
> #!/bin/sh
> /usr/bin/mythfrontend &
> sleep 5
> pkill mythfrontend.re
> /usr/bin/mythfrontend
>
> which works in a terminal, but not when I put it in Preferences > Session.
> Any ideas?
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
It sounds as though GDM might be starting before lirc.  I helped
someone with a similar issue here:

http://www.mythtvtalk.com/forum/viewtopic.php?t=7644&highlight=gdm+lirc

...and here's a related bug:

https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/150480

Tom


More information about the mythtv-users mailing list