xdg-dbus-proxy command not found

In this troubleshooting guide we learn how to fix xdg-dbus-proxy command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xdg-dbus-proxy: command not found

or when using sudo you get the following error message

sudo: xdg-dbus-proxy: command not found

Solutions to xdg-dbus-proxy: command not found

How To Fix xdg-dbus-proxy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xdg-dbus-proxy is provided by xdg-dbus-proxy package.

xdg-dbus-proxy is:

xdg-dbus-proxy is a filtering proxy for D-Bus connections. It was originally part of the Flatpak project, but it has been broken out as a standalone module to facilitate using it in other contexts, for example in WebKit-GTK’s optional bubblewrap-based sandbox.

For this proxy to be useful, restricted D-Bus clients must be denied access to the normal D-Bus socket (for example by using containers or AppArmor rules), and instead given access to the listening Unix socket created by the proxy (typically by bind-mounting it into a Linux container).

To fix this problem, we can install more using the command below.

sudo apt-get -y install xdg-dbus-proxy

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xdg-dbus-proxy.

sudo apt -y install xdg-dbus-proxy

Or if you have aptitude installed you can use the following command.

sudo aptitude install xdg-dbus-proxy

Summary

In this tutorial we learn how to fix xdg-dbus-proxy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.