You are not logged in.
Hi all,
is there a way to run the PipeWire server on a headless server? I would like to start the service when the server boots up (system wide). In the instructions the service is always started via a user.
When I try to start the service via a user, I get the following error:
Failed to connect to bus: No medium found
Best regards!
Last edited by broken pipe (2023-10-04 08:23:09)
Offline
Hm, this is an interesting question. Does the headless server have an audio interface? What would be the intent here?
Offline
Hm, this is an interesting question. Does the headless server have an audio interface? What would be the intent here?
yes it has an audio interface. I would run mpd and spotifyd over it.
Last edited by broken pipe (2023-10-03 11:10:43)
Offline
Do you want to run any other audio source over that? If your main concern is mpd, just let mpd handle the device directly via ALSA. Many internals of pipewire/pulse for that matter assume a per session/logged in user usecase.
For the bus issue, how did you switch the user? You'll generally want to actively login as the user you intend to run the daemon on, so that you also have a dbus session over which information can be announced.
Last edited by V1del (2023-10-03 12:11:16)
Offline
thank you for your answers! I have now solved it with the systemctl linger to start a user session without login.
i now run all audio applications over pipewire, also pipewire can do bluetooth and airplay. so i have a versatile sound server.
Offline