<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=""><div><blockquote type="cite" class=""><div class=""><div class="">I do not recommend trying to add gksu back in.<br class=""><br class="">This how I handle the situation on  *Ubuntu 16.04,16.10,18.04,18.10 etc.<br class=""><br class="">After installing mythtv, run "sudo adduser $USER mythtv" and then either logout or reboot for it to take effect.<br class=""><br class="">Always use terminal session to stop mythtv-backend  "sudo systemctl stop mythtv-backend" before using mythtv-setup<br class=""><br class="">Always use terminal session for  mythtv-setup, do not allow mythfilldatabase or start mythbackend when exiting mythtv-setup.<br class=""><br class="">Always use terminal session to start mythtv-backend "sudo systemctl start mythtv-backend"<br class=""><br class="">I use ssh -X ... when connecting to mythtv-backend machine from another *Ubuntu system.<br class=""><br class="">If you need to run mythfilldatabase  manually, there are two ways :<br class=""><br class="">Tip you can give user mythtv a bash shell to make life easier in a terminal session "sudo chsh -s /bin/bash mythtv"<br class=""><br class="">1. open a terminal session "sudo su mythtv" then mythfilldatabase, exit from session when finished back to the original user.<br class=""><br class="">2. Just run "sudo -u mythtv mythfilldatabase”<br class=""><br class=""></div></div></blockquote>If I do option #2 I notice that it must not set the $USER variable to ‘mythtv’ because if I look at the console log I see:</div><div><br class=""></div><div><font face="Courier" class="">“<date and time>” I XMLTV config file is :/home/jim/,mythtv/SD.xmltv</font></div><div><font face="Courier" class=""> </font><br class="">If I run it doing option #1 it shows XMLTV config file is : /home/mythtv/.mythtv/SD.xmltv</div><div><br class=""></div><div>Jim A</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Mike<br class=""><br class=""><br class="">_______________________________________________<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></div></blockquote></div><br class=""></body></html>