On Fri, Oct 26, 2018 at 07:49:16PM -0400, Ken M wrote:
> So I am working on a bit of an experiment. I have a debian sid guest in vmm.
> xrdp is installed as is the pulse audio module for xrdp so that it can see the
> xrdp output in the mixer. I can connect just fine till I try to get sound out.
> Remmina wouldn't work with sound so to have more control I tried xfreerdp. An
> example of the options I tried.
> 
> xfreerdp /sound:sys:sndio,dev:/dev/audio /v:host
> 
> Basically I can't get it to connect with sound. I can put together a whole log
> and all, but I was wondering if anyone can suggest how the /sound flag should 
> be
> under openbsd, or perhaps an alternate method to get sound out of a vmm guest
> via gui. Or perhaps it is just not possible as of today.
> 
> To mention I did double check I could cat a wav file to /dev/audio and that
> worked just fine.
> 

I don't know how xrdp works.

Usually I use "ssh -X" to connect to the VM, so that programs on the
vm diplay on the host's X server. The same approach works for sound:
on the host run sndiod with the "-L -" option and on the guest:

        export AUDIODEVICE=snd@<host_ip_address>/0

For OpenBSD VMs, it works out-of-the box. On Debian, most programs
must be rebuild with sndio support for this to work. This approach
minimizes the number of software layers for audio, which maximizes
sound stability.

HTH

-- Alexandre

Reply via email to