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:
> >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.
Re,
Yes, fixed. Both halt and reboot work using sudo /sbin/halt^wreboot.
Thanks.
Now I'm back attempting to break my uptime record :P
n8
François
--
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
mailing list