<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 31, 2018, at 5:04 PM, Jay Harbeston (ISeePeople) <<a href="mailto:jharbestonus@gmail.com" class="">jharbestonus@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 31, 2018, at 4:51 PM, James Abernathy <<a href="mailto:jfabernathy@gmail.com" class="">jfabernathy@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">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:</div><div class=""><br class=""></div><div class="">jim@jim-xubuntu:~$ sudo su mythtv<br class="">[sudo] password for jim: <br class="">$ mythtv-setup<br class="">mysql: [Warning] Using a password on the command line interface can be insecure.<br class="">No protocol specified<br class="">xprop: unable to open display ':0.0'<br class="">No protocol specified<br class="">Unable to init server: Could not connect: Connection refused<br class=""><br class="">(zenity:5379): Gtk-WARNING **: 16:32:53.104: cannot open display: :0.0<br class="">$</div><div class=""><br class=""></div>Is there something that has to be setup for user mythtv to do this??<div class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Jim A<br class=""><br class=""><br class=""></div>
</div>
<br class=""></div></div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div>Mythtv doesn’t have permissions to ‘write’ on the display.</div><div class=""><br class=""></div><div class="">Before you do the sudo, use the following command to allow mythtv access:</div><div class=""><br class=""></div><div class="">xhost +</div><div class=""><br class=""></div></div></div></blockquote><div><br class=""></div>Yeap, that worked great. Thanks.</div><div><br class=""></div><div>Jim A</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">_______________________________________________<br class="">mythtv-users mailing list<br class=""><a href="mailto:mythtv-users@mythtv.org" class="">mythtv-users@mythtv.org</a><br class=""><a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" class="">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br class="">http://wiki.mythtv.org/Mailing_List_etiquette<br class="">MythTV Forums: https://forum.mythtv.org<br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">mythtv-users mailing list<br class=""><a href="mailto:mythtv-users@mythtv.org" class="">mythtv-users@mythtv.org</a><br class="">http://lists.mythtv.org/mailman/listinfo/mythtv-users<br class="">http://wiki.mythtv.org/Mailing_List_etiquette<br class="">MythTV Forums: https://forum.mythtv.org<br class=""></div></blockquote></div><br class=""></body></html>