On 6/20/05, Nick Rout <[EMAIL PROTECTED]> wrote:

> > 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.

Currently with a keyboard if I do it from the machine itself, but I've
also done this from my backend box:

ssh -l mythtv
export DISPLAY=:0
startx 

and then .xinitrc with something like you suggested.

mythfrontend &
exit 0

which gets it going also, as long as X isn't running.

> 
> 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.

Yep - sounds like my outline above.

> 
> >(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)

But I think you can run the autologin out of the inittab file. I've
seen examples of that but don't understand how to do it yet. If
autologin ran for user mythtv, then .login or some other file in user
mythtv's account started mythfrontend using what we've talked about
above, it seems to me that it might work.

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

Possibly, but I want some method for a safe shutdown.

> 
> >
> > 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.
> 

It's fun. It has completely changed the way we watch everything on TV
except the news. That I still prefer to watch live. Everything else is
going on to disk and I watch when I want. I ordered a second tuner
today (PVR-150 from Amazon) so that we can record more. I want to look
at building a slave backend vs. putting it in the master backend.

Cheers,
Mark

-- 
[email protected] mailing list

Reply via email to