[mythtv-users] Use LIRC to run /etc/init.d/gdm restart

Lachlan McIntosh lachlan at directions.com.au
Sat Dec 22 23:59:29 UTC 2007


Hi everyone

Been running myth for quite awhile now and being the adventuresome type,
I run it using the SVN build.

However occasionally the front end segfaults leaving me with a blank
screen, and seeing as I don't have a keyboard plugged into the box, it
means I have to wander down the other end of the house to another PC,
ssh in and run "/etc/init.d/gdm restart" (well I don't really have to do
>that<, but after much fluffing about it seems the quickest way to get
back to watching my program)...


Does anyone have a procedure for setting up my box so I can press the
"power" button (or I'm thinking the "recessed" "Record" button) on my
MCE remote and for LIRC to kick off a "/etc/init.d/gdm restart"?

Or for that matter can anyone suggest a better way to restart the
frontend after a segfault??

Thanks

Lachlan
 



More information about the mythtv-users mailing list