Integration / D Bus Interview Questions
What are the types of D-Bus buses?
D-Bus applications typically connect to one of two standard buses, each scoped to a different lifetime and audience.
| System bus | Session bus |
| One instance shared by the whole machine | One instance per logged-in user session |
| Started at boot, typically root-owned | Started when the user session begins |
| Used by system services like systemd, NetworkManager | Used by desktop apps and session-scoped services |
Beyond these two standard buses, D-Bus also supports peer-to-peer (P2P) connections, where two processes talk directly over a D-Bus connection without any bus daemon routing between them, useful for private, direct IPC between exactly two processes rather than a shared broadcast bus.
More Related questions...