xfce4-session: halt does not work using sudo
Francois Le Clainche
fleclainche at wanadoo.fr
Wed Jan 28 23:17:22 CET 2004
Le mercredi 28 janvier 2004 à 22:43, Benedikt Meurer a écrit:
> >Reversing this change in shutdown.c:
> >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.
Yes, fixed. Both halt and reboot work using sudo /sbin/halt^wreboot.
Now I'm back attempting to break my uptime record :P
F. Le Clainche - PGP key: http://perso.wanadoo.fr/flc.web/pgp.html
http://www.debian.org/ - free, stable, secure operating system
http://www.xfce.org/ - free, lightweight desktop environment
More information about the Xfce4-dev