Hello,
I have a problem where mythlcdserver is trying to connect to LCDd before it has started and so mythlcdserver gets connection refused. Looking at the logs it tries to connect about 12 seconds before LCDd is started.
To get over this I have delayed the start of mythfrontend by 15 seconds using a shell script, but this seems an awful kludge.
I'm wondering if it would be possible to delay mythfrontend starting until LCDd is up, a bit like needing mythbackend to check if USB tuners are ready before starting by using a .service file?
Thanks for any suggestions/help. I've also posted this to the forum.
steve@mythbuntu:~$ uname -a
Linux mythbuntu 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_
64 x86_64 GNU/Linux
steve@mythbuntu:~$ mythfrontend --version
xset: unable to open display ""
Please attach all output as a file in bug reports.
MythTV Version : v35.0+fixes.202509181738.931474b3a0~ubuntu24.04.1
MythTV Branch : fixes/35
Network Protocol : 91
Library API : 35.20220913-1
QT Version : 5.15.13
Options compiled in:
linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_pe
rl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_sati
p using_vbox using_ceton using_joystick_menu using_libcrypto using_gnutls using_libdns_sd using_libxml2 using_
lirc using_mheg using_opengl using_egl using_qtscript using_qtdbus using_taglib using_v4l2 using_v4l2prime usi
ng_x11 using_system_libbluray using_system_libudfread using_systemd_notify using_systemd_journal using_drm usi
ng_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl usi
ng_egl using_drm using_vaapi using_nvdec using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml
2 using_libmp3lame
--
Regards, Steve Goodey
Colchester, England
mailto://steve@goodey.org
Hello to Jason Isaacs
Share and Enjoy
mythlcdserver problem.
Moderator: Forum Moderators
- Steve Goodey
- Moderator
- Posts: 250
- Joined: Fri Feb 07, 2014 6:30 pm
- Location: Colchester, England
mythlcdserver problem.
Don't forget the Wiki.
-
- Senior
- Posts: 563
- Joined: Thu Feb 23, 2023 8:55 pm
- Location: Safe outside my gilded cage
Re: mythlcdserver problem.
I'm not sure about what starts this lcdd and mythlcdserver, but yeah it should be easy enough to check if lcdd is running.
From what you've described, it sort of sounds like mythlcdserver is started by mythfrontend, but needs lcdd started first?
First question that comes to my mind is how you start mythfrontend? A user service, or autologin (from the sounds of it, you're not doing it manually)?
From what you've described, it sort of sounds like mythlcdserver is started by mythfrontend, but needs lcdd started first?
First question that comes to my mind is how you start mythfrontend? A user service, or autologin (from the sounds of it, you're not doing it manually)?
- Steve Goodey
- Moderator
- Posts: 250
- Joined: Fri Feb 07, 2014 6:30 pm
- Location: Colchester, England
Re: mythlcdserver problem.
The box has the user autologin and I used Mythbuntu Control Panel to automatically start the frontend.First question that comes to my mind is how you start mythfrontend? A user service, or autologin (from the sounds of it, you're not doing it manually)?
Looking in Startup Applications, Startup Application Preferences, there's an entry MythTV Frontend with a command of mythfrontend --service.
So I suppose I need to find what starts LCDd.
Don't forget the Wiki.