How do I enable audio playback for a Linux VM?

Rishabh Sharma 1 Reputation point
2020-04-16T04:37:04.67+00:00

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
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,990 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Roberto Tronci 1 Reputation point
    2020-04-19T07:53:30.307+00:00

    Hi,

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

    0 comments No comments

  2. Will Barnard 1 Reputation point
    2020-04-19T18:29:21.303+00:00

    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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.