On Mon, 2005-09-26 at 16:12 -0500, Randy McMurchy wrote: > 5. D-BUS operates as such: A system daemon is started at boot-time. > I've got the bootscript for this. Then, the documentation says that > users should start their session daemon through login scripts. But > I'm not sure this is necessary as it may be that GNOME (or whatever > application) will do this. So, I'm asking if the book should > provide instructions to start the session daemon in user login > scripts.
AFAICT applications can't start the session bus on their own as all applications need the dbus environment variables, so the book should provide such instructions. I've always created a script with the following content as /etc/X11/xinit/xinitrc.d/dbus eval $(/usr/bin/dbus-launch --sh-syntax --exit-with-session) This seems to work fine but I only use GDM and GNOME, so don't know whether that works with other display managers. > > 6. The bootscript is started in run-levels 2, 3, 4 and 5. Because > D-BUS is mainly designed for same-machine event messaging, I feel > that it is not dependent on networking. Does this sound right? Yes, it doesn't depend on networking, only on unix sockets for IPC. Regards, Jürg -- Jürg Billeter <[EMAIL PROTECTED]> -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
