[mythtv-users] Which Window Manager?

Mark Knecht markknecht at gmail.com
Fri Aug 26 02:15:14 UTC 2005


On 8/25/05, Chad <masterclc at gmail.com> wrote:
> {SNIP}
> >   The machine spawns mythfrontend on display 0: from /etc/inittab so
> > if Myth dies unexpectedly it's just automatically restarted. I shut
> > the machines down using sudo. It all works really well for us.
> 
> {/SNIP}
> 
> Care to share your inittab?
> 
> This would be really nice, and I too am running Gentoo.  :)
> 
> Cool

Nothing much to it. The idea ws suggested here. It works nicely:

# TERMINALS
#c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c1:12345:respawn:/bin/su mythtv -c startx
c2:12345:respawn:/sbin/agetty 38400 tty2 linux

Also, I set up Myth's internal shutdown command to use sudo to do a
complete shutdown and I have Myth confirm that I want to exit. If I
say yes, Myth exits and is respawned by the command above. Other wise
I choose to exit and shutdown and the machine can be powered off
gracefully. The sudo command is set up to not ask for a password.

NOTE: For some silly reason mythfrontend keeps its shutdown command in
the mythbackend mysql database. This is completely silly since should
the backend not be online then you cannot shutdown the frontend.
Silly, really silly...

Hope this helps,
Mark


More information about the mythtv-users mailing list