LinuxCommandLibrary

dbus-daemon

TLDR

Run with a configuration file

$ dbus-daemon --config-file [path/to/file]
copy
Run session message bus
$ dbus-daemon --session
copy
Run system message bus
$ dbus-daemon --system
copy
Set address to listen on
$ dbus-daemon --address [address]
copy
Output PID to stdout
$ dbus-daemon --print-pid
copy
Force syslog logging
$ dbus-daemon --syslog
copy

SYNOPSIS

dbus-daemon [options]

DESCRIPTION

dbus-daemon is the D-Bus message bus daemon that enables inter-process communication between applications. It routes messages between connected programs using the D-Bus protocol.
Two main bus types exist: the session bus (per-user) for desktop applications, and the system bus (systemwide) for system services.

PARAMETERS

--config-file file

Use specified configuration file
--session
Use session bus configuration
--system
Use system bus configuration
--address address
Listen address override
--print-pid
Print PID to stdout
--print-address
Print address to stdout
--syslog
Force syslog logging
--fork
Fork into background

CAVEATS

Usually started automatically by systemd or session managers. Direct invocation is rarely needed. System bus requires root privileges. Configuration affects security and available services.

SEE ALSO

Copied to clipboard