[mythtv-users] Fedora Myth(TV)ology & PVR-350 doc additions
Timo Boettcher
spida at gmx.net
Fri Feb 27 08:18:04 EST 2004
Hi Jarod,
* Jarod C. Wilson <jcw at wilsonet.com>, Wednesday, February 11, 2004, 3:08:08 AM:
> MAJOR overhaul of my web page(s) partially complete, new-and-improved look for
> my Fedora guide, finally includes Fedora-centric PVR-350 stuff. Give it a
> peep, let me know what you think...
I have got another comment about your cool guide.
In http://wilsonet.com/mythtv/fcmyth.php#auto you describe how to
automatically start myth on boot, but IMO your solution has two
drawbacks:
- it assumes that the user has a wm installed, kde in your place
- it gives any people that know linux access to your box when they
are at the machine.
I know you presented that as one out of many possibilities, but
perhaps you could add another one, too.
======= Start Paste of /etc/inittab =======
id:5:initdefault:
l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc nomyth
l5:5:wait:/sbin/rc myth
l6:6:wait:/sbin/rc reboot
# TERMINALS
c1:12345:respawn:/sbin/agetty -I '\033[2J\033[f' 38400 tty1 linux
c2:1234:respawn:/sbin/agetty -I '\033[2J\033[f' 38400 tty2 linux
c9:5:respawn:/bin/su myth -l -c /usr/X11R6/bin/xinit
======== End Paste of /etc/inittab ========
That starts a raw X for the user myth on boot.
=== Start Paste of /home/myth/.xinitrc ===
#!/bin/bash
/usr/bin/mythfrontend >> /home/myth/mythfrontend.log 2>> /home/myth/mythfrontend.error.log
==== End Paste of /home/myth/.xinitrc ====
That starts myth on start of X. If Myth is terminated, X terminates,
and both are automatically respawned by init.
Timo
More information about the mythtv-users
mailing list