View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Feb 28, 2007 4:05 pm 
Offline
Joined: Fri Jan 26, 2007 8:31 pm
Posts: 7
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 7:04 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 7:16 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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.


Top
 Profile  
 
 Post subject: Thankyou
PostPosted: Wed Feb 28, 2007 9:45 pm 
Offline
Joined: Fri Jan 26, 2007 8:31 pm
Posts: 7
Thanks, ~/.fluxbox/apps it is.

That has solved my problem

- David


Top
 Profile  
 
PostPosted: Thu Mar 01, 2007 11:43 pm 
Offline
Joined: Tue Oct 24, 2006 8:13 pm
Posts: 40
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?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu