Summary: | Hard to launch user daemon except from x11 console | ||
---|---|---|---|
Product: | dbus | Reporter: | Daniel Macks <dmacks> |
Component: | core | Assignee: | Havoc Pennington <hp> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | PowerPC | ||
OS: | Mac OS X (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Daniel Macks
2006-01-26 09:11:52 UTC
D-Bus only has concepts of system and session busses. This has been descussed on the mailing list many times. Closing as it is not a bug. Applications which require a session bus currently lack the ability to start a session bus in a manner which becomes available to other applications during the session. Thus, non-gnome users, or other users who do not normally keep dbus running, when launch applicaitons which expect a dbus session bus encounter failures. Some programs end up with shellscripts which test for and launch a bus on startup, but even this is insufficient to make the session dbus available for other subsequent dbus-requiring programs. Thus, the current design of dbus is problematic and works poorly for a large class of users, that class which has no need to run dbus on X startup, but who make use of some amount of dbus-using programs. This is not a bug, it is a design flaw. Thiago has prepared a patch that will autolaunch the bus if it's not running and store the bus address on the X display and in your home directory. However, this is a less reliable mode than the env variable and potentially causes problems, so simply adding the one line to your .Xclients (or whatever) to start the bus is recommended. The bus resource usage is very small (especially if you're already using the system bus so already have the executable in ram). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.