[mythtv-users] Preventing MythTV from Exiting
Stuart Fox
stuart at dontuse.ms
Tue Jun 13 13:00:48 UTC 2006
> Hi,
>
> I'm building a dedicated PC for MythTV. Everything is working fine and
> MythTV is really a great piece of software.
>
> What I can't figure out is how to prevent MythTV from exiting. Once a
> user exits, the only way to get back in is to dig up the keyboard and
> restart the front end. I was able to get it to restart automatically but
> I would rather prevent it from exiting in the first place. If this is in
> the documentation, I haven't found it yet.
>
> Anyone has ideas on how to get this done?
> Thank you in advance.
> Pierre
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
There are quite a few ways of doing it but I do it this way.
put
/usr/bin/blackbox &
/usr/X11/bin/xset -s noblank &
/usr/local/bin/mythfrontend
in ~/.xinitrc
then create a file in /usr/bin/startmyth
#!/bin/bash
while :
do
startx
done
Then put
nohup /usr/bin/startmyth &
in /etc/init.d/rc.local
Everytime mythfrontend exits, it restarts again.
Not much good if its a shared workstation tho :)
Stuart
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the safety
labels off of everything and let the problem solve itself?
More information about the mythtv-users
mailing list