Skip to content

Document recommendations for headless setups #15

Closed

Description

@jodal
  • Use case: Run Mopidy-MPRIS + Rygel on a headless system to support playing audio in Mopidy from an UPnP client.
  • Research: Does any MPRIS clients support using the system bus?
  • Research: Can we start a session bus if there's none? Ref. wrap-dbus script. Will Rygel running as some other user on the system be able to connect to Mopidy-MPRIS using the mopidy user's session bus?

Activity

  1. kmiterror commented on May 6, 2015

    @kmiterror
    Contributor

    I have a headless setup with rygel working. You need some fake x server to have dbus working with mpris. I use xvfb, it's available in most repos. I start it with a command:

    Xvfb :1 -screen 0 1x1x8 &
    

    It creates a minimal x server 1x1 pixel 8bits color, so it has minimal memory impact and enable mopidy-mpris and rygel to work through dbus.

    Ofcourse DISPLAY envirnoment variable needs to be set up, I'm setting it in /etc/enviroment to:

    DISPLAY=:1
    

    Im running it that way for few months.

  2. tr1xem commented on Oct 15, 2024

    @tr1xem

    Still works ++

  3. added theissue type on Sep 22, 2026
  4. jodal commented on Sep 23, 2026

    @jodal
    MemberAuthor

    This was generated by AI during triage.

    The README now documents headless setups: running Mopidy-MPRIS on the system bus, and using Rygel for UPnP/DLNA. Closing as completed. The open research questions can get new issues if someone wants to work on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions