FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-28-2009, 06:01 PM
Peter Crawford
 
Default requirements for xfsm-shutdown-helper

Folk,

A year or two back in Etch, xfsm-shutdown-helper
with the appropriate entry in /etc/sudoers, allowed
"Log Out", "Restart" and "Shut Down".

Now in Lenny, this message is on the console after
Log Out.
** Message: xfsm-shutdown-helper.c:215: Hal not available or does not permit to
shutdown/reboot the computer, trying sudo fallback instead.

What should be changed to allow xfsm-shutdown-helper
to work fully? Should there be a file /etc/hal.conf
or /etc/hal/hal.conf? Are udev rules needed?

Thanks, ... p. crawford




__________________________________________________ _______________
The new Windows Live Messenger. You don’t want to miss this.
http://www.microsoft.com/windows/windowslive/messenger.aspx

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-29-2009, 03:05 AM
Dave Witbrodt
 
Default requirements for xfsm-shutdown-helper

Peter Crawford wrote:

Folk,

A year or two back in Etch, xfsm-shutdown-helper
with the appropriate entry in /etc/sudoers, allowed
"Log Out", "Restart" and "Shut Down".

Now in Lenny, this message is on the console after
Log Out.
** Message: xfsm-shutdown-helper.c:215: Hal not available or does not permit to
shutdown/reboot the computer, trying sudo fallback instead.


What should be changed to allow xfsm-shutdown-helper
to work fully? Should there be a file /etc/hal.conf
or /etc/hal/hal.conf? Are udev rules needed?


Have you read '/usr/share/doc/xfce4-session/README.Debian'?

=== QUOTE ===
Managing shutdown
-----------------

There are three ways to enable user to shutdown the computer from Xfce:

- use sudo, and allow user to run /usr/sbin/xfsm-shutdown-helper in
sudoers
- use dbus and hal
- hal and dbus should be installed, up and running
- user should be in powerdev group
- use policykit and a compatible login manager (gdm is known to work)
=== END QUOTE ===

Personally, I switched to the hal/dbus method after having used the
'sudo' method for a while. Both worked fine, but I decided that
adding myself to the "powerdev" group made more sense to me than
needing to grant myself root permissions just to power off. Opinions
will vary, of course -- the rest of the Linux world seems to be much
less suspicious of things like 'su' and 'sudo' than myself.



HTH,
Dave W.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org