[mythtv-users] mythtv-setup gksu not found

Mike Bibbings mike.bibbings at gmail.com
Thu Nov 1 13:56:09 UTC 2018


On 01/11/2018 11:45, Jim Abernathy wrote:
>
> On 11/1/18 7:33 AM, Greg wrote:
>>
>> On 10/31/18 9:00 PM, James Abernathy wrote:
>>>> On Oct 31, 2018, at 5:07 PM, Andy Smith <hastymind at googlemail.com> 
>>>> wrote:
>>>>
>>>> On Wed, 31 Oct 2018 at 20:28, James Abernathy 
>>>> <jfabernathy at gmail.com> wrote:
>>>>> I was running mythtv-setup from a terminal console and it appeared 
>>>>> to work, but when I exited I see these errors in the console output.
>>>>>
>>>>> Problem? I know gksu has been eliminated in 18.04
>>>>>
>>>>> /usr/bin/mythtv-setup: 54: /usr/bin/mythtv-setup: gksu: not found
>>>>> /usr/bin/mythtv-setup: 68: /usr/bin/mythtv-setup: gksu: not found
>>>>>
>>>>> Jim A
>>>>>
>>>> The best workaround I found was published here :
>>>>
>>>> https://askubuntu.com/questions/1030054/how-to-install-an-application-that-requires-gksu-package-on-ubuntu-18-04 
>>>>
>>>>
>>>> and boiled down to this :
>>>>
>>>> wget 
>>>> http://mirrors.kernel.org/ubuntu/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
>>>> sudo apt install ./libgksu2-0_2.0.13~pre1-9ubuntu2_amd64.deb
>>>>
>>>> wget 
>>>> http://mirrors.kernel.org/ubuntu/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb
>>>> sudo apt install ./gksu_2.0.2-9ubuntu1_amd64.deb
>>>>
>>>> -- 
>>>> Andy
>>> I wonder what is missing on mythtv-setup because I don’t have gksu 
>>> installed?
>>>
>>> Jim A
>>>
>>> For what ever reason, gksu was removed from Ubuntu 18.04.. I use it 
>>> alot..  I have been using the work around above since 18.04 came 
>>> out, and it works great...
>
> Thanks.
>
> I've seen called out that mythtv-setup can't add user $USER to the 
> 'mythtv' group.  I'm guessing this is because gksu isn't in 18.04.
>
> So the debate in my mind is to I add gksu to 18.04 myself or just 
> adduser $USER to mythtv. I wonder what else mythtv uses gksu for.
>
> I know I don't use gksu, and most likely will not now that it's gone 
> "officially".
>
> Jim A


I do not recommend trying to add gksu back in.

This how I handle the situation on  *Ubuntu 16.04,16.10,18.04,18.10 etc.

After installing mythtv, run "sudo adduser $USER mythtv" and then either 
logout or reboot for it to take effect.

Always use terminal session to stop mythtv-backend  "sudo systemctl stop 
mythtv-backend" before using mythtv-setup

Always use terminal session for  mythtv-setup, do not allow 
mythfilldatabase or start mythbackend when exiting mythtv-setup.

Always use terminal session to start mythtv-backend "sudo systemctl 
start mythtv-backend"

I use ssh -X ... when connecting to mythtv-backend machine from another 
*Ubuntu system.

If you need to run mythfilldatabase  manually, there are two ways :

Tip you can give user mythtv a bash shell to make life easier in a 
terminal session "sudo chsh -s /bin/bash mythtv"

1. open a terminal session "sudo su mythtv" then mythfilldatabase, exit 
from session when finished back to the original user.

2. Just run "sudo -u mythtv mythfilldatabase"


Mike




More information about the mythtv-users mailing list