• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

dbus-daemon: command not found

by Deepika

dbus-daemon is a command-line utility that is part of the D-Bus message bus system. It is used to start a message daemon, which is a process that allows multiple programs to exchange messages with each other.

The D-Bus message bus is a system for inter-process communication (IPC) that allows programs to communicate with each other on a single system or over a network. It is used in many different Linux distributions and is a key component of the desktop environment.

To use dbus-daemon, you will need to specify the options and arguments that you want to use to control the behavior of the message daemon. For example, to start the message daemon with a specific configuration file, you could use the following command:

# dbus-daemon --config-file=/etc/dbus-1/session.conf

This command will start the message daemon with the configuration file located at /etc/dbus-1/session.conf.

If you encounter the below error while running the command dbus-daemon:

dbus-daemon: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install dbus-tests
Ubuntu apt-get install dbus-tests
Alpine apk add dbus
Arch Linux pacman -S dbus
Kali Linux apt-get install dbus-tests
CentOS yum install dbus-daemon-1
Fedora dnf install dbus-daemon-1
OS X brew install dbus
Raspbian apt-get install dbus-1-dbg

dbus-daemon Command Examples

1. Run the daemon with a configuration file:

# dbus-daemon --config-file path/to/file

2. Run the daemon with the standard per-login-session message bus configuration:

# dbus-daemon --session

3. Run the daemon with the standard systemwide message bus configuration:

# dbus-daemon --system

4. Set the address to listen on and override the configuration value for it:

# dbus-daemon --address address

5. Output the process ID to stdout:

# dbus-daemon --print-pid

6. Force the message bus to write to the system log for messages:

# dbus-daemon --syslog

Filed Under: Linux

Some more articles you might also be interested in …

  1. hyperfine Commane Examples
  2. Xtreme Download Manager(xdman): Internet Download Manager(IDM) For Ubuntu
  3. df Command Examples in Linux
  4. “git switch” Command Examples
  5. partprobe Command Examples in Linux
  6. sbatch Command Examples in Linux
  7. CentOS / RHEL : Managing password ageing for users using chage (with practical Examples)
  8. Magento 2.3.3 Redis cache grows unlimited
  9. Linux Command line Basics – Working with Files and Directories
  10. cargo rustc: Compile a Rust package, and pass extra options to the compiler

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright