[mythtvnz] New install - mythbackend password not accepted
Paul
paulgir at gmail.com
Sat Apr 3 23:55:34 BST 2021
> The password for stopping and starting things that are run by root is
> the sudo password. This is the password you are asked for when the
> installer creates your initial (admin enabled) account at the start of
> the install process, and the same password that you need to use to
> login to your user account if you have not set it to autologin.
>
> If you have set it up to autologin and have forgotten the normal login
> password, you can reset it by opening a terminal and using the
> "passwd" command. There is probably also a GUI way of doing that.
>
> The root account is not set up with a password by default. To use it,
> you can do "sudo su" from your user account, or you can set a root
> password with "sudo passwd".
>
> I have an alternate way of setting up mythfrontend where it uses an
> sudo helper script to do systemctl commands so that it does not need
> to ask for the password to stop mythbackend. You can find it here:
>
> https://lists.archive.carbon60.com/mythtv/users/625993
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Ok ,I tried your scripts which don't appear to work correctly in this system
While running htop in another workspace ,I can issue sudo
/home/mythtv/bin/mythtv-systemctl-helper.sh stop and sudo
/home/mythtv/bin/mythtv-systemctl-helper.sh start commands and observe
that the processes related to /usr/bin/mythtv disappear and reappear.
If I start mythtv backend setup ,first I get a window asking to stop
myth backend ,I click yes, I get another window asking for the password
and I close it.
Myth backend setup starts and says myth backend is still running ,htop
confirms this, there are 3 choices: 'stop backend' , 'continue' or 'exit'.
'Continue' allows me to make changes using the setup app. 'Stop
backend' freezes the workspace. I can switch workspaces to where htop is
running and see there are /usr/bin/mythtv processes running - workspace
2 is not frozen. I can issue sudo
/home/mythtv/bin/mythtv-systemctl-helper.sh stop in the terminal and the
mythtv processes stop. Back in workpace 1 the frozen myth backend setup
gui closes and leaves a mythtv terminal which along with other messages
says "trying to close mythbackend" and "connection to mythbackend was lost"
This freezing of the workspace happened before running your scripts. The
scripts have allowed the closure of the password request box without it
respawning.Before the scripts I had to click ok 3 times and then the
password box would not come back.
It might be easier for you to point me to an up to date install
procedure for OSs that use systemd and for me to do a reinstall.
During the mythtv install via myth control panel ,the installer exited
due to the absence of 'pwgen' which appear to be an old bug:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/592521
<https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/592521> but I
never encountered it when Mythbuntu was available.
I have a very strong suspicion there were setup option request windows
hidden by the "failed to install message" box ,there was a box with a
"default" button revealed when the closed "failed to install message" box
I installed pwgen and started myth control panel which seemed to be
happy except for asking for passwords.
What is the best way to remove all trace of mythtv including config
files from the system and begin again?
Do you think Myth Control Panel complicates the install?
Thanks for you help
Paul
More information about the mythtvnz
mailing list