VMware Horizon Community
FrancisAugusto
Enthusiast
Enthusiast

Pulseaudio not working on RHEL 8.6

Hi,

I have no sound on our RHEL 8.6 guest OS. I followed what was discussed in this thread: https://communities.vmware.com/t5/Horizon-for-Linux/Horizon-8-0-RHEL-8-2-guest-No-sound/td-p/2821386, to no avail.

On journal logs, I have lots of these lines when a user logs into the VDI:

Sep 28 19:49:29 myhost.com pulseaudio[5135]: Denied access to client with invalid authentication data.
Sep 28 19:49:30 myhost.com pulseaudio[5135]: Denied access to client with invalid authentication data.
Sep 28 19:49:31 myhost.com pulseaudio[5135]: Denied access to client with invalid authentication data.
Sep 28 19:49:32 myhost.com pulseaudio[5135]: Denied access to client with invalid authentication data.
Sep 28 19:49:33 myhost.com pulseaudio[5135]: Denied access to client with invalid authentication data.

I also get a lot of this on /tmp/vmware-root/vmware-mks-*.log

 

-09-28T17:55:25.414Z Wa(03) host-6551 SOUNDLIB: Connection failure: Access denied
2022-09-28T17:55:25.414Z Wa(03) main SOUNDLIB: SoundLib_CreatePulseBackend: failed to connect to Pulse server
2022-09-28T17:55:25.415Z In(05) main SOUNDLIB: ALSA user-space library version: 1.2.6.1.
2022-09-28T17:55:25.415Z In(05) main SOUNDLIB: SoundAlsaCreateSoundStream: ALSA doesn't support RECORD_MONITOR mode
2022-09-28T17:55:25.415Z In(05) main SOUNDLIB: SoundLib_CreateSyncSoundStream: Failed to create sound stream.
2022-09-28T17:55:25.415Z In(05) main SOUNDLIB: SoundMuxCreateSoundStream: Failed to create underlying sound stream.
2022-09-28T17:55:25.415Z In(05) main SOUNDLIB: SoundLib_CreateSyncSoundStream: Failed to create sound stream.
2022-09-28T17:55:25.415Z In(05) main VNCAudio: Audio Stream could not be created
2022-09-28T17:55:32.416Z Wa(03) main VNCServerLinux: Pulseaudio is ready

Can anyone hint me on how to solve this?

Best,

Francis

Reply
0 Kudos
2 Replies
songkai
VMware Employee
VMware Employee

Hello Enthusiast

     1) Which version of horizon linux agent do you use?

     2) Could you run the pax11publish after login the remote desktop and show me the result? such as:

          [ksong@agent-rhel85 ~]$ pax11publish
          Server: /run/user/95401104/.vmwblastaudio:101/native
          Cookie: 614204d4854715da0ae6ee6069010b501b04553cdc9ec7d60ca285b8aed3ebbcd2d55bcfa1859e9efd15fdf7f129bfb2e30a8f5277b30332fbf742b52c6806296c9c7351579ece4ec949aea7e7710ae2fbf1a11b1298b19a5a3d4851b729b6955bb07c10b6cf03186de5164169e2e29aa2e5c66b40de500639d975859b0d75924a0198523b506d6c5a9201c742d51df7ce697c9adb22df5966f717b900d7bbc56ca71a46b164200966d182cd7b22d88cdbfbe2534da198d6d8adca9196d5cf3478858a98d1c621cef93f38e9cf72bc8e45a13351acef5d9fabcb820bd7efab367aa0075d1d422c07f94e1c954806ae6639d7bbe4caf25eae93bcc101b7ecb6d7

      3) Could you also help to check the log in /tmp/vmware-root/vmware-DesktopWorker-xxxx.log and find any error log about audio?

Best Regards
Kai 

Reply
0 Kudos
FrancisAugusto
Enthusiast
Enthusiast

Hi!

 

1 - 8.4.0.

2 - xcb_connection_has_error() returned true

3 - I don't have that specific log file, but I find this:

tail -f /tmp/vmware-root/vmware-mks-4026.log
2022-10-24T09:46:42.175Z Wa(03) main VNCServerLinux: Pulseaudio is ready
2022-10-24T09:46:42.176Z In(05) main SOUNDLIB: SoundLib_CreatePulseBackend: waiting for connection to Pulse server
2022-10-24T09:46:42.177Z Wa(03) host-2745133 SOUNDLIB: Connection failure: Access denied
2022-10-24T09:46:42.177Z Wa(03) main SOUNDLIB: SoundLib_CreatePulseBackend: failed to connect to Pulse server
2022-10-24T09:46:42.178Z In(05) main SOUNDLIB: ALSA user-space library version: 1.2.6.1.
2022-10-24T09:46:42.178Z In(05) main SOUNDLIB: SoundAlsaCreateSoundStream: ALSA doesn't support RECORD_MONITOR mode
2022-10-24T09:46:42.178Z In(05) main SOUNDLIB: SoundLib_CreateSyncSoundStream: Failed to create sound stream.
2022-10-24T09:46:42.178Z In(05) main SOUNDLIB: SoundMuxCreateSoundStream: Failed to create underlying sound stream.
2022-10-24T09:46:42.178Z In(05) main SOUNDLIB: SoundLib_CreateSyncSoundStream: Failed to create sound stream.
2022-10-24T09:46:42.178Z In(05) main VNCAudio: Audio Stream could not be created
2022-10-24T09:46:52.179Z Wa(03) main VNCServerLinux: Pulseaudio is ready
Reply
0 Kudos