xfce4-session: halt does not work using sudo

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Jan 28 22:43:39 CET 2004


Francois Le Clainche wrote:
> Benny,
> 
> Reversing this change in shutdown.c:
> 
> http://www.lunar-linux.org/cgi-bin/viewcvs.cgi/xfce4/xfce4-session/xfce4-session/shutdown.c.diff?r1=1.1&r2=1.2&cvsroot=Xfce
> 
> solves the problem.
> 
> I did not try, but I guess I could grant /me to use sudo /sbin/poweroff
> and that it would work with current version? Anyway, got my answer.

Thanks for figuring this out. I committed changes to HEAD that make 
xfce4-session fallback to "halt" if "poweroff" didn't work. Please try it out 
and send me some feedback.

> Cheers
> François

best regards,
Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/
os-network:                                 http://www.os-network.de/

OpenPGP Key: http://www.home.unix-ag.org/bmeurer/#gpg




More information about the Xfce4-dev mailing list