Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 525696

Summary: xfce-extra/xfce4-power-manager should depend on app-admin/sudo
Product: Gentoo Linux Reporter: Oleksiy <ochern>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Oleksiy 2014-10-17 21:48:57 UTC
Created attachment 386836 [details]
emerge --info

Hi

I installed xfce-base/xfce4-meta ok. It starts and works Ok. Then installed xfce-extra/xfce4-power-manager. Then started XFCE using startxfce4. It starts OK. 

PROBLEM:
I tried to run XFCE power manager from XFCE Settings. It complained that "XFCE power manager deaemon is not running. Do You want to start it?" Click Yes. Mouse cursor indicates infinite busy state and that's all.

Open terminal. Started 'xfce4-power-manager --no-diamon'. Gives some DBus errors about something with sudo. Figured out that 'sude' is not installed. Installed app-admin/sudo. Started 'xfce4-power-manager --no-diamon'. Got different DBus error about unable to connect to xfce_pm_helper. Restarted XFCE. Started XFCE Settings -> Power manager. WORKS :)!

Problem sourse: At startup XFCE starts xfce4-pm-helper daemon. This daemon can work only if 'sudo' is installed.

Please add app-admin/sudo as a dependence for the xfce4-meta. I think there may be other XFCE4 daemons that require 'sudo'.

Regards.
Comment 1 Jason Zaman gentoo-dev 2015-07-04 13:23:35 UTC
>=xfce-extra/xfce4-power-manager-1.5.0 uses pkexec now not sudo anymore, so this is obsolete now.