<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p> </p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Hi Stephen!</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">A
couple/few/several
questions, please.</p>
<p>
<style type="text/css">
p { margin-bottom: 0.1in; line-height: 115% }
a:link { so-language: zxx }</style></p>
<br>
<p>
<blockquote type="cite">You have to edit the
/etc/lirc/irexec.lircrc file first. In you case, comment out or
delete everything in the file, then select one key from the
remote to start mythfrontend</blockquote>
<br>
</p>
<p> </p>
<p style="margin-bottom: 0in; line-height: 100%">I didn’t have one
to begin with so figured just create it as you said to delete
everything inside. after troubleshooting not sure the lack of a
file
isn’t pointing to another problem. What I do have in the file is:</p>
<p style="margin-bottom: 0in; line-height: 100%">begin</p>
<p style="margin-bottom: 0in; line-height: 100%"> remote =
devinput</p>
<p style="margin-bottom: 0in; line-height: 100%"> prog = mythtv</p>
<p style="margin-bottom: 0in; line-height: 100%"> button = KEY_C</p>
<p style="margin-bottom: 0in; line-height: 100%"> config = “su
-l pi -c /home/pi/Load_MythFE.sh &”</p>
<p style="margin-bottom: 0in; line-height: 100%"> repeat = 0</p>
<p style="margin-bottom: 0in; line-height: 100%"> delay = 0</p>
<p style="margin-bottom: 0in; line-height: 100%">end</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Without the -c
switch it was complaining “cannot execute binary file”. Found
that little trick on the web. (Found what it was ‘complaining’
about when testing at Terminal.)</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">A sub-problem is
the
need to enter a password. The insertion of the -c switch didn’t
change the need. So now need to find out how to do that. The good
news is we (OK, you!) can be ‘sloppy’ and have a plain text
display as all the FEs have a common password.</p>
<p>
<style type="text/css">
p { margin-bottom: 0.1in; line-height: 115% }
a:link { so-language: zxx }</style></p>
<p><br>
</p>
<p>
<blockquote type="cite">
<pre class="western">It is possible that it will need a DISPLAY=:0 environment setting as
well, in which case you would probably need to run a script from the
su -l command and put the environment setting in there.</pre>
<style type="text/css">
pre.cjk { font-family: "Courier New", monospace }
p { margin-bottom: 0.1in; line-height: 115% }
a:link { so-language: zxx }</style></blockquote>
</p>
<p style="margin-bottom: 0in; line-height: 100%">And having problems
figuring that one out. The Load_MythFE.sh is:</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">#!/bin/bash</p>
<p style="margin-bottom: 0in; line-height: 100%">DISPLAY=:0
<==zero</p>
<p style="margin-bottom: 0in; line-height: 100%">su -l pi -c
/usr/bin/mythfrontend </p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Just dawned on me:
do I need the ‘su -l pi -c’ string as it’s in irexec file…… Nope!
Now to figure out passing the the password.</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Well, made your
life
a hare simpler! Will continue to try to figure out the password
thing.</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">As always, TIA!</p>
<p style="margin-bottom: 0in; line-height: 100%">Barry</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p>
<style type="text/css">
p { margin-bottom: 0.1in; line-height: 115% }
a:link { so-language: zxx }\</style></p>
</body>
</html>