[mythtv-users] what in the world is going on with database password??

Jim Abernathy jfabernathy at gmail.com
Thu Nov 1 11:16:59 UTC 2018


On 11/1/18 4:20 AM, Stephen Worthington wrote:
> On Wed, 31 Oct 2018 21:04:27 -0400, you wrote:
>
>> Jim Abernathy
>> jfabernathy at gmail.com
>>
>>
>>
>>> On Oct 31, 2018, at 4:18 PM, James Abernathy <jfabernathy at gmail.com> wrote:
>>>
>>>>> So I ran mythfilldatabase as 'mythtv'. problem solved.
>>>>>
>>>>> This brings up what should be done to make this work all the time.
>>>>>
>>>>> 1. Either leave General -> Primary IP as 127.0.0.1 or always do the bind-address=:: fix
>>>>>
>>>>> 2. When doing mythtv-setup as "jim" don't run mythfilldatabase as part of exiting. Then sudo su mythtv and then run mythfilldatabase
>>>>>
>>>>> 3. Or do I run the XMLTV setup stuff as "jim" and then link all the .xmltv stuff in /home/mythtv/.xmltv back to /home/jim/.xmltv
>>>>>
>>>>> #3 is a good idea IMHO. I always link the config file of xmltv from the /home/user/.mythtv folder of the user performing maintenance on the backend to the /home/mythtv/.mythtv folder. That way, mythfilldatase works for both (or none if there is a problem).
>>>>>
>>>>>
>>> I’m still having too many issues, but what I know works is to run as user ‘mythtv’ for creating the XMLTV stuff, and mythfilldatabase. I had to run mythtv-setup as user ‘jim’.
>>>
>>> If 'I sudo su mythtv’, it exits with some error related to connecting to the display. Sam for ssh -Y or Desktop Terminal.
>> Doing xhost + fixed the running mythtv-setup as user mythtv. My problem with not getting mythfilldatabase to run as ‘jim’ was a permissions issue.
>>
>> Jim A
>>
>>> I’m going to keep testing because I think the XMLTV stuff had a problem.  Once I reran that I had success.
>>>
>>> Jim A
> Does the mythtv group exist?  Users jim and mythtv should be members
> of group mythtv.  That should make running MythTV programs work from
> user jim.

Group mythtv exist and jim is a member, the problem was by running XMLTV 
stuff as mythtv it only put read only permission for Group and Others. 
Once I gave Group R/W, user jim could run mythtv-setup which runs 
mythfilldatabase on exit.

Since I'm having issues still with X running mythtv-setup remotely via 
ssh -Y after 'sudo su mythtv', I'm going to stop at only doing XMLTV 
stuff as 'mythtv' and do everything else as 'jim' so terminal and ssh -Y 
will work.

If I get this flawless, then I have one set of instructions that work if 
duplicated exactly. I'll definitely document the permission issue I 
found.  Although the Mythtv-> XMLTV Wiki does call it out, you have to 
read carefully and take each line to heart.

Jim A


> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


More information about the mythtv-users mailing list