<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 21, 2024, 14:47 Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  
    
  
  <div>
    <p><br>
    </p>
    <div>On 6/21/24 16:07, James Abernathy
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr"><br></div>
          <div>3. Create the mythtv user to the desired gid/uid and add
            your own user to the mythtv group</div>
          <div>i.e. </div>
          <div><span style="font-family:monospace">sudo addgroup --gid
              1006 mythtv<br>
              sudo adduser --ingroup mythtv --home /home/mythtv --shell
              /bin/bash --uid 1006 mythtv<br>
              sudo usermod -aG mythtv jim</span></div></div></div></blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><blockquote type="cite"><div dir="ltr"><div class="gmail_quote">
          <div><span style="font-family:arial,sans-serif">4. I reboot
              for safety reasons, then</span><span style="font-family:monospace"> sudo apt install mythtv</span></div></div></div></blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><blockquote type="cite"><div dir="ltr"><div class="gmail_quote">
          <div><font face="arial,sans-serif">5. point browser to
              localhost:6544.  The mythconverg database should be set
              up.<br>
            </font></div>
          <div><font face="arial,sans-serif">6. Continue with the
              remaining backend setup using Web App and restart the
              backend with the button at the top.<br></font></div></div></div></blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><div><font face="arial,sans-serif">
            </font></div>
          <div><font face="arial,sans-serif">7. In a terminal in your
              user copy /etc/mythtv/config.xml to ~/,mythtv/config.xml</font></div>
          <div><font face="arial,sans-serif">8. Run mythfrontend.</font></div>
          <div><font face="arial,sans-serif"><br>
            </font></div>
          <div><font face="arial,sans-serif">Jim A<br>
              <br>
            </font></div>
          <div><span style="font-family:monospace"><br>
            </span></div>
        </div>
      </div>
      <br>
    </blockquote>
    <p>The way it  works:</p>
    <p>You perform your setup with the browser, and remember what you
      set for Security Pin.</p>
    <p>Then log on as a different user (eg jim) and run mythfrontend. It
      gives a screen that says cannot connect database. Arrow to the
      search button and press enter. It gives a list of running backend
      on  your network. select one, enter the pins, and mythfrontend
      creates your config.xml  and starts up.</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This entirely avoids the permission problem potential on the mythtv user directory, but I suspect that the script creating the user creates the user directory with more permissive access than Debian's default login.defs would suggest, and what is used by default with Jim's command to create the user beforehand.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    <p>I don't think your problems are related to creating the mythtv
      user before installing. I always create it before, so that it has
      the same id number as before. This makes sure your recording files
      from a prior installation have the same user permissions as your
      new new install.</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I believe they are actually directly connected to the way that the users homedir is created prior, and Jim's initial desire to simply symilink the configuration file.  I have gone over this in detail in my last few replies to this thread. </div><div dir="auto"><br></div><div dir="auto">Mike</div></div>