[mythtv-users] Exitting Frontends

myth at pbj-design.dk myth at pbj-design.dk
Tue Jan 8 07:28:53 UTC 2008

Hey All.
Thanks for the answers.

The solution was to setup /etc/sudoers ( which is not standard in
ArchLinux) and add the line:
myth ALL = NOPASSWD: /usr/bin/mythshutdown

And afterwards in the konfiguration for MythTV - change the standard Halt
kommand to
sudo mythshutdown.
That does the trick for me.
So thanks to all for suplying ideas etc.

Have anybody heard of an way to make the whole frontend shutdown in case
of setting the sleeptimer for LiveTV!
Caurse I don't want my PC to run all nigth after I'm gone to sleep. The TV
stops but the Machine are still running.

Thanks again.


> Nick Morrott wrote:
>> On 07/01/2008, myth at pbj-design.dk <myth at pbj-design.dk> wrote:
>>> Hey Group.
>>> I build my Myth upon ArchLinux. a Under the stairs solutiuon.
>>> When I want to exit the frontend in the livingroom -  I press the ESC
>>> and
>>> got the question:
>>> Are you sure you waqnt to quit:
>>> No
>>> Yes
>>> yes and shutdown.
>>> When I press yes and shutdown, The frontend closes but the PC stays
>>> on??
>>> Is there a script here that I can add some extra lines to - so that I'm
>>> sure it'll shutdown?.
>>> I've looked at /usr/bin/mythshutdown but that's a binaery file - so
>>> that's
>>> not a chance.
>>> Since I have all Tunercards in the Backend - I don't have a need for
>>> WakeOnLan so that is the question if that have something to do with
>>> it??
>> Almost certainly a permissions issue - you probably want to add
>> permission for the mythfrontend user to use the shutdown/poweroff
>> commands in your /etc/sudoers file.
>> If you run mythfrontend as root, does the machine shutdown properly?
> If so, try adding a line like this to your /etc/sudoers file to allow any
> user on that machine to power it off without entering their password (do
> "sudo visudo" and add this line):
> ALL ALL = NOPASSWD: /sbin/poweroff
> --
> Peter Schachte              I worry that 10 or 15 years from now, [my
> child]
> schachte at cs.mu.OZ.AU        will come to me and say 'Daddy, where were you
> www.cs.mu.oz.au/~schachte/  when they took freedom of the press away from
> Phone: +61 3 8344 1338      the Internet?' -- Mike Godwin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list