<div dir="ltr">Thanks. I eventually figured that it was running as mythtv but appreciate the extra info on where upstart points to.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 3:04 PM, HP-mini <span dir="ltr"><<a href="mailto:blm-ubunet@slingshot.co.nz" target="_blank">blm-ubunet@slingshot.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, 2013-09-27 at 10:05 -0500, Jonno wrote:<br>
<br>
><br>
<br>
> If I set up the mysql user to jonno in the mythfrontend settings -><br>
> general settings and then start the backend it connects and everything<br>
> works.<br>
> However on reboot mythbackend must be attempting to start either using<br>
> some other config or username as it can't connect to the backend.<br>
><br>
><br>
> My question is how should I set up the users and how do I find out how<br>
> to check/change the settings?<br>
><br>
><br>
> Ubuntu 13.04, Mythtv 0.27, AMD64<br>
><br>
</div>The backend (normally) runs as user mythtv.<br>
This is controlled/set by upstart script /etc/init/mythtv-backend.conf<br>
(see the mythtv wiki for upstart job info)<br>
<a href="http://www.mythtv.org/wiki/Upstart_mythbackend_Configuration" target="_blank">http://www.mythtv.org/wiki/Upstart_mythbackend_Configuration</a><br>
<br>
If you look in /home folder you should see "jonno" & "mythtv"..<br>
Each mythtv user looks into their $HOME/.mythtv/config.xml<br>
<br>
So your BE starting (automatically) as upstart job<br>
'sudo start mythtv-backend start'<br>
will be looking in /home/mythtv/.mythtv/config.xml<br>
<br>
Manually starting BE from terminal in "jonno" login session (without<br>
setting user) results in BE running as "jonno" so different config.xml<br>
path..<br>
<br>
Good soln is to symlink all user $HOME/.mythtv/config.xml to one copy in<br>
the user "jonno" (easier to edit/control).<br>
<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div>