#apt-get install sudo
#visudo
add the following
your_username ALL=NOPASSWD:/usr/sbin/xfsm-shutdown-helper
enable restart and shutdown from xfce4
#apt-get install sudo
#visudo
add the following
your_username ALL=NOPASSWD:/usr/sbin/xfsm-shutdown-helper
enable restart and shutdown from xfce4