Add an FAQ on starting GNOME with D-BUS support.
This commit is contained in:
parent
b47d4a33cf
commit
4dd6b24e30
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=25387
1 changed files with 48 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||
<!ENTITY base CDATA "../..">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.93 2005/07/15 06:32:02 marcus Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/faq2.sgml,v 1.94 2005/08/06 22:21:04 marcus Exp $">
|
||||
<!ENTITY title "FreeBSD GNOME Project: GNOME &gnomever; FAQ">
|
||||
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
||||
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
|
||||
|
@ -54,6 +54,8 @@
|
|||
automatic logins?</a>
|
||||
<li> <a href="#q24">How do I upgrade from gnome2-lite to
|
||||
the full GNOME &gnomever; desktop?</a>
|
||||
<li> <a href="#q25">How do I use D-BUS from within the
|
||||
GNOME Desktop?</a>
|
||||
</ol>
|
||||
<h2>Full Text </h2>
|
||||
|
||||
|
@ -998,6 +1000,51 @@ AutomaticLogin=marcus
|
|||
components individually using either their ports or
|
||||
packages.</p>
|
||||
</li>
|
||||
<!-- Q25 -->
|
||||
<li style="padding-bottom: 0.5em"><a name="q25"></a>
|
||||
<p><b>How do I use D-BUS from within the GNOME
|
||||
Desktop?</b></p>
|
||||
<!-- A25 -->
|
||||
<p>If you ever start up an application and see the
|
||||
following error:</p>
|
||||
|
||||
<pre>
|
||||
WARNING **: Service registration failed.
|
||||
|
||||
WARNING **: Unable to determine the address of the message bus
|
||||
</pre>
|
||||
|
||||
<p>It means the application wants to use <a
|
||||
href="http://www.freedesktop.org/wiki/Software_2fdbus">D-BUS</a>.
|
||||
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.</p>
|
||||
|
||||
<p>In order for applications to communicate with D-BUS,
|
||||
the system message daemon must first be started. To do
|
||||
this, add the following to <tt>/etc/rc.conf</tt>:</p>
|
||||
|
||||
<pre>
|
||||
dbus_enable="YES"
|
||||
</pre>
|
||||
|
||||
<p>Next, the GNOME Desktop must be started with D-BUS
|
||||
support. To do this, launch <tt>gnome-session</tt> from
|
||||
within <tt>dbus-launch</tt>. For example, if you start
|
||||
GNOME using <tt>~/.xinitrc</tt> or <tt>~/.xsession</tt>,
|
||||
change the line that execs <tt>gnome-session</tt> to the
|
||||
following:</p>
|
||||
|
||||
<pre>
|
||||
exec dbus-launch --exit-with-session gnome-session
|
||||
</pre>
|
||||
|
||||
<p>If you use GDM to start GNOME, <a href="#q16">create a
|
||||
new GDM session</a> that calls the command above to
|
||||
start GNOME.</p>
|
||||
</li>
|
||||
</ol>
|
||||
&footer;
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue