How to redirect Pulse-audio over SSH and open up a socket file reverse tunnelled to the local Pulse-audio server on the client.

If I keep it empty,inside the linux vm I see the message : establishing connection to pulseaudio and nothing happens.
 
I've installed anydesk on FreeBSD and on Ubuntu / vm-bhyve. On the anydesk that run on FreeBSD I've configured the audio like this :

transmissions :

v : enable audio transmissions
-specify device = /dev/dsp8

output :

v : enable playback
-playback device = /dev/dsp0

But I'm not sure what device is correct for transmissions and playback. I'm not able to understand how to detect what are the correct devices. In Linux I see "dummy output",so there is something that don't work.
 
When you play back a Youtube video in Firefox on your host, you can use pavucontrol to switch between the outputs. Alternatively, you can use audio/audacity to play back a sound file to the different dsp devices.

As a matter of fact. You can even just
cat /dev/rc.conf > /etc/dsp0
and you should hear some sound coming on whatever output channel you are catting into.

Check your /dev/dsp* files, which dsp devices you have available or do a cat /dev/sndstat.

This should help you understand, what dsp0..8 is what. Usually, there's different devices for speaker, headphone jack, and so on. You can use mixer to adjust volume and input levels.
 
maybe u meant "cat /etc/rc.conf > /dev/dsp0 ?

good. I hear some noise from /dev/dsp and dsp8.0 ; dsp 8.1 ;

root@marietto:/mnt/da0p1/vms # ls /dev/dsp*

/dev/dsp0.0 /dev/dsp11.0 /dev/dsp4.0 /dev/dsp7.0 /dev/dsp9.0
/dev/dsp1.0 /dev/dsp2.0 /dev/dsp5.0 /dev/dsp8.0
/dev/dsp10.0 /dev/dsp3.0 /dev/dsp6.0 /dev/dsp8.1

root@marietto:/mnt/da0p1/vms # cat /dev/sndstat

Installed devices:
pcm0: <NVIDIA (0x0091) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x0091) (HDMI/DP 8ch)> (play)
pcm2: <NVIDIA (0x0091) (HDMI/DP 8ch)> (play)
pcm3: <NVIDIA (0x0091) (HDMI/DP 8ch)> (play)
pcm4: <NVIDIA (0x0084) (HDMI/DP 8ch)> (play)
pcm5: <NVIDIA (0x0084) (HDMI/DP 8ch)> (play)
pcm6: <NVIDIA (0x0084) (HDMI/DP 8ch)> (play)
pcm7: <NVIDIA (0x0084) (HDMI/DP 8ch)> (play)
pcm8: <Realtek ALC1220 (Rear Analog 5.1/2.0)> (play/rec) default
pcm9: <Realtek ALC1220 (Front Analog)> (play/rec)
pcm10: <Realtek ALC1220 (Rear Digital)> (play)
pcm11: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.

So,this is not wrong :

transmissions :

v : enable audio transmissions
-specify device = /dev/dsp8
 
Back
Top