[mythtv-users] MythTV won't connect to mythlcdserver

steve.goodey at bt.com steve.goodey at bt.com
Fri Dec 4 14:32:22 UTC 2009

From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Jelle De Loecker
Sent: 04 December 2009 14:01
To: Discussion about mythtv
Subject: [mythtv-users] MythTV won't connect to mythlcdserver

Hi everyone,

I've configured my LCDd daemon and lcdproc correctly.
The only thing I need to get running now is the myth-part, but for some reason mythtv won't connect to its own mythlcdserver!

This is the debug output of mythlcdserver:

2009-12-04 14:52:10.570 LCDProcClient: checking connections
2009-12-04 14:52:16.310 Got data on select
2009-12-04 14:52:16.310 Processing ready reads
2009-12-04 14:52:16.310 MythSocketThread(sock 0x1fa69e0:10): socket is readable
2009-12-04 14:52:16.310 MythSocketThread(sock 0x1fa69e0:10): calling m_cb->readyRead()
2009-12-04 14:52:16.310 MythSocket(1fa69e0:10): readBlock(0x33452536, 8) called
2009-12-04 14:52:16.310 MythSocket(1fa69e0:10): readBlock(0x33282632, 50) called
2009-12-04 14:52:16.310 MythSocket(1fa69e0:10): read  <- 10 50      BACKEND_MESSAGE[]:[]CLEAR_SETTINGS_CACHE[]:[]empty
2009-12-04 14:52:16.310 Received a remote 'Clear Cache' request
2009-12-04 14:52:16.310 Clearing Settings Cache.
2009-12-04 14:52:16.310 MythSocketThread: Total read time: 0ms, on sockets {10,0ms}
2009-12-04 14:52:16.310 Reacquired ready read lock
2009-12-04 14:52:16.310 ProcessAddRemoveQueues
2009-12-04 14:52:16.310 Construct FD_SET
2009-12-04 14:52:16.310 Waiting on select..
2009-12-04 14:52:20.570 LCDProcClient: checking connections
2009-12-04 14:52:30.570 LCDProcClient: checking connections

In between these "checking connections", mythtv throws these errors, from 1 to 10:
2009-12-04 14:52:21.242 Connecting to lcd server: localhost:6545 (try 10 of 10)

I'm not really sure what the problem is. I haven't found a lot of information on mythlcdserver

Met vriendelijke groeten,

Jelle De Loecker

2009/11/6 Douglas Mackay <douglas.mackay at gmail.com>:

> 2009/11/6  <steve.goodey at bt.com>:

>> Hello,


>> I wonder if someone can help me please.


>> Can anyone give me a clue about editing the entry LCDServerHost in

>> the database? From this post


>> http://www.gossamer-threads.com/lists/mythtv/users/402902


>> I need to change it to I have the userid and password for

>> mysql but am unable to find the commands to allow editing of the

>> required field, which does not appear to be editable in mythweb.


>> Thank you.


>> Steve


>> Background. I have a clean install of Mythbuntu 9.10, combined

>> front/backend on a Scaleo E which has a VFD display. Now the display

>> is almost working. On power up it shows Scaleo E, after a few minutes

>> the lcdproc server screen appears and when mythfrontend starts the

>> display shows date/time. But I am unable to get the display to show

>> anything else apart from date/time. I have enabled the display is setup, appearance, lcd device display.


>> The log from mythfrontend -v network,socket shows Connecting to lcd server:

>> localhost:6545 (try 1 of 10) (try 2 of 10) etc up to 10.

>> Syslog shows LCDd: sock_send: socket write error.



> Thought it only me that had the problem. The LCDServerHost value might

> not exist in you database (it didn't in mine).


> In the settings table within the mythconverg database there are three

> fields :- value, data, hostname so to add the LCDServerHost setting

> you would create a new row with value=LCDServerHost, data=,

> hostname=<think this can be set to null to apply to all hosts or you

> can specify an individual host>


> I used phpMyAdmin to insert the value to the settings table however

> you you should be able use the mysql tools to do the same.


If you don't have phpMyAdmin installed it's probaly easier just to use mysql. The following should work :-

mysql -u mythtv -p

<enter password>

use mythconverg;

insert into settings (value,data,hostname) values ('LCDServerHost', '', null); _______________________________________________

mythtv-users mailing list

mythtv-users at mythtv.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091204/cdd10ee8/attachment.htm>

More information about the mythtv-users mailing list