<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
<BR>
Hi Folks!<BR>
<BR>
<BR>
Using a Backend of Mythbuntu 16.04 and a Frontend of Ubuntu 16.04 and MythTV 0.28. This particular Frontend will sometimes connect to the Backend – when it does great, when it doesn't goes to the 'Language Select' screen, which appears to be normal for a bad connect. Using the Terminal command 'mythfrontend' will give me a session log which I have partially copied below, one for when it connects and one for when it did not. <BR>
<BR>
<BR>
Noted both said “access denied for user <A HREF="mailto:mythtv@localhost">mythtv@localhost</A>”. That surprised me as is a key finding in the need to re-install MySQL What seems to be the problem is the FE will try to connect using an IPv6 address (I'm too much of a newbie to be sure), yet I can exit, repeat the command and it will connect with the IPv4 address (or at least the correct one) inserted. <BR>
<BR>
<BR>
In the logs below in realtime I captured the Didn't Connect first, then the Did Connect but easier for me to look at what worked and compare to what's not working, so posted backwards per clock time. <BR>
<BR>
<BR>
Any help in correcting this connection problem appreciated! “Extra points” for what I'm guessing is a permissions error with '/home/barry/.mythtv'. I can't change Themes but at least I can watch recordings! (When it decides to connect!)<BR>
<BR>
<BR>
Thanks!!<BR>
<BR>
<BR>
Barry<BR>
<BR>
<BR>
<BR>
<DIV ALIGN=center></DIV>
<DIV ALIGN=center><B>Connected to BE</B></DIV>
<DIV ALIGN=center></DIV>
2016-07-06 15:24:58.378818 I Using localhost value of HP-dc7100<BR>
<BR>
2016-07-06 15:24:58.385574 E [DBManager0] Unable to connect to database!<BR>
<BR>
2016-07-06 15:24:58.385616 E Driver error was [1/1045]:<BR>
<BR>
QMYSQL: Unable to connect<BR>
<BR>
Database error was:<BR>
<BR>
Access denied for user 'mythtv'@'localhost' (using password: YES) <== But Connected!!<BR>
<BR>
2016-07-06 15:24:58.385669 I UPNP Search 2 secs<BR>
<BR>
2016-07-06 15:24:58.479187 I Added syslogging<BR>
<BR>
2016-07-06 15:24:58.734751 I UPNP Search 1 secs<BR>
<BR>
2016-07-06 15:24:59.136319 I UPNP Search 1 secs<BR>
<BR>
2016-07-06 15:25:00.507578 I Found 1 UPnP backends<BR>
<BR>
2016-07-06 15:25:01.434483 I Testing network connectivity to '192.168.0.13'<BR>
<BR>
2016-07-06 15:25:01.434981 I Starting process manager<BR>
<BR>
2016-07-06 15:25:01.439243 I Starting process signal handler<BR>
<BR>
2016-07-06 15:25:01.439841 I Starting IO manager (write)<BR>
<BR>
2016-07-06 15:25:01.439862 I Starting IO manager (read)<BR>
<BR>
2016-07-06 15:25:01.495068 E Could not create /home/barry/.mythtv<BR>
<BR>
2016-07-06 15:25:01.502167 N Setting QT default locale to en_US<BR>
<BR>
<BR>
<DIV ALIGN=center><B>Did not Connect to BE</B></DIV>
<DIV ALIGN=center></DIV>
2016-07-06 15:24:47.116844 N Empty LocalHostName.<BR>
<BR>
2016-07-06 15:24:47.116854 I Using localhost value of HP-dc7100<BR>
<BR>
2016-07-06 15:24:47.123626 E [DBManager0] Unable to connect to database!<BR>
<BR>
2016-07-06 15:24:47.123668 E Driver error was [1/1045]:<BR>
<BR>
QMYSQL: Unable to connect<BR>
<BR>
Database error was:<BR>
<BR>
Access denied for user 'mythtv'@'localhost' (using password: YES) <I><== doesn't matter!</I><BR>
<BR>
2016-07-06 15:24:47.123723 I UPNP Search 2 secs<BR>
<BR>
2016-07-06 15:24:47.216980 I Added syslogging<BR>
<BR>
2016-07-06 15:24:47.480446 I UPNP Search 1 secs<BR>
<BR>
2016-07-06 15:24:47.998422 I UPNP Search 1 secs<BR>
<BR>
2016-07-06 15:24:49.232845 I Found 1 UPnP backends<BR>
<BR>
2016-07-06 15:24:49.947813 E SOAPClient::SendSOAPRequest: request failed: http://[fe80::292d:8b3f:62c:19e7]:6544/Myth<BR>
<BR>
2016-07-06 15:24:49.947920 E MythXMLClient::GetConnectionInfo Failed - (1) unexpected end of file<BR>
<BR>
2016-07-06 15:24:49.948092 I Testing network connectivity to 'fe80::292d:8b3f:62c:19e7'<BR>
<BR>
2016-07-06 15:24:49.948593 I Starting process manager<BR>
<BR>
2016-07-06 15:24:49.950030 I Starting process signal handler<BR>
<BR>
2016-07-06 15:24:49.956501 I Starting IO manager (write)<BR>
<BR>
2016-07-06 15:24:49.962110 I Starting IO manager (read)<BR>
<BR>
2016-07-06 15:24:50.156891 W MythUIHelper: No theme dir: '/usr/share/mythtv/themes/Mythbuntu'<BR>
<BR>
</BODY>
</HTML>