Bug 8101

Summary: D-Bus session daemon must be auto-startable by libdbus
Product: dbus Reporter: Thiago Macieira <thiago>
Component: coreAssignee: Thiago Macieira <thiago>
Status: RESOLVED FIXED QA Contact: John (J5) Palmieri <johnp>
Severity: enhancement    
Priority: highest    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch for libdbus-1 to auto-start the daemon
Patch for dbus-launch to allow auto-starting of the daemon

Description Thiago Macieira 2006-09-01 12:22:05 UTC
Many applications require a D-Bus session daemon to be running. While we may 
expect that most recent distributions will include starting of the session 
daemon in the X11 session scripts, we cannot rely on that behaviour. First and 
foremost, there are old distributions. Second, MacOS X and Windows don't have 
such a thing as a session script (Windows has services, MacOS X has launchd).

This is a must-have feature for D-Bus 1.0, since KDE 4.0 will require it.
Comment 1 John (J5) Palmieri 2006-09-01 12:58:41 UTC
I was really hopping to get all the bugs fixed and have an RC by the end of next
week.  This is a feature, and one that can go in post 1.0 in my opinion.  We
talked about this before but no one has done the patches and I can't justify
blocking indefinitely on features.
Comment 2 John (J5) Palmieri 2006-09-01 14:47:20 UTC
Taking off the tracker but if you can get a patch in will evaluate for
inclution.  Initial patch is needed and be approved as the correct approch
before I do an RC release but we can tweek it a bit after.
Comment 3 Havoc Pennington 2006-09-01 15:09:04 UTC
I googled up my mail on how I imagined this working, for reference if anyone 
hacks on it:
http://lists.freedesktop.org/archives/dbus/2006-February/004156.html

Comment 4 Thiago Macieira 2006-09-01 16:11:09 UTC
The way Havoc described it sounds like the approach I'd like to see. I'll try 
to come up with a patch for the root window, like we had discussed.

But, in case I can't, I'll take the DCOP code that does the same, but stores 
the address in a file in the user's home directory (it's per host and per 
display).
Comment 5 Thiago Macieira 2006-09-01 16:11:26 UTC
Reassign to me.
Comment 6 Thiago Macieira 2006-09-15 09:05:31 UTC
Created attachment 6991 [details] [review]
Patch for libdbus-1 to auto-start the daemon
Comment 7 Thiago Macieira 2006-09-15 09:06:00 UTC
Created attachment 6992 [details] [review]
Patch for dbus-launch to allow auto-starting of the daemon
Comment 8 John (J5) Palmieri 2006-10-13 12:32:54 UTC
This has been added to CVS

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.