docs(quickshell): diagnose dbus validation blocker
10e8dd6b97f125c76812f803a1e81b3545054306
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 2a46ca6e1df5
bugabingas dorkfiles
10e8dd6b97f125c76812f803a1e81b3545054306
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+162 / −0 text lines
new file mode 100644+162 / −0 text lines
# Quickshell DBus Blocker Diagnosis — 2026-06-17## ScopeRead-only diagnosis of the user-session DBus blocker that prevents live native notification parity and reliable media/MPRIS validation from the agent shell.## Why this mattersPhase 3 native notifications need Quickshell to own/use `org.freedesktop.Notifications`. Phase 4 media parity needs MPRIS over DBus. Current agent-shell and live-service probes show the user bus is unhealthy, so notification/media parity cannot be honestly accepted.## Live service boundaryOld companions remain active:```textironbar.service activeironbar-workspaces.service activemako.service active```Quickshell remains not live:```textquickshell.service inactive/not-foundpgrep -a qs: empty```## Environment and socket inventory```textXDG_RUNTIME_DIR=/run/user/1000DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/busWAYLAND_DISPLAY=wayland-1HYPRLAND_INSTANCE_SIGNATURE=39d7e209c79d451efab1b21151d5938289da838d_1781295134_91246130```Sockets exist and listen:```text/run/user/1000/bus: socket exists/run/user/1000/systemd/private: socket existsss shows /run/user/1000/bus LISTENss shows /run/user/1000/systemd/private LISTEN```Systemd user manager environment has the same DBus address.## Failing DBus clientsExact probes:```textbusctl --user --list --no-pager→ Failed to list names: Transport endpoint is not connecteddbus-send --session ... org.freedesktop.DBus.ListNames→ Failed to open connection to "session" message bus: Did not receive a reply...makoctl list→ Transport endpoint is not connected (System.Error.ENOTCONN)playerctl -l→ Error receiving data: Connection reset by peernotify-send ...→ Error receiving data: Connection reset by peer```These failures cover generic DBus listing, Mako notification control, MPRIS media listing, and notification sending.## Broker stateUser DBus units:```textdbus.socket active since Jun 12dbus-broker.service active since Jun 12```Broker process state:```textpid=1074FD count: 58FDSize: 128VmSize: 948688 kBVmRSS: 946820 kBThreads: 1```The broker RSS is extremely high for a user message bus. Recent service status included repeated broker messages:```textPeer :1.x is being disconnected as it does not have the resources to receive a reply or unicast signal it expects.```## Current Ironbar DBus falloutLive Ironbar is logging MPRIS DBus errors every second:```textironbar::clients::music::mpris: D-Bus error getting MPRIS players:DBusError(TransportError(D-Bus error: Connection is closed(org.freedesktop.DBus.Error.Disconnected)))```The current Ironbar config contains the MPRIS music module:```json{ "type": "music", "player_type": "mpris", "format": "{title} / {artist}"}```This does not prove Ironbar caused the bus failure. It proves the live bar is affected and is continuously hitting the failed bus.## Root-cause confidenceHigh confidence:- The failure is not only a missing `DBUS_SESSION_BUS_ADDRESS`; the variable is set in both agent env and systemd user env.- The bus socket exists and listens.- The broker process is alive.- Multiple independent clients fail against the same user bus.- Broker memory is abnormally high and broker logs mention peer resource disconnections.Working hypothesis:> The user DBus broker/session bus is wedged or resource-exhausted. This blocks notification and MPRIS validation until the bus is recovered.## Not mutatedNo services were restarted. No `systemctl --user restart dbus-broker.service`, no Mako/Ironbar restart, no live Quickshell service activation.## Human recovery optionsThese are intentionally not run by the agent because they mutate the live desktop session.Least focused recovery to try manually:```shsystemctl --user restart dbus-broker.service```Then verify:```shbusctl --user --list --no-pager | headnotify-send 'DBus recovered' 'notification path works'makoctl listplayerctl -l || true```If user services fail to reconnect cleanly, restart affected companions:```shsystemctl --user restart mako.service ironbar.service ironbar-workspaces.service```Only after DBus recovery should Phase 3 native notification parity be retried.