<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 31, 2020 at 6:32 AM Jeff <<a href="mailto:jffry@posteo.net">jffry@posteo.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 29/12/2020 13:06, Jeff wrote:<br>
> How can I prevent MythTV Light from passing the keystrokes through to <br>
> the terminal?<br>
<br>
I've solved this problem by moving the job starting mythfrontend from a <br>
cronjob to /etc/rc.local (leaving it as a foreground task):<br>
<br>
<a href="https://www.raspberrypi.org/documentation/linux/usage/rc-local.md" rel="noreferrer" target="_blank">https://www.raspberrypi.org/documentation/linux/usage/rc-local.md</a><br>
<br></blockquote><div><br></div><div>Hi Jeff,</div><div><br></div><div>What did you enter in your rc.local to get mythfrontend to load?  I'm trying the following, but getting an error-out:</div><div>sleep 10 && QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs mythfrontend --logpath=/tmp/ > /home/pi/mythlog.log</div><div><br></div><div>Warning: The unit file, source configuration file or drop-ins of rc-local.service changed on disk. Run 'systemctl daem<br>● rc-local.service - /etc/rc.local Compatibility<br>   Loaded: loaded (/lib/systemd/system/rc-local.service; enabled-runtime; vendor preset: enabled)<br>  Drop-In: /usr/lib/systemd/system/rc-local.service.d<br>           └─debian.conf<br>           /etc/systemd/system/rc-local.service.d<br>           └─ttyoutput.conf<br>   Active: failed (Result: exit-code) since Sun 2021-05-16 12:04:15 EDT; 49s ago<br>     Docs: man:systemd-rc-local-generator(8)<br>  Process: 628 ExecStart=/etc/rc.local start (code=exited, status=139)<br><br>May 16 12:03:21 raspberrypi systemd[1]: Starting /etc/rc.local Compatibility...<br>May 16 12:03:34 raspberrypi rc.local[628]: error: XDG_RUNTIME_DIR not set in the environment.<br>May 16 12:03:34 raspberrypi rc.local[628]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'<br>May 16 12:03:37 raspberrypi rc.local[628]: QOpenGLFramebufferObject: Framebuffer incomplete attachment.<br>May 16 12:03:37 raspberrypi rc.local[628]: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.<br>May 16 12:03:42 raspberrypi rc.local[628]: Handling Segmentation fault<br>May 16 12:04:15 raspberrypi rc.local[628]: Segmentation fault<br>May 16 12:04:15 raspberrypi systemd[1]: rc-local.service: Control process exited, code=exited, status=139/n/a<br>May 16 12:04:15 raspberrypi systemd[1]: rc-local.service: Failed with result 'exit-code'.<br>May 16 12:04:15 raspberrypi systemd[1]: Failed to start /etc/rc.local Compatibility.</div><div><br></div><div>Kind regards,</div><div>Rob<br></div><div><br></div></div></div>