On Mon, 20 Jun 2005 17:53:49 -0700
Mark Knecht wrote:

> On 6/20/05, Nick Rout <[EMAIL PROTECTED]> wrote:
> > I wonder if this is more complex than it needs to be.
> > 
> > How about getting X to run on bootup straight into mythfrontend.
> > 
> > a startup script might contain (eg via /etc/init.d/local)
> > 
> > su - mythtv -c startx
> > 
> > and ~mythtv/.xinitrc contains:
> > 
> > exec mythfrontend
> 
> I *think* this will work but the problem I was worried about, and
> granted xdm/gdm/whatever doesn't solve it, is that what happens when
> the user makes a mistake and exits mythfrontend. (Or mythfrontend
> crashes, etc.) Now I'm back at the command line somewhere (I think)
> but the machine doesn't have a keyboard. 

How are you logging in in the first place then? My aim is no keyboard,
just the remote, but it requires more work. For example my attempt to
use irrecord seems to have produced a lircd.conf which has a lot of
repeated entries, ie the same scan code for two or three buttons.

presently I am not recording tv, just playing downloaded movies/tv
programs etc. I do that from the command line over ssh from another box
in the same room. Messy, needs to be fixed, no one else can do it etc
etc.

>(I've been looking at
> autologin stuff) How does someone non computer literate get MythTV
> running again? Power cycle?

yes thats one way, but i guess there is the possibilty of running
mythfrontend out of inittab, so whenever it dies it respawns. However
then it would probably be starting too early in the boot sequence (or i
suspect so anyway)

also isn't it possible to set up mythtv so that you can't exit - except
with a kill command or the like?

> 
> Maybe there could be some sort of cron job that runs every so often
> and figures out if the frontend was running and then restarts it (or
> powers down safely) but I was hoping to not run cron on these frontend
> boxes and thus almost never spin up the hard drives.
> 
> I also wondered about setting up some sort of monitor on the backend
> machine that checks status on the frontend machines and takes some
> sort of action if mythfrontend isn't running.
> 
> Just a bunch of not so well formed ideas.

I have them all the time.

> 
> > 
> > Personally I am going to use the "power" button on my remote to trigger
> > /sbin/halt for turning off.
> 
> I like that. There's also a shutdown config option within
> mythtvfrontend that might help. I think that will require sudo which
> always messes with my mind when I try to write rules taht don't
> require password.

ahh i must look at the shutdown options in mythtv.

> 
> Thanks for the thoughts.

Its ok, I really must get a decent tuner card and start on the tv
recording.

> 
> - Mark
> > 


-- 
Nick Rout

-- 
[email protected] mailing list

Reply via email to