Troubleshooting ICA Client Audio Issues

This article provides troubleshooting and configuration steps to resolve audio issues within ICA sessions.

Basics of Enabling Sound Through an ICA Session

The following is a list of basics for enabling sound through an ICA session:

  • A sound card is required to be installed only on the client device; the client sound card needs to be configured and fully functional for audio sound. The server does not require a sound card as the Citrix Virtual Audio Driverredirects the sound back to the client through the audio ICA virtual channel.

  • Sound must be enabled on both client and server. If either the client machine or XenApp Server has sound capabilities disabled, then ICA audio redirection does not work.

    • On the client operating system, verify that sound is enabled and not muted.
    • On the server, go to Terminal Services Configuration under the Client Settings tab and verify if Audio Mapping is enabled or disabled. (In Windows Server 2008/R2 for 6.0 & 6.5 this will be the Remote Desktop Session Host Configuration GUI).

      Note: If ICA audio redirection needs to be available in your environment then ensure that none of the Audio options are enabled in the Client Settings. Checking any of the Audio box settings will disable the audio redirection in the ICA session.
  • Currently supported audio formats for ICA audio redirection are: MPEG1 Layer3 Audio, AC3 Audio, WMA Audio, and MP3 Audio.

Client Audio Mapping Support

Client Audio Mapping allows applications running on the server to play sounds through a sound device on the client device. Current client support for ICA Audio Mapping include Win16, Win32, Mac Clients, UNIX Clients, such as, HP, IBM, Solaris, and Linux.

ICA Win32 Clients require any Windows compatible sound card; the ICA Win32 Client uses standard Windows API calls for audio. Additionally, there is no current support at this time for audio redirection in ICA for mobile devices such as Android, iOS for iPAD and iPhone, and so on.

Configuring ICA Audio Settings

Audio Quality for the ICA session can be set in the Citrix Policies, as well as in the Web Interface site under Session Settings > Connection Performance > Sound. Additionally, in XenApp versions earlier than 6.0, the audio quality can be set in the ICA-tcp port under the ICA Setting tab.

You must configure all audio quality settings similarly in the environment. If settings on the client and server (or WI server) are not similar, the lower quality setting is used for the ICA session.

Refer to Citrix Documentation XenApp 6.5 – Audio Policy Settings. For XenApp 7.6, refer to Audio Policy Settings.

Configuration of ICA Audio Settings for XenApp 6.0 and 6.5

In XenApp version 6.0 and 6.5 for Windows Server 2008/R2 configuration of audio settings, such as, sound quality and bandwidth limits, are performed through policy in the Citrix Delivery Service Console (or AppCenter). Alternatively, similar settings can be managed through AD GPO.

Avoiding Data Loss with MP3 Audio Files

When using low quality as the audio setting, the compression of the already compressed MP3 file causes some audio data loss. To prevent this, change the audio quality setting to Medium or High for the connection.

Additional Resources

Citrix Product Documentation – Optimize audio features

CTX121613 ‑ How to Enable and Manage the Client Audio Settings Option for the XenApp Plugin using a Group Policy

Related:

  • No Related Posts

App Layering: Agent installation fails on French Windows, “A failure occured when executing ‘netsh'”

After the installer produces its error, the Agent is still installed. It’s running and functional, except it cannot communicate on port 8016. What you need to do is manually run the two commands that failed.

Run CMD as Administrator, and run this command:

netsh http add urlacl https://+:8016/ user="Tout le monde"

Then we need to assign an SSL certificate to the port: The following document describes how to locate a certificate on a machine and retrieve it’s thumbprint:

https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-configure-a-port-with-an-ssl-certificate

We need the one in Certificates – Local Machine -> Personal -> Certificates called “UnideskAgent”. Double-click on the certificate, click Details, scroff down to the ThumbPrint, and copy it. Paste it into the command and remove spaces. Our AppId is always the one below; don’t forget the curly braces.

netsh http add sslcert ipport=0.0.0.0:8016 certhash=THUMBPRINT appid={bf28cef2-7642-4294-b3d3-a68c2e971031}

You will also need to manually register this Agent service with the ELM so it is visible in the PVS Connector.

https://www.unidesk.com/support/learn/4.3.0/vmware_vsphere/itoc_2_install_vs4/get_started_deploy_unidesk_elm_vs4#Manual_Register

Basically, run CMD As Administrator. Then:

CD C:Program Files (x86)CitrixAgentCitrix.AppLayering.Agent.Service.exe register /i /e:IP_Address_of_ELM /u:Administrator

Then the agent should appear in the Create Connector page.

Related:

  • No Related Posts

Cannot input Simplified/Traditional Chinese or Japanese in Windows server 2019/2022 or Windows 10/11

Perform the following workaround,

  • To input Simplified Chinese, install Microsoft Pinyin IME through UI configuration “Settings” -> “Time & Language” -> “Language” -> “Add a Language” -> “Chinese (Simplified, China)”
  • To input Traditional Chinese, install Microsoft Bopomofo IME through UI configuration Settings” -> “Time & Language” -> “Language” -> “Add a Language” -> “Chinese (Traditional, Taiwan)”
  • To input Japanese, install Microsoft Japanese IME through UI configuration Settings” -> “Time & Language” -> “Language” -> “Add a Language” -> “Japanese”

OR

  • Use DISM command guide in https://docs.microsoft.com/en-us/troubleshoot/windows-server/deployment/chinese-ime-dictionaries-not-ready

Related:

  • No Related Posts

VDA Cleanup Utility

Disclaimer

These software applications are provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.

Related:

  • No Related Posts

While using FAS application launch fails with error “Cannot start app “

Application launch fails with error “Cannot start app “, Event ID 1 and 28 are logged on Storefront servers.

Event ID: 1

Description:

The Federated Authentication Server at: <FAS Server FQDN> returned a server error: 1 for method AssertIdentity

System.ServiceModel.FaultException`1[[Citrix.Authentication.UserCredentialServices.FederatedAuthenticationServerFault, Citrix.Authentication.UserCredentialServices, Version=7.20.0.1, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Access Denied (FAS server ‘FAS Server FQDN’ correlation: f8a6a44c-ca62-449d-ae54-012e81661e4b)

Event ID: 28

Description:

Failed to launch the resource ‘<ApplicationDesktop Name>’ using the Citrix XML Service at address ‘??’. An unknown error occurred interacting with the Federated Authentication Service. See the inner exception for more details.

Citrix.DeliveryServices.FederatedAuthenticationService.VdaLogonDataProvider.Diagnostics.FasException, Citrix.DeliveryServices.FederatedAuthenticationService.VdaLogonDataProvider, Version=3.23.0.0, Culture=neutral, PublicKeyToken=null

An unknown error occurred interacting with the Federated Authentication Service. See the inner exception for more details.

at Citrix.DeliveryServices.FederatedAuthenticationService.VdaLogonDataProvider.FasLogonDataProvider.GetVdaLogonData(IClaimsPrincipal claimsPrincipal, HttpContextBase httpContext)

at com.citrix.wing.core.mpssourceimpl.MPSFarmFacade.GetVdaLogonData(Context context)

at com.citrix.wing.core.mpssourceimpl.MPSFarmFacade.GetAddress(Context ctxt, String appName, String deviceId, String clientName, Boolean alternate, MPSAddressingType requestedAddressType, String friendlyName, String hostId, String hostIdType, String sessionId, NameValuePair[] cookies, ClientType clientType, String retryKey, LaunchOverride launchOverride, Nullable`1 isPrelaunch, Nullable`1 disableAutoLogoff, Nullable`1 tenantId, String anonymousUserId, List`1 zoneIds)

at com.citrix.wing.core.mpssourceimpl.MPSLaunchImpl.GetAddress(Context env, String appName, String deviceId, String clientName, Boolean alternate, MPSAddressingType requestedAddressType, String friendlyName, String hostId, String hostIdType, String sessionId, NameValuePair[] cookies, ClientType clientType, String retryKey, LaunchOverride launchOverride, Nullable`1 isPrelaunch, Nullable`1 disableAutoLogoff, Nullable`1 tenantId, String anonymousUserId, List`1 zoneIds)

at com.citrix.wing.core.mpssourceimpl.MPSLaunchImpl.LaunchRemoted(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.mpssourceimpl.MPSLaunchImpl.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.applyaccessprefs.AAPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.clientproxyprovider.CPPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.connectionroutingprovider.CRPLaunch.LaunchInternal(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams, Boolean useAlternateAddress)

at com.citrix.wing.core.connectionroutingprovider.CRPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.bandwidthcontrolprovider.BCPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at Citrix.DeliveryServices.ResourcesCommon.Wing.WingAdaptors.OverrideIcaFileLaunch.Launch(Dictionary`2 launchParams, Context env, AppLaunchParams appLaunchParams)

at Citrix.DeliveryServices.ResourcesCommon.Wing.WingAdaptors.LaunchUtilities.IcaLaunch(IRequestWrapper request, Resource resource, LaunchSettings launchSettings, String retryKey, ICasTicketService casTicketService)

System.ServiceModel.FaultException`1[[Citrix.Authentication.UserCredentialServices.FederatedAuthenticationServerFault, Citrix.Authentication.UserCredentialServices, Version=7.20.0.1, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Access Denied (FAS server ‘<FAS server FQDN>’ correlation: f8a6a44c-ca62-449d-ae54-012e81661e4b)

Related:

  • No Related Posts

While using FAS application launch fails with error “Cannot start app “

Application launch fails with error “Cannot start app “, Event ID 1 and 28 are logged on Storefront servers.

Event ID: 1

Description:

The Federated Authentication Server at: <FAS Server FQDN> returned a server error: 1 for method AssertIdentity

System.ServiceModel.FaultException`1[[Citrix.Authentication.UserCredentialServices.FederatedAuthenticationServerFault, Citrix.Authentication.UserCredentialServices, Version=7.20.0.1, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Access Denied (FAS server ‘FAS Server FQDN’ correlation: f8a6a44c-ca62-449d-ae54-012e81661e4b)

Event ID: 28

Description:

Failed to launch the resource ‘<ApplicationDesktop Name>’ using the Citrix XML Service at address ‘??’. An unknown error occurred interacting with the Federated Authentication Service. See the inner exception for more details.

Citrix.DeliveryServices.FederatedAuthenticationService.VdaLogonDataProvider.Diagnostics.FasException, Citrix.DeliveryServices.FederatedAuthenticationService.VdaLogonDataProvider, Version=3.23.0.0, Culture=neutral, PublicKeyToken=null

An unknown error occurred interacting with the Federated Authentication Service. See the inner exception for more details.

at Citrix.DeliveryServices.FederatedAuthenticationService.VdaLogonDataProvider.FasLogonDataProvider.GetVdaLogonData(IClaimsPrincipal claimsPrincipal, HttpContextBase httpContext)

at com.citrix.wing.core.mpssourceimpl.MPSFarmFacade.GetVdaLogonData(Context context)

at com.citrix.wing.core.mpssourceimpl.MPSFarmFacade.GetAddress(Context ctxt, String appName, String deviceId, String clientName, Boolean alternate, MPSAddressingType requestedAddressType, String friendlyName, String hostId, String hostIdType, String sessionId, NameValuePair[] cookies, ClientType clientType, String retryKey, LaunchOverride launchOverride, Nullable`1 isPrelaunch, Nullable`1 disableAutoLogoff, Nullable`1 tenantId, String anonymousUserId, List`1 zoneIds)

at com.citrix.wing.core.mpssourceimpl.MPSLaunchImpl.GetAddress(Context env, String appName, String deviceId, String clientName, Boolean alternate, MPSAddressingType requestedAddressType, String friendlyName, String hostId, String hostIdType, String sessionId, NameValuePair[] cookies, ClientType clientType, String retryKey, LaunchOverride launchOverride, Nullable`1 isPrelaunch, Nullable`1 disableAutoLogoff, Nullable`1 tenantId, String anonymousUserId, List`1 zoneIds)

at com.citrix.wing.core.mpssourceimpl.MPSLaunchImpl.LaunchRemoted(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.mpssourceimpl.MPSLaunchImpl.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.applyaccessprefs.AAPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.clientproxyprovider.CPPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.connectionroutingprovider.CRPLaunch.LaunchInternal(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams, Boolean useAlternateAddress)

at com.citrix.wing.core.connectionroutingprovider.CRPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at com.citrix.wing.core.bandwidthcontrolprovider.BCPLaunch.Launch(Dictionary`2 parameters, Context env, AppLaunchParams appLaunchParams)

at Citrix.DeliveryServices.ResourcesCommon.Wing.WingAdaptors.OverrideIcaFileLaunch.Launch(Dictionary`2 launchParams, Context env, AppLaunchParams appLaunchParams)

at Citrix.DeliveryServices.ResourcesCommon.Wing.WingAdaptors.LaunchUtilities.IcaLaunch(IRequestWrapper request, Resource resource, LaunchSettings launchSettings, String retryKey, ICasTicketService casTicketService)

System.ServiceModel.FaultException`1[[Citrix.Authentication.UserCredentialServices.FederatedAuthenticationServerFault, Citrix.Authentication.UserCredentialServices, Version=7.20.0.1, Culture=neutral, PublicKeyToken=a80ce61cfbf8b47a]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Access Denied (FAS server ‘<FAS server FQDN>’ correlation: f8a6a44c-ca62-449d-ae54-012e81661e4b)

Related:

  • No Related Posts