You are not logged in.

#1 2021-07-21 16:01:30

dramatis.persona
Member
Registered: 2021-03-02
Posts: 40

Two Problems: Loss of Sound due to Citrix and Desktop Sharing in Teams

Hello,

I seem to have a couple problems.

1) I installed MS Teams from the AUR and I can't seem to share my desktop. I have laptop, extra monitor setup. Other users in Teams only see a black screen and a idling circle when I attempt to share either screen.
2) Citrix seems to take over my audio after a while and then YouTube doesn't work. I kill the Citrix process and pulse audio and then restart it and everything works again in YouTube, but then MS Teams doesn't have any sound. Also I have to reconnect to Citrix again.

Offline

#2 2021-07-22 12:36:26

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Two Problems: Loss of Sound due to Citrix and Desktop Sharing in Teams

One issue per thread please, the citrix issue looks simplest so let's start with that.

Check https://wiki.archlinux.org/title/Citrix#Audio_Support


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-07-22 13:20:47

dramatis.persona
Member
Registered: 2021-03-02
Posts: 40

Re: Two Problems: Loss of Sound due to Citrix and Desktop Sharing in Teams

Lone_Wolf wrote:

One issue per thread please, the citrix issue looks simplest so let's start with that.

Check https://wiki.archlinux.org/title/Citrix#Audio_Support

Unfortunately, they seem to be kind of related.

I have tried the information in the link that you suggested but that didn't help me.

It seems that if I connect using Citrix, after a while. the pulseaudio stops working at some point. At what point I don't really know.

When it does I run the command fuser -v /dev/snd/* and get the following:
                                     USER             PID  ACCESS COMMAND     
/dev/snd/controlC0:      anonymous    719 F.... pulseaudio
                                     anonymous  82983 F.... wfica
/dev/snd/pcmC0D0p:   anonymous  82983 F...m wfica
/dev/snd/timer:             anonymous  82983 f.... wfica

At this point, dummy output shows up in my sound settings.

The only way to get around all of this is to kill pulseaudio (pulseaudio -k), kill Citrix (wfica) by PID, shut down MS teams and then restart pulseaudio (pulseaudio --start), Citrix and MS Teams.

That is the work around. I'm not sure what happens to the sound device and how they all interact to make it stop working.

Regards

Offline

#4 2021-07-22 13:30:13

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Two Problems: Loss of Sound due to Citrix and Desktop Sharing in Teams

Is pulseaudio-alsa installed ?

What is the content of  ~/.ICAClient/wfclient.ini ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2021-07-22 17:30:06

dramatis.persona
Member
Registered: 2021-03-02
Posts: 40

Re: Two Problems: Loss of Sound due to Citrix and Desktop Sharing in Teams

Lone_Wolf wrote:

Is pulseaudio-alsa installed ?

What is the content of  ~/.ICAClient/wfclient.ini ?

Yes, pulseaudio-alsa is installed.

The contents of the file are whatever the defaults are I believe. At least, I don't remember changing it:

;********************************************************************
;
;    wfclient.ini
;
;    User configuration for Citrix Workspace for Unix
;
;    Copyright 1994-2020 Citrix Systems, Inc. All rights reserved.
;
;********************************************************************

[WFClient]
Version = 2
KeyboardLayout = (User Profile)
KeyboardMappingFile = automatic.kbd
KeyboardDescription = Automatic (User Profile)
KeyboardType=(Default)
CREnabled=True
BrowserProtocol=HTTPonTCP
BrowserTimeout=5000
CDMAllowed=On
ClientPrinterQueue=On
ClientManagement=On
ClientComm=On
MouseSendsControlV=True
MouseDoubleClickTimer=
MouseDoubleClickWidth=
MouseDoubleClickHeight=
Hotkey12Shift=Ctrl+Shift
Hotkey11Shift=Ctrl+Shift
Hotkey10Shift=Ctrl+Shift
Hotkey9Shift=Ctrl+Shift
Hotkey8Shift=Ctrl+Shift
Hotkey7Shift=Ctrl+Shift
Hotkey6Shift=Ctrl+Shift
Hotkey5Shift=Ctrl+Shift
Hotkey4Shift=Ctrl+Shift
Hotkey3Shift=Ctrl+Shift
Hotkey2Shift=Ctrl+Shift
Hotkey1Shift=Ctrl+Shift
IgnoreErrors=9,15

[Thinwire3.0]
DesiredHRES = 640
DesiredVRES = 480
DesiredColor = 15 
PersistentCachePath = $HOME/.ICAClient/cache
PersistentCacheMinBitmap = 2048
PersistentCacheEnabled = Off
ApproximateColors=No
UseFullScreen=True

Last edited by dramatis.persona (2021-07-22 23:55:00)

Offline

#6 2021-07-22 22:47:06

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Two Problems: Loss of Sound due to Citrix and Desktop Sharing in Teams

Please edit your post and use [ code ] tags (not quote tags) when posting output. This makes the output easier to read and provides a scroll box for long output.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#7 2021-07-29 14:21:59

dramatis.persona
Member
Registered: 2021-03-02
Posts: 40

Re: Two Problems: Loss of Sound due to Citrix and Desktop Sharing in Teams

Actually, it appears that if I just disconnect Citrix, the audio starts to function again.

So, I believe something in Citrix takes over the audio (but only after a while) and then doesn't release it so that I can't watch YouTube videos or anything else that pulseaudio uses (I guess).

Also journalctl seems to be emitting the following information almost every second when I am using Citrix:

Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 53
Jul 29 10:28:49 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 3
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:49 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:48 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:28:47 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0


Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 13
Jul 29 10:30:02 archanon citrix-wfica[75713]: SSLPutDataFn inbuffersize: 69
Jul 29 10:30:02 archanon citrix-wfica[75713]: doEncryptData inbuffersize: 14
Jul 29 10:30:02 archanon citrix-wfica[75713]: CamPoll: WRITE AudioOut command is not valid in the Error state
Jul 29 10:30:02 archanon citrix-wfica[75713]: ProcessErrorDevice: Invalid command (0x2) for ERROR state
Jul 29 10:30:02 archanon citrix-wfica[75713]: CGPrecv: socket 0x55b335674240, stream=0

Last edited by dramatis.persona (2021-07-29 14:31:24)

Offline

Board footer

Powered by FluxBB