[mythtv-users] Connect to backend issues
HP-mini
blm-ubunet at slingshot.co.nz
Fri Sep 27 20:04:48 UTC 2013
On Fri, 2013-09-27 at 10:05 -0500, Jonno wrote:
>
> If I set up the mysql user to jonno in the mythfrontend settings ->
> general settings and then start the backend it connects and everything
> works.
> However on reboot mythbackend must be attempting to start either using
> some other config or username as it can't connect to the backend.
>
>
> My question is how should I set up the users and how do I find out how
> to check/change the settings?
>
>
> Ubuntu 13.04, Mythtv 0.27, AMD64
>
The backend (normally) runs as user mythtv.
This is controlled/set by upstart script /etc/init/mythtv-backend.conf
(see the mythtv wiki for upstart job info)
http://www.mythtv.org/wiki/Upstart_mythbackend_Configuration
If you look in /home folder you should see "jonno" & "mythtv"..
Each mythtv user looks into their $HOME/.mythtv/config.xml
So your BE starting (automatically) as upstart job
'sudo start mythtv-backend start'
will be looking in /home/mythtv/.mythtv/config.xml
Manually starting BE from terminal in "jonno" login session (without
setting user) results in BE running as "jonno" so different config.xml
path..
Good soln is to symlink all user $HOME/.mythtv/config.xml to one copy in
the user "jonno" (easier to edit/control).
More information about the mythtv-users
mailing list