We have Server machine, this computer with Headphones, and we have Client computer, this is remote PC with music =) On Server we should first open port for listening connections from Client :
# on ubuntu
sudo ufw allow from <Client_IP> to any port 4656 proto tcp
# on fedora ( with firewalld )
sudo firewall-ctl --add-port 4656/tcp
note: port 4656 just for sample. you can use any port you want
than on Server, from current user add listening for connections
pactl load-module module-native-protocol-tcp port=4656 listen=<Server_IP>
then on Client add sink to remote Server
pactl load-module module-tunnel-sink server=tcp:<Server_IP>:4656
than, you should chose right output on Client, in KDE it looks like
you can use pavucontrol for this too
Update from comments :
maybe add anonynous authorisation helps (thanks to @raldone01)
pactl load-module module-native-protocol-tcp port=4656 listen=0.0.0.0 auth-anonymous=true
@savegame I do not know what i do wrong tbh...
This is what i try to do:
On pulseaudio (the system i want to stream audio from)
On the
~/.profile
fileOn pipewire (the system i want the audio output)
On start up file
~/.profile
pactl load-module module-native-protocol-tcp
What happened.
pulseaudio does not start and i get the error when i try to start it manual with the
pulseaudio --start
N: [pulseaudio] main.c: User-configured server at tcp:192.168.1.3, refusing to start/autospawn.
I use:
archlinux both systems
pipewire version =
and also i use pipewire-pulse
pulseaudio version =
pulseaudio 15.0
Same configuration is working with pulseaudio on both systems.