LinHES Forums http://forum.linhes.org/ |
|
What invokes mythfrontend and mythbackend during boot up? http://forum.linhes.org/viewtopic.php?f=6&t=14394 |
Page 1 of 1 |
Author: | djohnston [ Wed Feb 28, 2007 4:05 pm ] |
Post subject: | What invokes mythfrontend and mythbackend during boot up? |
On RE50, I've been trying to work out where mythfrontend and mythbackend are invoked during boot up. I've greped all the files below /etc and in a bunch of other places and drawn a blank. I want to stop it being invoked automatically so I can experiment with some drivers (I.E. invoke the module and test the build) before invoking myth. Any pointers? Thanks, David |
Author: | slowtolearn [ Wed Feb 28, 2007 7:04 pm ] |
Post subject: | |
I no longer have an R5E50 to verify this against, but in R5D1 mythfrontend is called from /home/mythtv/.fluxbox/apps with a line like so: Code: [startup] {KnoppMyth-run} KnoppMyth-run resides in /usr/local/bin.There are entries in each of the /etc/rcX.d directories for mythtv-backend - Symbolic links to /etc/init.d/mythtv-backend. Code: update-rc.d -f mythtv-backend remove will remove those, and Code: update-rc.d mythtv-backend defaults will put them back in place.
Again, this is from R5D1, but I'm pretty sure they are in the same places in R5E50. |
Author: | tjc [ Wed Feb 28, 2007 7:16 pm ] |
Post subject: | |
KnoppMyth uses a debian-ized SysV style init. That means that the daemon scripts are under /etc/init.d and that there are ordered symbolic links under the various /etc/rc?.d directories for the various run levels. In keeping with standard SysV init semantics all the scripts in init.d take at least "start" or "stop" at their command line argument. Many also take "restart", "force-reload", "status" and other options. The script for the backend is /etc/init.d/mythtv-backend, to stop the server you can run the following command as root: Code: /etc/init.d/mythtv-backend stop
There are also key short cuts for this available from the frontend. The frontend is actually started up as a desktop application rather than a daemon. The script in question is /usr/local/bin/KnoppMyth-run which does a variety of other setup stuff and is invoked from the /home/mythtv/.fluxbox/apps config file. You can exit the front end just by hitting Escape until it asks you as yes/no question and exiting to the desktop. |
Author: | djohnston [ Wed Feb 28, 2007 9:45 pm ] |
Post subject: | Thankyou |
Thanks, ~/.fluxbox/apps it is. That has solved my problem - David |
Author: | pairajacks [ Thu Mar 01, 2007 11:43 pm ] |
Post subject: | Where is .fluxbox invoked? I'd like to switch KDE - Fluxbox |
I experimented and added the KDE desktop, but now can't switch back. This is now presenting a problem with Mythtv wakeup and shutdown as the desktop is asking for passwords. Where is fluxbox invoked? How do I find where KDE is invoked? |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |