[mythtv-users] Help me find the magic combo (remote/lirc)

Jan Johansson j2 at mupp.net
Mon Jan 4 07:22:43 UTC 2010


>So now that the LCDProc is working fine, lets look at your
>mythfrontend logs during a startup to see what's happening when we try
>to connect to the LCD.

I suppose this is the important bit:

2009-12-30 11:26:04.105 mythfrontend version: trunk [23019]
www.mythtv.org
2009-12-30 11:26:04.105 Using runtime prefix = /usr/local
2009-12-30 11:26:04.105 Using configuration directory =
/home/mythtv/.mythtv
2009-12-30 11:26:05.025 Empty LocalHostName.
2009-12-30 11:26:05.025 Using localhost value of MythBox
2009-12-30 11:26:05.028 New DB connection, total: 1
2009-12-30 11:26:05.031 Connected to database 'mythconverg' at host:
localhost
2009-12-30 11:26:05.031 Closing DB connection named 'DBManager0'
2009-12-30 11:26:05.070 ScreenSaverX11Private: Gnome screen saver
support enabled
2009-12-30 11:26:05.094 DPMS is active.
2009-12-30 11:26:05.110 Primary screen: 0.
2009-12-30 11:26:05.114 Connected to database 'mythconverg' at host:
localhost
2009-12-30 11:26:05.115 Using screen 0, 1920x1080 at 0,0
2009-12-30 11:26:05.150 MythUI Image Cache size set to 20971520 bytes
2009-12-30 11:26:05.178 Enabled verbose msgs:  important general
2009-12-30 11:26:05.195 Starting mythlcdserver
QWidget: Cannot create a QWidget when no GUI is being used
2009-12-30 11:26:05.727 Connecting to lcd server: localhost:6545 (try 1
of 10)
2009-12-30 11:26:06.233 Connecting to lcd server: localhost:6545 (try 2
of 10)
2009-12-30 11:26:06.734 Connecting to lcd server: localhost:6545 (try 3
of 10)
2009-12-30 11:26:07.234 Connecting to lcd server: localhost:6545 (try 4
of 10)
2009-12-30 11:26:07.734 Connecting to lcd server: localhost:6545 (try 5
of 10)
2009-12-30 11:26:08.235 Connecting to lcd server: localhost:6545 (try 6
of 10)
2009-12-30 11:26:08.735 Connecting to lcd server: localhost:6545 (try 7
of 10)
2009-12-30 11:26:09.235 Connecting to lcd server: localhost:6545 (try 8
of 10)
2009-12-30 11:26:09.736 Connecting to lcd server: localhost:6545 (try 9
of 10)
2009-12-30 11:26:10.236 Connecting to lcd server: localhost:6545 (try 10
of 10)
2009-12-30 11:26:10.755 Primary screen: 0.
2009-12-30 11:26:10.755 Using screen 0, 1920x1080 at 0,0
2009-12-30 11:26:10.764 Using theme base resolution of 1280x720
2009-12-30 11:26:10.780 LIRC: Successfully initialized '/dev/lircd'
using '/home/mythtv/.lircrc' config
2009-12-30 11:26:10.780 JoystickMenuThread Error: Joystick disabled -
Failed to read /home/mythtv/.mythtv/joystickmenurc
2009-12-30 11:26:11.081 Using the OpenGL painter
2009-12-30 11:26:11.166 Loaded base theme from
/usr/local/share/mythtv/themes/metallurgy/base.xml
2009-12-30 11:26:11.332 Loaded base theme from
/usr/local/share/mythtv/themes/default-wide/base.xml
2009-12-30 11:26:11.412 Loaded base theme from
/usr/local/share/mythtv/themes/default/base.xml
2009-12-30 11:26:11.415 Current MythTV Schema Version (DBSchemaVer):
1247


Now, the funny thing is this: I created a small script (again, Ubuntu
9.10)

#!/bin/bash
/usr/local/bin/mythlcdserver --daemon --logfile
/var/log/mythtv/mythlcdserver.log
sleep 3
/usr/local/bin/mythfrontend --logfile /var/log/mythtv/mythfrontend.log &
/usr/local/bin/mythfilldatabase --max-days 14 --refresh-all &

This script works when I run it from a terminal. But it does NOT work if
I run it from .config/autostart (In that case, it starts frontend, and
runs mythfilldatabase, but LCD does NOT work.) What is the diff between
runnin in xterm and running it from autostart?

-- 
Meddelandet har kontrollerats mot virus samt skadligt 
innehåll av MailScanner och förmodas vara säkert.



More information about the mythtv-users mailing list