question

RishabhSharma-0034 avatar image
0 Votes"
RishabhSharma-0034 asked mrwillbarnz answered

How do I enable audio playback for a Linux VM?

Hi,

I want to enable audio playback for my linux virtual machine running on azure. I am remotely connecting to the machine using NICEDCV.

My virtual machine does not have a virtual sound card installed.

I am using a custom environment with xterms rather than GNOME.

How do I go about configuring this? Is this something supported by azure ?

OS: Redhat 7.2.

Thanks.

azure-virtual-machines
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RobertoTronci-1303 avatar image
0 Votes"
RobertoTronci-1303 answered RobertoTronci-1303 published

Hi,

just regarding DCV, can you check if you have pulseaudio installed?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

mrwillbarnz avatar image
0 Votes"
mrwillbarnz answered

The easiest way to double-check audio is installed is heading to the Volume Control applet PulseAudio Volume Control in GNOME or searching PulseAudio in the Search pane.

If pulseaudio is installed, you will need the pulseaudio-utils package as well.

Finally, double-check that there is a config file in your home directory by looking for .pulseaudio either in the terminal or in a file browser.

Invoking pulseaudio --start will make start the service. pulseaudio --status should also show no output if everything is ok.

Sources:
unable-to-open-pulseaudio-in-centos-7
pulseaudio


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.