source: general/sysutils/dbus.xml@ aa0b625

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since aa0b625 was aa0b625, checked in by Douglas R. Reno <renodr@…>, 20 months ago

Tag Xorg and dependencies

  • Property mode set to 100644
File size: 24.8 KB
RevLine 
[e8e3312d]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[e8e3312d]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[996f3953]7 <!ENTITY dbus-download-http "https://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.xz">
[30d0aef]8 <!ENTITY dbus-download-ftp " ">
[996f3953]9 <!ENTITY dbus-md5sum "ddd5570aff05191dbee8e42d751f1b7d">
10 <!ENTITY dbus-size "1.3 MB">
[6742509c]11 <!ENTITY dbus-buildsize "21 MB (add 18 MB for the tests)">
[9e2a8bab]12 <!ENTITY dbus-time "0.3 SBU (add 8.0 SBU for the tests)">
[819a4c7]13 <!-- The former value was 0.8 SBU, which was far more sensible. -->
[e8e3312d]14]>
15
[fdaae04]16<sect1 id="dbus" xreflabel="dbus-&dbus-version;">
[e8e3312d]17 <?dbhtml filename="dbus.html"?>
18
19 <sect1info>
20 <date>$Date$</date>
21 </sect1info>
22
[53375fc]23 <title>dbus-&dbus-version;</title>
[e8e3312d]24
[54666831]25 <indexterm zone="dbus">
26 <primary sortas="a-D-Bus">D-Bus</primary>
[e8e3312d]27 </indexterm>
28
29 <sect2 role="package">
[54666831]30 <title>Introduction to D-Bus</title>
[e8e3312d]31
[5c9e998]32 <para revision="sysv">
[108beaf]33 <application>D-Bus</application> is a message bus system, a simple way
34 for applications to talk to one another.
35 <application>D-Bus</application> supplies both a system daemon (for
36 events such as <quote>new hardware device added</quote> or <quote>printer
37 queue changed</quote>) and a per-user-login-session daemon (for general
38 IPC needs among user applications). Also, the message bus is built on top
39 of a general one-to-one message passing framework, which can be used by
40 any two applications to communicate directly (without going through the
41 message bus daemon).
[0b83a69]42 </para>
[e8e3312d]43
[5c9e998]44 <para revision="systemd">
45 Even though <application>D-Bus</application> was built in LFS, there are
46 some features provided by the package that other BLFS packages need, but
47 their dependencies didn't fit into LFS.
48 </para>
49
[aa0b625]50 &lfs112_checked;
[482477c]51
[e8e3312d]52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
[0b83a69]55 <para>
56 Download (HTTP): <ulink url="&dbus-download-http;"/>
57 </para>
[e8e3312d]58 </listitem>
59 <listitem>
[0b83a69]60 <para>
61 Download (FTP): <ulink url="&dbus-download-ftp;"/>
62 </para>
[e8e3312d]63 </listitem>
64 <listitem>
[0b83a69]65 <para>
66 Download MD5 sum: &dbus-md5sum;
67 </para>
[e8e3312d]68 </listitem>
69 <listitem>
[0b83a69]70 <para>
71 Download size: &dbus-size;
72 </para>
[e8e3312d]73 </listitem>
74 <listitem>
[0b83a69]75 <para>
76 Estimated disk space required: &dbus-buildsize;
77 </para>
[e8e3312d]78 </listitem>
79 <listitem>
[0b83a69]80 <para>
81 Estimated build time: &dbus-time;
82 </para>
[e8e3312d]83 </listitem>
84 </itemizedlist>
85
[02e742b]86 <bridgehead renderas="sect3">D-Bus Dependencies</bridgehead>
[e8e3312d]87
[f29eb8a]88 <bridgehead renderas="sect4" revision="systemd">Required</bridgehead>
89 <para role="required" revision="systemd">
90 <xref linkend="systemd"/>
91 </para>
92
[51dfb3e]93
[54666831]94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
[8558044]96 <xref linkend="xorg7-lib"/> (for <command>dbus-launch</command> program)
[bc3bb455]97 <phrase revision="sysv">and <xref linkend="elogind"/> (These are
[8558044]98 circular dependencies. First build without them, and then again after
[bc3bb455]99 both packages are installed.)</phrase>
[0b83a69]100 </para>
[adfdc8b]101
[e8e3312d]102 <bridgehead renderas="sect4">Optional</bridgehead>
[b6a2a0e]103 <para role="optional">
[f1d25d2]104 For the tests:
[cafc6c84]105 <xref linkend="dbus-glib"/>,
[c358685]106 <xref linkend="dbus-python"/>,
[1665413]107 <xref linkend="pygobject3"/>,
[48b0ed4]108 and <xref linkend="valgrind"/>;
[c358685]109
110 for documentation:
111 <xref linkend="doxygen"/>,
112 <xref linkend="xmlto"/>,
113 <ulink url="https://pypi.python.org/pypi/mallard-ducktype">Ducktype</ulink>,
114 and
[01701da9]115 <ulink url="&gnome-download-http;/yelp-tools/">Yelp Tools</ulink>
[0b83a69]116 </para>
[c45cb57]117
[1039de3]118 <para condition="html" role="usernotes">User Notes:
[0b83a69]119 <ulink url="&blfs-wiki;/dbus"/>
120 </para>
[e8e3312d]121 </sect2>
122
123 <sect2 role="installation">
[02e742b]124 <title>Installation of D-Bus</title>
[2543b8af]125 <!--
[670d3f8]126 <para revision="sysv">
[ef52ec2]127 If they do not already exist,
128 as the <systemitem class="username">root</systemitem> user, create a
[54666831]129 system user and group to handle the system message bus activity:
130 </para>
131
[670d3f8]132<screen role="root" revision="sysv"><userinput>groupadd -g 18 messagebus &amp;&amp;
[54666831]133useradd -c "D-Bus Message Daemon User" -d /var/run/dbus \
134 -u 18 -g messagebus -s /bin/false messagebus</userinput></screen>
[2543b8af]135 -->
[54666831]136
137 <para>
138 Install <application>D-Bus</application> by running the following
[108beaf]139 commands (you may wish to review the output from <command>./configure
140 --help</command> first and add any desired parameters to the
141 <command>configure</command> command shown below):
[0b83a69]142 </para>
[e8e3312d]143
[9eb7ee7]144<screen revision="sysv"><userinput>./configure --prefix=/usr \
[f29eb8a]145 --sysconfdir=/etc \
146 --localstatedir=/var \
[86b410e3]147 --runstatedir=/run \
[51dfb3e]148 --enable-user-session \
[f29eb8a]149 --disable-doxygen-docs \
150 --disable-xml-docs \
151 --disable-static \
[51dfb3e]152 --with-systemduserunitdir=no \
153 --with-systemdsystemunitdir=no \
[0075912]154 --docdir=/usr/share/doc/dbus-&dbus-version; \
[f29eb8a]155 --with-system-socket=/run/dbus/system_bus_socket &amp;&amp;
[e8e3312d]156make</userinput></screen>
157
[f29eb8a]158<screen revision="systemd"><userinput>./configure --prefix=/usr \
159 --sysconfdir=/etc \
160 --localstatedir=/var \
[86b410e3]161 --runstatedir=/run \
[f29eb8a]162 --enable-user-session \
163 --disable-doxygen-docs \
164 --disable-xml-docs \
165 --disable-static \
[0075912]166 --docdir=/usr/share/doc/dbus-&dbus-version; \
[f29eb8a]167 --with-system-socket=/run/dbus/system_bus_socket &amp;&amp;
[5c9e998]168make</userinput></screen>
169
[0b83a69]170 <para>
171 See below for test instructions.
172 </para>
[c45cb57]173
[a761478]174<!--
[5c9e998]175 <warning revision="systemd">
176 <para>
177 Installing the package will override all files installed by
178 <application>D-Bus</application> in LFS. It is critical that
179 nothing uses <application>D-Bus</application> libraries or
[670d3f8]180 programs during the installation. The best way to ensure that these
181 libraries are not being used is to run the installation in rescue mode.
182 To switch to rescue mode, run the following command as the
183 <systemitem class="username">root</systemitem> user (from a TTY):
[5c9e998]184 </para>
[670d3f8]185
186<screen role="root"><userinput>systemctl start rescue.target</userinput></screen>
187
[5c9e998]188 </warning>
[a761478]189-->
[5c9e998]190
[0b83a69]191 <para>
192 Now, as the <systemitem class="username">root</systemitem> user:
193 </para>
[e8e3312d]194
[108beaf]195<screen role="root"><userinput>make install</userinput></screen>
[b6a2a0e]196
[d4eefa36]197<!-- FIXME: No longer needed with usr merge
[51dfb3e]198 <para>
[787a2e75]199 The shared library needs to be moved to
200 <filename class="directory">/lib</filename>, and as a result the
201 <filename class="extension">.so</filename> file in
202 <filename class="directory">/usr/lib</filename> will need to be
203 recreated. Run the following command as the
204 <systemitem class="username">root</systemitem> user:
205 </para>
206
[51dfb3e]207<screen role="root"><userinput>mv -v /usr/lib/libdbus-1.so.* /lib &amp;&amp;
[787a2e75]208ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
[d4eefa36]209-->
[787a2e75]210
[bf8eb65]211 <para>
212 If you are using a DESTDIR install,
213 <command>dbus-daemon-launch-helper</command> needs to be fixed
214 afterwards. Issue, as <systemitem class="username">root</systemitem>
215 user:
216 </para>
217
218<screen role="root"><userinput>chown -v root:messagebus /usr/libexec/dbus-daemon-launch-helper &amp;&amp;
219chmod -v 4750 /usr/libexec/dbus-daemon-launch-helper</userinput></screen>
220
[787a2e75]221 <para revision="sysv">
[54666831]222 If you are still building your system in chroot or you did not start the
223 daemon yet, but you want to compile some packages that require
[8558044]224 <application>D-Bus</application>, generate the
[54666831]225 <application>D-Bus</application> UUID to avoid warnings when compiling
226 some packages with the following command as the
[3bbf74c5]227 <systemitem class="username">root</systemitem> user:
228 </para>
229
[787a2e75]230<screen role="root" revision="sysv"><userinput>dbus-uuidgen --ensure</userinput></screen>
[54666831]231
[51dfb3e]232 <para revision="sysv">
233 If using <xref linkend="elogind"/>, create a symlink to the
234 <filename>/var/lib/dbus/machine-id</filename> file:
235 </para>
236
237<screen role="root" revision="sysv"><userinput>ln -sv /var/lib/dbus/machine-id /etc</userinput></screen>
238
[a761478]239<!--
[5c9e998]240 <para revision="systemd">
241 If not in chroot, at this point, you should reload the systemd daemon,
242 and reenter multi-user mode with the following commands (as the
243 <systemitem class="username">root</systemitem> user):
244 </para>
245
246<screen role="root" revision="systemd"><userinput>systemctl daemon-reload
247systemctl start multi-user.target</userinput></screen>
[a761478]248-->
[5c9e998]249
[3bbf74c5]250 <para>
[108beaf]251 The dbus tests cannot be run until after <xref linkend="dbus-glib"/> has
252 been installed. They must be run as an unprivileged user from a local
[1665413]253 session with bus address. To run the standard tests issue
254 <command>make check</command>.
255 </para>
256
257 <para>
258 If you want to run the unit regression tests, configure requires
259 additional parameters which expose additional functionality in the
260 binaries that are not intended to be used in a production build of
[108beaf]261 <application>D-Bus</application>. If you would like to run the tests,
[6092d19]262 issue the following commands (for the tests, you don't need to build the
263 docs):
[0b83a69]264 </para>
[0d7900a]265
[e532fc22]266<screen remap="test"><userinput>make distclean &amp;&amp;
267PYTHON=python3 ./configure --enable-tests \
268 --enable-asserts \
269 --disable-doxygen-docs \
270 --disable-xml-docs &amp;&amp;
271make &amp;&amp;
[02fc2ae]272make check</userinput></screen>
[c45cb57]273
[53dd18f1]274 <para>
[8558044]275 There have been reports that the tests may fail if running inside a
276 Midnight Commander shell. You may get out-of-memory error messages when
[9e2a8bab]277 running the tests. These are normal and can be safely ignored.
[54666831]278 </para>
[e8e3312d]279
280 </sect2>
281
282 <sect2 role="commands">
283 <title>Command Explanations</title>
284
[108beaf]285 <para>
286 <parameter>--disable-doxygen-docs</parameter>: This switch disables
[6092d19]287 doxygen documentation build and install, if you have
[670d3f8]288 <application>doxygen</application> installed. If
289 <application>doxygen</application> is installed, and you wish to build
290 them, remove this parameter.
[108beaf]291 </para>
292
[6092d19]293 <para>
294 <parameter>--disable-xml-docs</parameter>: This switch disables html
295 documentation build and install, if you have
[670d3f8]296 <application>xmlto</application> installed. If
297 <application>xmlto</application> is installed, and you wish to build
298 them, remove this parameter.
[6092d19]299 </para>
300
[4532b2f]301 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
302 href="../../xincludes/static-libraries.xml"/>
303
[51dfb3e]304 <para>
305 <parameter>--enable-user-session</parameter>: This parameter enables
306 per-user DBus sessions with
307 <phrase revision="sysv"><application>elogind</application>.</phrase>
308 <phrase revision="systemd"><application>systemd</application>.</phrase>
[54666831]309 </para>
310
[5c9e998]311 <para revision="sysv">
[aa41434]312 <parameter>--with-systemd{user,system}unitdir=no</parameter>: These
[51dfb3e]313 switches disable installation of systemd units on elogind based systems.
[f29eb8a]314 </para>
[0b83a69]315
[f29eb8a]316 <para>
317 <parameter>--with-system-pid-file=/run/dbus/pid</parameter>: This
318 parameter specifies the location of the PID file.
319 </para>
320
321 <para>
322 <parameter>--with-system-socket=/run/dbus/system_bus_socket</parameter>:
323 This parameter specifies the location of the system bus socket.
324 </para>
325
[0b83a69]326 <para>
[9e2a8bab]327 <parameter>--enable-tests</parameter>: Builds extra parts of the code to
[1665413]328 support all tests. Do not use on a production build.
[4947a7a]329 </para>
330
331 <para>
[9e2a8bab]332 <option>--enable-embedded-tests</option>: Builds extra parts of the
[1665413]333 code to support only unit tests. Do not use on a production build.
[0b83a69]334 </para>
335
336 <para>
[9e2a8bab]337 <parameter>--enable-asserts</parameter>: Enables debugging code to run
[e5347c36]338 assertions for statements normally assumed to be true. This prevents a
339 warning that '<parameter>--enable-tests</parameter>' on its own is only
340 useful for profiling and might not give true results for all tests, but
341 adds its own NOTE that this should not be used in a production build.
[0b83a69]342 </para>
[30d0aef]343
[e8e3312d]344 </sect2>
345
346 <sect2 role="configuration">
[670d3f8]347 <title>Configuring D-Bus</title>
[e8e3312d]348
349 <sect3 id="dbus-config">
350 <title>Config Files</title>
[0b83a69]351
352 <para>
353 <filename>/etc/dbus-1/session.conf</filename>,
354 <filename>/etc/dbus-1/system.conf</filename> and
355 <filename>/etc/dbus-1/system.d/*</filename>
356 </para>
[e8e3312d]357
[54666831]358 <indexterm zone="dbus dbus-config">
[e8e3312d]359 <primary sortas="e-etc-dbus-1-session.conf">/etc/dbus-1/session.conf</primary>
360 </indexterm>
361
[54666831]362 <indexterm zone="dbus dbus-config">
[e8e3312d]363 <primary sortas="e-etc-dbus-1/system.conf">/etc/dbus-1/system.conf</primary>
364 </indexterm>
365
[54666831]366 <indexterm zone="dbus dbus-config">
[c45cb57]367 <primary sortas="e-etc-dbus-1-system.d-star">/etc/dbus-1/system.d/*</primary>
[e8e3312d]368 </indexterm>
369
370 </sect3>
371
[e9efab0b]372 <sect3 id="dbus-session-config" xreflabel="D-Bus custom services directory">
373 <title>Configuration Information</title>
[e8e3312d]374
[0b83a69]375 <para>
376 The configuration files listed above should probably not be
377 modified. If changes are required, you should create
378 <filename>/etc/dbus-1/session-local.conf</filename> and/or
379 <filename>/etc/dbus-1/system-local.conf</filename> and make any
380 desired changes to these files.
381 </para>
382
383 <para>
384 If any packages install a
385 <application>D-Bus</application> <filename>.service</filename>
386 file outside of the standard <filename
387 class="directory">/usr/share/dbus-1/services</filename> directory,
388 that directory should be added to the local session configuration.
389 For instance, <filename
390 class="directory">/usr/local/share/dbus-1/services</filename> can
391 be added by performing the following commands as the
392 <systemitem class="username">root</systemitem> user:
393 </para>
[57aa7a28]394
395<screen role="root"><userinput>cat &gt; /etc/dbus-1/session-local.conf &lt;&lt; "EOF"
396<literal>&lt;!DOCTYPE busconfig PUBLIC
397 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
398 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
399&lt;busconfig&gt;
400
401 &lt;!-- Search for .service files in /usr/local --&gt;
402 &lt;servicedir&gt;/usr/local/share/dbus-1/services&lt;/servicedir&gt;
403
404&lt;/busconfig&gt;</literal>
405EOF</userinput></screen>
406
[e8e3312d]407 </sect3>
408
[670d3f8]409 <sect3 id="dbus-session">
[5c9e998]410 <title>D-Bus Session Daemon</title>
[e8e3312d]411
[5c9e998]412 <para revision="sysv">
[54666831]413 To automatically start <command>dbus-daemon</command> when the
414 system is rebooted, install the
415 <filename>/etc/rc.d/init.d/dbus</filename> bootscript from the
416 <xref linkend="bootscripts"/> package.
417 </para>
418
[670d3f8]419 <indexterm zone="dbus dbus-session" revision="sysv">
[54666831]420 <primary sortas="f-dbus">dbus</primary>
421 </indexterm>
422
[5c9e998]423<screen role="root" revision="sysv"><userinput>make install-dbus</userinput></screen>
[54666831]424
[5c9e998]425 <para revision="sysv">
[54666831]426 Note that this boot script only starts the system-wide
427 <application>D-Bus</application> daemon. Each user requiring access to
428 <application>D-Bus</application> services will also need to run a
429 session daemon as well. There are many methods you can use to start a
[0b83a69]430 session daemon using the <command>dbus-launch</command> command. Review
431 the <command>dbus-launch</command> man page for details about the
432 available parameters and options. Here are some suggestions and
433 examples:
434 </para>
[3565e02]435
[5c9e998]436 <para revision="systemd">
437 There are many methods you can use to start a session daemon
438 using the <command>dbus-launch</command> command. Review the
439 <command>dbus-launch</command> man page for details about the
440 available parameters and options. Here are some suggestions and
441 examples:
442 </para>
443
444
[3565e02]445 <itemizedlist spacing="compact">
446 <listitem>
[0b83a69]447 <para>
448 Add <command>dbus-launch</command> to the line in the
449 <filename>~/.xinitrc</filename> file that starts your graphical
450 desktop environment.
451 </para>
[3565e02]452 </listitem>
453 <listitem>
[0b83a69]454 <para>
[9e2a8bab]455 If you use <command>gdm</command> or some other display manager
[0b83a69]456 that calls the <filename>~/.xsession</filename> file, you can add
457 <command>dbus-launch</command> to the line in your
458 <filename>~/.xsession</filename> file that starts your graphical
459 desktop environment. The syntax would be similar to the example in
460 the <filename>~/.xinitrc</filename> file.
461 </para>
[3565e02]462 </listitem>
463 <listitem>
[0b83a69]464 <para>
465 The examples shown previously use
466 <command>dbus-launch</command> to specify a program to be run. This
467 has the benefit (when also using the
468 <parameter>--exit-with-session</parameter> parameter) of stopping the
469 session daemon when the specified program is stopped. You can also
470 start the session daemon in your system or personal startup scripts
471 by adding the following lines:
472 </para>
[3565e02]473
[dac5077]474<screen role="nodump"><userinput><literal># Start the D-Bus session daemon
[3565e02]475eval `dbus-launch`
476export DBUS_SESSION_BUS_ADDRESS</literal></userinput></screen>
477
[0b83a69]478 <para>
479 This method will not stop the session daemon when you exit
480 your shell, therefore you should add the following line to your
481 <filename>~/.bash_logout</filename> file:
482 </para>
[3565e02]483
[dac5077]484<screen role="nodump"><userinput><literal># Kill the D-Bus session daemon
[3565e02]485kill $DBUS_SESSION_BUS_PID</literal></userinput></screen>
[bccbdaea]486 </listitem>
[4ec808b]487
[9e2a8bab]488 <!-- KDM is no longer usable, SDDM is it's replacement
[3565e02]489 <listitem>
[0b83a69]490 <para>
491 A hint has been written that provides ways to start scripts
492 using the KDM session manager of KDE. The concepts in this hint could
493 possibly be used with other session managers as well. The hint is
494 located at <ulink
495 url="&hints-root;/downloads/files/execute-session-scripts-using-kdm.txt"/>.
[c45cb57]496 </para>
[3565e02]497 </listitem>
[9e2a8bab]498 -->
[c45cb57]499
[3565e02]500 </itemizedlist>
501
[e8e3312d]502 </sect3>
503
504 </sect2>
505
[5c9e998]506 <sect2 role="content" revision="sysv">
[e8e3312d]507 <title>Contents</title>
508
509 <segmentedlist>
510 <segtitle>Installed Programs</segtitle>
[54666831]511 <segtitle>Installed Library</segtitle>
[e8e3312d]512 <segtitle>Installed Directories</segtitle>
513
514 <seglistitem>
[0b83a69]515 <seg>
[54666831]516 dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
[c358685]517 dbus-run-session, dbus-send, dbus-test-tool,
[2cd6717]518 dbus-update-activation-environment, and dbus-uuidgen
[0b83a69]519 </seg>
520 <seg>
[54666831]521 libdbus-1.so
[0b83a69]522 </seg>
523 <seg>
[e20b59be]524 /etc/dbus-1,
[79ba2ea]525 /usr/{include,lib}/dbus-1.0,
[819a4c7]526 /usr/lib/cmake/DBus1,
[e20b59be]527 /usr/share/dbus-1,
[819a4c7]528 /usr/share/xml/dbus-1,
[e20b59be]529 /usr/share/doc/dbus-&dbus-version;, and
[79ba2ea]530 /var/{lib,run}/dbus
[0b83a69]531 </seg>
[e8e3312d]532 </seglistitem>
533 </segmentedlist>
534
535 <variablelist>
536 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
537 <?dbfo list-presentation="list"?>
538 <?dbhtml list-presentation="table"?>
539
[54666831]540 <varlistentry id="dbus-cleanup-sockets">
541 <term><command>dbus-cleanup-sockets</command></term>
542 <listitem>
543 <para>
[4c24eb0a]544 is used to clean up leftover sockets in a directory
[54666831]545 </para>
546 <indexterm zone="dbus dbus-cleanup-sockets">
547 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="dbus-daemon">
553 <term><command>dbus-daemon</command></term>
554 <listitem>
555 <para>
[4c24eb0a]556 is the <application>D-Bus</application> message bus daemon
[54666831]557 </para>
558 <indexterm zone="dbus dbus-daemon">
559 <primary sortas="b-dbus-daemon">dbus-daemon</primary>
560 </indexterm>
561 </listitem>
562 </varlistentry>
563
564 <varlistentry id="dbus-launch">
[e8e3312d]565 <term><command>dbus-launch</command></term>
566 <listitem>
[0b83a69]567 <para>
568 is used to start <command>dbus-daemon</command> from a shell
569 script. It would normally be called from a user's login
[4c24eb0a]570 scripts
[0b83a69]571 </para>
[54666831]572 <indexterm zone="dbus dbus-launch">
573 <primary sortas="b-dbus-launch">dbus-launch</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="dbus-monitor">
579 <term><command>dbus-monitor</command></term>
580 <listitem>
581 <para>
582 is used to monitor messages going through a
[4c24eb0a]583 <application>D-Bus</application> message bus
[54666831]584 </para>
585 <indexterm zone="dbus dbus-monitor">
586 <primary sortas="b-dbus-monitor">dbus-monitor</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="dbus-run-session">
592 <term><command>dbus-run-session</command></term>
593 <listitem>
594 <para>
[4c24eb0a]595 starts a process as a new <application>D-Bus</application> session
[54666831]596 </para>
597 <indexterm zone="dbus dbus-run-session">
598 <primary sortas="b-dbus-run-session">dbus-run-session</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="dbus-send">
604 <term><command>dbus-send</command></term>
605 <listitem>
606 <para>
607 is used to send a message to a <application>D-Bus</application>
[4c24eb0a]608 message bus
[54666831]609 </para>
610 <indexterm zone="dbus dbus-send">
611 <primary sortas="b-dbus-send">dbus-send</primary>
612 </indexterm>
613 </listitem>
614 </varlistentry>
615
[c358685]616 <varlistentry id="dbus-test-tool">
617 <term><command>dbus-test-tool</command></term>
618 <listitem>
619 <para>
[8558044]620 is a <application>D-Bus</application> traffic generator and test
[11d14a27]621 tool; it is a multi-purpose tool for debugging and profiling
[4c24eb0a]622 <application>D-Bus</application>
[c358685]623 </para>
624 <indexterm zone="dbus dbus-test-tool">
625 <primary sortas="b-dbus-test-tool">dbus-test-tool</primary>
626 </indexterm>
627 </listitem>
628 </varlistentry>
629
630 <varlistentry id="dbus-update-activation-environment">
631 <term><command>dbus-update-activation-environment</command></term>
632 <listitem>
633 <para>
[8558044]634 is used to update the environment used for
635 <application>D-Bus</application> session services;
[11d14a27]636 it updates the list of environment variables used by
[c358685]637 <command>dbus-daemon --session</command> when it activates session
[4c24eb0a]638 services without using systemd
[c358685]639 </para>
640 <indexterm zone="dbus dbus-update-activation-environment">
641 <primary sortas="b-dbus-update-activation-environment">
642 dbus-update-activation-environment</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
[54666831]647 <varlistentry id="dbus-uuidgen">
648 <term><command>dbus-uuidgen</command></term>
649 <listitem>
650 <para>
[4c24eb0a]651 is used to generate a universally unique ID
[54666831]652 </para>
653 <indexterm zone="dbus dbus-uuidgen">
654 <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
655 </indexterm>
656 </listitem>
657 </varlistentry>
658
659 <varlistentry id="libdbus-1">
660 <term><filename class="libraryfile">libdbus-1.so</filename></term>
661 <listitem>
662 <para>
663 contains the API functions used by the
664 <application>D-Bus</application> message daemon.
665 <application>D-Bus</application> is first a library that provides
666 one-to-one communication between any two applications;
667 <command>dbus-daemon</command> is an application that uses this
[4c24eb0a]668 library to implement a message bus daemon
[54666831]669 </para>
670 <indexterm zone="dbus libdbus-1">
671 <primary sortas="c-libdbus-1">libdbus-1.so</primary>
[e8e3312d]672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 </variablelist>
677
678 </sect2>
[4c24eb0a]679
[5c9e998]680 <sect2 role="content" revision="systemd">
681 <title>Contents</title>
682
683 <para>
684 A list of the installed files, along with their short
685 descriptions can be found at
[50836740]686 <ulink url="&lfs-root;/chapter08/dbus.html#contents-dbus"/>.
[5c9e998]687 </para>
688
689 </sect2>
690
[e8e3312d]691</sect1>
Note: See TracBrowser for help on using the repository browser.