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
Longer answer:
-------------
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
processes.
Note that is not really necessary to stop the distro's message bus
daemons and hal daemon as they listen on different sockets.
-Joseph
====================================================================
On Tue, 2006-03-21 at 18:10 -0600, J. Gardner Biggs wrote:
>
> This is the script that starts garnome for me:
>
> #!/bin/sh
>
> GARNOME=/opt/gnome-2.14.0
> PATH=$GARNOME/bin:$GARNOME/sbin:$PATH
> LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
> PYTHONPATH=$GARNOME/lib/python2.4/site-packages
> PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
> XDG_DATA_DIRS=$GARNOME/share:/usr/share
> XDG_CONFIG_DIRS=$GARNOME/etc/xdg:/etc/xdg
> GDK_USE_XFT=1
>
> 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.
>
> TIA
> > ================================================================================
--
joseph_sacco [at] comcast [dot] net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]