Skip to content

Commit

Permalink
docs: remove duplicate troubleshooting info
Browse files Browse the repository at this point in the history
  • Loading branch information
eladyn committed Feb 24, 2025
1 parent 013ffc1 commit 6cbe20f
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions docs/src/advanced/dbus.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,27 +116,3 @@ else
echo "No active spotifyd playback."
fi
```

## Troubleshooting

### "Failed to initialize DBus connection" on a headless system

Where no graphical session is available, the system bus can be used by setting the `dbus_type` configuration option to `system`.

### "Failed to register dbus player name" using the system bus

`Spotifyd` may not have permission to register the D-Bus service due to D-Bus security policies. It should be granted permission to own any service with the prefix "org.mpris.MediaPlayer2.spotifyd".

For example, this statement can be added to the default policy in `/usr/share/dbus-1/system.conf`.

```xml
<allow own_prefix="org.mpris.MediaPlayer2.spotifyd"/>
```

It may also be necessary to add a statement to allow clients to send messages.

```xml
<allow send_destination_prefix="org.mpris.MediaPlayer2.spotifyd"/>
```

Make sure to reload the D-Bus configuration after making changes. For example `sudo systemctl reload dbus`.

0 comments on commit 6cbe20f

Please sign in to comment.