You are not logged in.

#1 2023-10-03 05:55:11

broken pipe
Member
Registered: 2010-12-10
Posts: 243

[Solved] PipeWire on a headless server

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

#2 2023-10-03 10:56:54

cloverskull
Member
Registered: 2018-09-30
Posts: 207

Re: [Solved] PipeWire on a headless server

Hm, this is an interesting question. Does the headless server have an audio interface? What would be the intent here?

Offline

#3 2023-10-03 11:10:21

broken pipe
Member
Registered: 2010-12-10
Posts: 243

Re: [Solved] PipeWire on a headless server

cloverskull wrote:

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

#4 2023-10-03 12:09:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,559

Re: [Solved] PipeWire on a headless server

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

#5 2023-10-04 08:22:51

broken pipe
Member
Registered: 2010-12-10
Posts: 243

Re: [Solved] PipeWire on a headless server

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

Board footer

Powered by FluxBB