<div dir="ltr">Also<div>-X</div><div>-Y</div><div>-t</div><div>-mississippi</div><div><br></div><div>Didn't work</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Jul 14, 2018 at 7:05 PM Brent Bolin <<a href="mailto:brent.bolin@gmail.com">brent.bolin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Not really sure what you mean by checking.  This is what I get when running the curl command<div><br></div><div><div>ssh <a href="mailto:root@192.168.0.124" target="_blank">root@192.168.0.124</a></div><div><a href="mailto:root@192.168.0.124" target="_blank">root@192.168.0.124</a>'s password: </div><div>Last login: Sat Jul 14 18:43:22 2018 from 192.168.0.102</div><div>ubuntu@root:~</div><div> curl -H Accept:application/json <a href="http://127.0.0.1:6544/Myth/GetSetting?Key=BackendStartCommand%5C&HostName=_GLOBAL_" target="_blank">127.0.0.1:6544/Myth/GetSetting?Key=BackendStartCommand\&HostName=_GLOBAL_</a></div><div>{"String": "mythbackend"}ubuntu@root:~</div></div><div><br></div><div>There is not stop or start on this system only systemctl commands.  It did need to be setup because it wasn't enabled by default (ubuntu server 16.04)</div><div>makes me wonder how it started on initial boots and reboots.  No clue where things are at these days between upstart and systemd.  Frankly prefer systemd and wish  every distro would get on the same page.  The startup stuff is one of the things I brought up in my original post.</div><div><br></div><div>BTW: In the MythTV settings there is something about 'startup command' not sure if that's what your referring too  </div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Jul 14, 2018 at 6:23 PM Bill Meek <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 07/14/2018 06:01 PM, Greg Oliver wrote:<br>
> On Sat, Jul 14, 2018 at 4:33 PM, Brent Bolin <<a href="mailto:brent.bolin@gmail.com" target="_blank">brent.bolin@gmail.com</a>> wrote:<br>
> <br>
>> Issue I've seen lately is it just hangs after changes are made on a<br>
>> headless mythtv install<br>
>><br>
>> Get the dialog box that says: If you added or altered channels please run<br>
>> mythfilldatabase on the master backend to populate the database with guide<br>
>> information<br>
>><br>
>> At that point I need to open another screen and kill the mythtv-setup<br>
>> process.  Thought it has something to do with systemd not enabled but<br>
>> appears to be something more<br>
>><br>
>> NAME="Ubuntu"<br>
>> VERSION="16.04.4 LTS (Xenial Xerus)"<br>
>> mythtv-backend-master                2:0.28.2+fixes<br>
>><br>
>> sudo systemctl stop mythtv-backend.service (works fine)<br>
>> Also edited /etc/sudoers<br>
>> mythtv ALL=(ALL) NOPASSWD: ALL<br>
>><br>
>> Input would be appreciated hate crashing all the time<br>
>> Brent Bolin<br>
>><br>
>> ​<br>
> Some distro environments are not properly setup for -X and -Y<br>
> <br>
> When I encounter them, adding a -t to the ssh cmdline usually fixes it.<br>
> <br>
> ssh -X -t mythtv@host mythtv-setup<br>
> <br>
> -Greg​<br>
<br>
Might be worth checking the BackendStartCommand and BackendStopCommand:<br>
<br>
  curl -H Accept:application/json yourBackend:6544/Myth/GetSetting?Key=BackendStartCommand\&HostName=_GLOBAL_<br>
<br>
The response from mine is:<br>
<br>
   {"String": "sudo \/bin\/systemctl start mythtv-backend.service"}<br>
<br>
(the backslashes aren't really there)<br>
<br>
-- <br>
Bill<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>
</blockquote></div>