[Pkg-xfce-devel] Bug#431886: xfce4-session: please allow dbus support for shutdown/reboot with hal

Pascal Dormeau pdormeau at free.fr
Thu Jul 5 18:11:58 UTC 2007


Package: xfce4-session
Version: 4.4.4-1
Severity: wishlist

The README file states that "if you have HAL installed on your system, 
and your account is allowed to shutdown/reboot the computer using HAL, 
you don't need to setup sudo at all".

This works only if:

- the user belongs to the powerdev group,
- xfce4-session is built against libdbus-1-dev which is not the case 
currently (xfce4-session-4.4.1/xfce4-session/xfsm-shutdown-helper.c uses 
dbus functions).

Could you please build xfce4-session against libdbus-1-dev ?

I rebuilt it on my box with dbus support and I can now shutdown/reboot 
without sudo at all.

If libdbus-1-dev is installed, xfce4-session is build with dbus support 
by default (according to configure file --enable-dbus is the default, 
--with-shutdown-style=hal flag in the current rules file does not seem 
to be considered). The only drawback is a new dependency (on 
libdbus-1-3) and maybe dbus as 'recommends' (to have the dbus daemon 
running).

This could also help a little with #379192.

Best regards.

Pascal D.





More information about the Pkg-xfce-devel mailing list