this post was submitted on 01 Jan 2026
37 points (84.9% liked)

Linux

10851 readers
579 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Although flying well under the radar of the average Linux user, D-Bus has been an integral part of Linux distributions for nearly two decades and counting. Rather than using faster point-to-point interprocess communication via a Unix socket or such, an IPC bus allows for IP communication in a bus-like manner for convenience reasons. D-Bus replaced a few existing IPC buses in the Gnome and KDE desktop environments and became since that time the de-facto standard. Which isn’t to say that D-Bus is well-designed or devoid of flaws, hence attracting the ire of people like [Vaxry] who recently wrote an article on why D-Bus should die and proposes using hyprwire instead.

The broader context is provided by [Brodie Robertson], whose video adds interesting details, such as that Arch Linux wrote its own D-Bus implementation rather than use the reference one. Then there’s CVE-2018-19358 pertaining to the security risk of using an unlocked keyring on D-Bus, as any application on said bus can read the contents. The response by the Gnome developers responsible for D-Bus was very Wayland-like in that they dismissed the CVE as ‘works as designed’.

top 6 comments
sorted by: hot top controversial new old
[–] aport@programming.dev 16 points 13 hours ago (1 children)

Was this article written by AI? It's full of errors. Local D-Bus traffic is not TCP/IP, and Arch didn't write dbus-broker, they just set it as their default bus implementation same as Fedora.

[–] Jayjader@jlai.lu 7 points 12 hours ago

I have found Hackaday to be depressingly full of shallow summaries of things said/done/written by other people elsewhere.

[–] Fizz@lemmy.nz 7 points 14 hours ago

Maybe we do need a better dbus but its not going to be done by vaxry. We could probably use binder the android dbus.

[–] raspberriesareyummy@lemmy.world 4 points 18 hours ago (1 children)

Oh please, I hate D-Bus more than you could ever imagine. It's one big fucking security risk luring users into being unable to understand whether their application is contained or not in a sandbox.

[–] victorz@lemmy.world 5 points 17 hours ago* (last edited 17 hours ago) (1 children)

Itvery annoying also that you need some weird systemd command incantations to make it detectable by environment variables when using Wayland compositors X11 window managers that aren't full desktop environments, in combination with XDG portals.

I struggled so much getting dark mode running well with darkman. And screen sharing with Niri. Hhhrg.

[–] caseyweederman@lemmy.ca 1 points 4 hours ago

Pretty sure the systemd command you're talking about just adds the bus to PATH. You very likely could just do that yourself.