Skip to content

Usage without a session D-Bus instance #77

@WhyNotHugo

Description

@WhyNotHugo

I'm trying to use bluetuith on an embedded device (e.g.: a media centre; not a desktop system), but it fails to start. Apparently, bluetuith depends on the D-Bus session instance:

$ bluetuith
[!] Cannot start session DBus: exec: "dbus-launch": executable file not found in $PATH: executable file not found in $PATH

This particular error is because go-dbus tries to start a new dbus session instance if one is not running. This behaviour is never useful, since no other client can find this bus instance anyway.

This runtime dependency on a session D-Bus instance should be optional: it's required for connecting to pulseaudio/pipewire, but on systems without such services (or capabilities), setting up a D-Bus session instance on an embedded system with no persistent user home directories is a burden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions