Re: [mythtv-users] Powering off computer as non-root

2005-12-27 Thread Piers Kittel
Well, I don't have KDE or Gnome installed :) Only Windowmaker and FVWM but they aren't used. My .xinitrc just has a few "xset" lines in and the path to the mythfrontend binary itself and nothing else. When I used FVWM as window manager it windowed the video playback which annoyed me - removi

Re: [mythtv-users] Powering off computer as non-root

2005-12-27 Thread Jonathan Tidmore
If you are using X, then you are still using a display manager whether or not you have automatic login.  If you want to be able to shutdown from mythfrontend, then you need to match you display manager with your desktop manager.  i.e. kdm if using kde or gdm if using gnome.KDE and Gnome tie into t

Re: [mythtv-users] Powering off computer as non-root

2005-12-27 Thread Piers Kittel
No display manager and not using KDE. When the computer boots up, it loads mythfrontend on its own. No log in manager, nothing. It's intended to be used only for a frontend in my bedroom, so no big deal if someone hacked in and powered the frontend off - very unlikely anyway. Hmm. But the

Re: [mythtv-users] Powering off computer as non-root

2005-12-27 Thread Jonathan Tidmore
Are you using kde?  Which Display Manager are you using?  GDM, KDM, XDM?chmod +s /sbin/halt is not a good idea.On 12/27/05, R. Geoffrey Newbury <[EMAIL PROTECTED]> wrote:On Tue, 27 Dec 2005 01:58:15 +, Piers Kittel wrote: >Hello all,>>Mythfrontend is set to turn off my computer using the comma

Re: [mythtv-users] Powering off computer as non-root

2005-12-27 Thread R. Geoffrey Newbury
On Tue, 27 Dec 2005 01:58:15 +, Piers Kittel wrote: >Hello all, > >Mythfrontend is set to turn off my computer using the command "halt". >Mythfrontend is run as an non-root user - in this case user "piers" - so >when I try to exit MythTV, and I select "Yes, exit and shutdown" - it >jsut say

Re: [mythtv-users] Powering off computer as non-root

2005-12-26 Thread Mudit Wahal
You can also put reboot/halt in the sudo file for the user (visudo) On 12/26/05, Nick <[EMAIL PROTECTED]> wrote: > > it's chmod not chown > > > I guess that's what happens when you try to multitask while watching TV. > TV wins! > ___ > mythtv-users maili

Re: [mythtv-users] Powering off computer as non-root

2005-12-26 Thread Nick
> it's chmod not chown I guess that's what happens when you try to multitask while watching TV. TV wins! ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Re: [mythtv-users] Powering off computer as non-root

2005-12-26 Thread Piers Kittel
it's chmod not chown - but that fixed the problem. Brilliant - thanks! :) Not too worried about any users being able to power the computer off - nothing essential on that, just the frontend, and there's only 2 users - "root" and "piers" and nothing else :) Thanks very much for your help agai

Re: [mythtv-users] Powering off computer as non-root

2005-12-26 Thread Nick
some distros have a prog called consolehelper or something like that that may help. if you don't mind all users having the ability to reboot/halt the box you can just do chown +s /sbin/halt or whatever you are calling (/sbin/reboot is generally a symlink to halt). then of course /sbin isn't usual

[mythtv-users] Powering off computer as non-root

2005-12-26 Thread Piers Kittel
Hello all, Mythfrontend is set to turn off my computer using the command "halt". Mythfrontend is run as an non-root user - in this case user "piers" - so when I try to exit MythTV, and I select "Yes, exit and shutdown" - it jsut says "Command not found". Obviously this command isn't available