[mythtv-users] running mythtv-setup as a different
James Abernathy
jfabernathy at gmail.com
Thu Nov 1 00:58:33 UTC 2018
> On Oct 31, 2018, at 5:04 PM, Jay Harbeston (ISeePeople) <jharbestonus at gmail.com> wrote:
>
>
>
>> On Oct 31, 2018, at 4:51 PM, James Abernathy <jfabernathy at gmail.com <mailto:jfabernathy at gmail.com>> wrote:
>>
>> My user name is ‘jim’. I normally run mythtv-setup as jim. I thought about trying to run as user ‘mythtv’ to explore an issue. So I opened a terminal and tried this:
>>
>> jim at jim-xubuntu:~$ sudo su mythtv
>> [sudo] password for jim:
>> $ mythtv-setup
>> mysql: [Warning] Using a password on the command line interface can be insecure.
>> No protocol specified
>> xprop: unable to open display ':0.0'
>> No protocol specified
>> Unable to init server: Could not connect: Connection refused
>>
>> (zenity:5379): Gtk-WARNING **: 16:32:53.104: cannot open display: :0.0
>> $
>>
>> Is there something that has to be setup for user mythtv to do this??
>>
>> Jim A
>>
>>
>>
>
>
> Mythtv doesn’t have permissions to ‘write’ on the display.
>
> Before you do the sudo, use the following command to allow mythtv access:
>
> xhost +
>
Yeap, that worked great. Thanks.
Jim A
>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org <mailto: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
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20181031/fe35b964/attachment.html>
More information about the mythtv-users
mailing list