[mythtv-users] irexec and power button issue

scottc7l scottc7l at adelphia.net
Tue Jun 20 06:02:21 UTC 2006


I was just working on this on my box.

I ran irexec as root using /etc/init.d/rc.local
I needed to pass the location of the lircrc to make it work

/usr/bin/irexec --daemon /root/.lircrc


On Mon, 2006-06-19 at 15:21 -0400, Tom Lichti wrote:
> Michael Lynch wrote:
> > On 6/19/06, Tom Lichti <tom at redpepperracing.com> wrote:
> >   
> >> Klaubert Herr da Silveira wrote:
> >>     
> >>> --- Tom Lichti <tom at redpepperracing.com> wrote:
> >>>
> >>>
> >>>       
> >>>> Works fine for me. Have you tried running the mythpowerbutton.sh script
> >>>> from the command-line to see if there are any error messages?
> >>>>
> >>>> Tom
> >>>>
> >>>> _______________________________________________
> >>>> mythtv-users mailing list
> >>>> mythtv-users at mythtv.org
> >>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >>>>
> >>>>
> >>>>         
> >>> Running it from command line works, the problem is with irexec.
> >>>
> >>> Klaubert
> >>>
> >>>
> >>>       
> >> Okay, is irexec set to run when the users session starts? I have mine in
> >> a script (I don't remember why) that is called when X starts. My system
> >>     
> >
> > I remember I had to have irexec start by the user running the X
> > session or irexec wouldn't work for that user.  This could be why you
> > have done this, and could also be the OP's issue.
> >
> >   
> Yes, I'm pretty sure you are correct. It was almost 2 years ago that I 
> did this originally, the details are a little fuzzy... :)
> 
> Tom
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list