how to give access from one process to another
by knarh from LinuxQuestions.org on (#6DK8Y)
Hello,
I have a problem, that I have multi-user(system-wide) mpd configuration and in this case:
(I'm using systemd)
ps -e -o ruser -o euser -o cmd | grep -E "mpd|pipewire|wireplumber"
Code:RUSER EUSER COMMAND
trashy trashy /usr/bin/pipewire
trashy trashy /usr/bin/wireplumber
mpd mpd /usr/bin/mpd --systemdThe main problem that mpd don't have access to pipewire
journalctl -b | grep mpd
Code:Aug 04 16:43:04 archpc systemd[1]: Listening on mpd.socket.
Aug 04 16:43:04 archpc mpd[545]: decoder: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
Aug 04 16:43:04 archpc mpd[545]: zeroconf: No global port, disabling zeroconf
Aug 04 16:44:55 archpc mpd[545]: exception: Failed to open "Pipewire Sound Server" (pipewire); Failed to connect stream: Host is downThe mpd is running as systemd service(not user service)
Pipewire is running as systemd user service
I don't have an idea, that to do.
Thanks in advance!
I have a problem, that I have multi-user(system-wide) mpd configuration and in this case:
(I'm using systemd)
ps -e -o ruser -o euser -o cmd | grep -E "mpd|pipewire|wireplumber"
Code:RUSER EUSER COMMAND
trashy trashy /usr/bin/pipewire
trashy trashy /usr/bin/wireplumber
mpd mpd /usr/bin/mpd --systemdThe main problem that mpd don't have access to pipewire
journalctl -b | grep mpd
Code:Aug 04 16:43:04 archpc systemd[1]: Listening on mpd.socket.
Aug 04 16:43:04 archpc mpd[545]: decoder: Decoder plugin 'wildmidi' is unavailable: configuration file does not exist: /etc/timidity/timidity.cfg
Aug 04 16:43:04 archpc mpd[545]: zeroconf: No global port, disabling zeroconf
Aug 04 16:44:55 archpc mpd[545]: exception: Failed to open "Pipewire Sound Server" (pipewire); Failed to connect stream: Host is downThe mpd is running as systemd service(not user service)
Pipewire is running as systemd user service
I don't have an idea, that to do.
Thanks in advance!