Bug 176656 - gnome-power-manager should require dbus-x11
Summary: gnome-power-manager should require dbus-x11
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-power-manager   
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: John (J5) Palmieri
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-12-28 18:58 UTC by Nalin Dahyabhai
Modified: 2013-03-13 04:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-16 05:19:10 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Nalin Dahyabhai 2005-12-28 18:58:51 UTC
Description of problem:
After using yum to update from FC4 to Raw Hide, it's possible to install
gnome-power-manager without having dbus-x11 installed.  The gnome-power-manager
notification icon can't run, though, because there's no session bus for it to
use.  There's no session bus because xinitrc couldn't find /usr/bin/dbus-launch
to start one.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install FC4
2. Use "yum update" to install all updates.
3. Reconfigure yum to hit the development trees.
4. Use "yum update" to update to Raw Hide 20051228.
5. Install gnome-power-manager.
6. Reboot (among other things, this restarts the system message bus).
7. Log in.
8. Attempt to run "gnome-power-manager".
Actual results:
  ** (gnome-power-manager:3293): WARNING **: Failed to open connection to dbus
  session bus: Unable to determine the address of the message bus

  This program cannot start until you start the dbussession daemon
  This is usually started in X or gnome startup (depending on distro)
  You can launch the session dbus-daemon manually withthis [sic] command:
  eval `dbus-launch --auto-syntax`

  If this works, add "dbus-lauch --auto-syntax" to ~/.xinitrc

Expected results:
No output, friendly icon shows up in my notification area.

Additional info:
I'm thinking that this is the right way to do it because the other app on my
desktop which is connected to the session bus (eggcups) also explicitly lists
dbus-x11 as a package requirement.

Comment 1 Richard Hughes 2005-12-29 11:11:22 UTC
I agree with adding dbus-x11 as a requirement. I've done this in the upstream
spec file also. Thanks, Richard.

Note You need to log in before you can comment on or make changes to this bug.