[mythtv-users] Start FE from SSH

Ryan Pisani mythtv at frouse3.homelinux.com
Wed Mar 28 14:57:08 UTC 2007


> Hi,
>
> Every once in a blue moon the front end will crash, its very annoying in
> itself but the worst part is that I take my keyboard and mouse off my PC
> and
> connect it to the HTPC, just to restart the frontend.
>
> It would be so much easier if i could just ssh into the box and start the
> frontend.
>
> How would i do this?


Why not setup irexec and the powerbutton on your remote to launch the
frontend for you?

from my .lircrc
###########################################
# Start Myth
begin
prog = irexec
button = POWER
config = /usr/local/pvr/mythpowerbutton.sh
end'


contents of /usr/local/pvr/mythpowerbutton.sh
###########################################
if !(ps -ef | grep mythfrontend | grep -v grep); then

        /usr/bin/mythfrontend&

else
        killall -9 mythfrontend


fi


Ryan



> Thanks,
> Mitchell
> _______________________________________________
> 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