You are not logged in.
I use arch 64 bit, xfce 4.4.1 and kdm. After update today I can no longer shutdown from xfce - I can only log out to kdm, and then shutdown.
I am in group 'power' and I have /opt/xfce4/libexec/xfsm-shutdown-helper in sudoers, but that file (xfsm-shutdown-helper) seem to no longer exist in that place or anywhere else in my hdd. What should I do?
Last edited by senjin (2007-04-13 05:05:55)
Offline
you can create shutdown group and allow all its members to shutdown (in /etc/sudoers):
%shutdown ALL=(root) NOPASSWD: /opt/xfce4/libexec/xfsm-shutdown-helper
# groupadd shutdown
# gpasswd -a user shutdown
in here "user" is your username
In a world without walls,who need windows?
Offline
Xfce was mooved from opt
visudo
and than
username ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper
Offline
Xfce was mooved from opt
visudo
and than
username ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helper
It looks much better now. THANKS!
Offline
shutdown via hal is preferred in xfce. if that does not work, sudo is tried, but it is only a fallback.
to enable shutdown via hal, just add your user to the power group and make sure hal is running. easy as that.
Offline
Xfce was mooved from opt
is there any special reason why it's no longer under /opt ?
Offline
read about it on our mailing lists.
Offline
it was moved from /opt but in may /etc/sudoers file i have this line:
titus ALL=(root) NOPASSWD: /opt/xfce4/libexec/xfsm-shutdown-helper
and i can easily shutdown the computer.
In a world without walls,who need windows?
Offline
shutdown via hal is preferred in xfce. if that does not work, sudo is tried, but it is only a fallback.
to enable shutdown via hal, just add your user to the power group and make sure hal is running. easy as that.
How should I start hal? Should I add it to deamons on /etc/rc.conf?
Offline
qlus wrote:Xfce was mooved from opt
visudo
and than
username ALL=(root) NOPASSWD: /usr/libexec/xfsm-shutdown-helperIt looks much better now. THANKS!
# locate xfsm-shutdown-helper
returns
#/usr/lib/xfce4/xfsm-shutdown-helper
so it has to be (username ALL=(root) NOPASSWD: /usr/lib/xfsm-shutdown-helper )
Offline
baze wrote:shutdown via hal is preferred in xfce. if that does not work, sudo is tried, but it is only a fallback.
to enable shutdown via hal, just add your user to the power group and make sure hal is running. easy as that.How should I start hal? Should I add it to deamons on /etc/rc.conf?
yes
Offline
senjin wrote:baze wrote:shutdown via hal is preferred in xfce. if that does not work, sudo is tried, but it is only a fallback.
to enable shutdown via hal, just add your user to the power group and make sure hal is running. easy as that.How should I start hal? Should I add it to deamons on /etc/rc.conf?
yes
It works. Thanks!
Offline
shutdown via hal is preferred in xfce. if that does not work, sudo is tried, but it is only a fallback.
to enable shutdown via hal, just add your user to the power group and make sure hal is running. easy as that.
could you explain how to add a person to the power group?
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
# gpasswd -a user group
Offline
I have the same problem but I don't have sudo installed. It seems silly to me, to create such a file.
Would it fix the problem?
Offline