Re: starting dbus
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: "J. Gardner Biggs" <gardnerbiggs houston rr com>
- Cc: garnome-list gnome org
- Subject: Re: starting dbus
- Date: Tue, 21 Mar 2006 20:40:28 -0500
Short answer: yes
When running GARNOME you want to use GARNOME's message bus. The system
message bus needs to be started before the haldaemon or avahi-daemon is
started. These can be started by root before the GARNOME desktop is
brought up. From my experience, these daemons can be started by root
*before* the GARNOME environment is established. The only caveat is you
must be careful to use full path names.
With a minor amount of scripting you can craft startup files that are
modeled after the startup files in /etc/init.d used to start system
Note that is not really necessary to stop the distro's message bus
daemons and hal daemon as they listen on different sockets.
On Tue, 2006-03-21 at 18:10 -0600, J. Gardner Biggs wrote:
> This is the script that starts garnome for me:
> export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT
> XDG_DATA_DIRS XDG_CONFIG_DIRS
> dbus-launch --sh-syntax --exit-with-session $GARNOME/bin/gnome-session
> Does it matter that the garnome environment variables are already set
> before dbus is launched?
> Just wondering if I am doing it correctly on an unbuntu 5.10 setup. Do
> I need to add the dbus-daemon --system command somewhere else? I am
> concerned that an older version of the daemon is running before the one
> I built/installed to /opt has a change to start up.
> > ================================================================================
joseph_sacco [at] comcast [dot] net
] [Thread Prev