From 4dd6b24e30aadf276705ab344799bef5ff3514e8 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 17 Aug 2005 05:08:09 +0000 Subject: [PATCH] Add an FAQ on starting GNOME with D-BUS support. --- en/gnome/docs/faq2.sgml | 49 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/en/gnome/docs/faq2.sgml b/en/gnome/docs/faq2.sgml index c7d745028d..5feadbc250 100644 --- a/en/gnome/docs/faq2.sgml +++ b/en/gnome/docs/faq2.sgml @@ -1,6 +1,6 @@ - + %gnomeincludes; %includes; @@ -54,6 +54,8 @@ automatic logins?
  • How do I upgrade from gnome2-lite to the full GNOME &gnomever; desktop? +
  • How do I use D-BUS from within the + GNOME Desktop?

    Full Text

    @@ -998,6 +1000,51 @@ AutomaticLogin=marcus components individually using either their ports or packages.

  • + +
  • +

    How do I use D-BUS from within the GNOME + Desktop?

    + +

    If you ever start up an application and see the + following error:

    + +
    +WARNING **: Service registration failed.
    +
    +WARNING **: Unable to determine the address of the message bus
    +	    
    + +

    It means the application wants to use D-BUS. + D-BUS is a message bus system which allows for + applications to communicate with one another. Many + applications such as Evince, Epiphany, Evolution, + and Liferea are starting to make use of D-BUS's + services.

    + +

    In order for applications to communicate with D-BUS, + the system message daemon must first be started. To do + this, add the following to /etc/rc.conf:

    + +
    +dbus_enable="YES"
    +	    
    + +

    Next, the GNOME Desktop must be started with D-BUS + support. To do this, launch gnome-session from + within dbus-launch. For example, if you start + GNOME using ~/.xinitrc or ~/.xsession, + change the line that execs gnome-session to the + following:

    + +
    +exec dbus-launch --exit-with-session gnome-session
    +	    
    + +

    If you use GDM to start GNOME, create a + new GDM session that calls the command above to + start GNOME.

    +
  • &footer;