Launched Apps in XenApp Sessions Disappear After a Few Seconds

Launched Apps in XenApp Sessions Disappear After a Few Seconds

book

Article ID: CTX139150

calendar_today

Updated On:

Description

XenApp sessions disappear after a few seconds when EUEM service is started.

Background

Environment

XenApp server with EdgeSight agent installed.
A launched app disappears after a few seconds, displaying a warning with a network error. If the EdgeSight Agent is uninstalled from the server, the issue is not reproduced and the app is launched correctly.
The source of the problem is not the EdgeSight Agent but the Citrix EUEM service. When the ES agent is installed, EUEM service communicates with Citrix Monitoring Agent service, causing this behavior. With ES agent installed and Citrix EUEM service stopped, the issue is not reproduced, launching the app correctly.

Resolution

To resolve this issue review if the process Cmstart.exe is launched twice through some logon script, for example usrlogon.cmd. In case the process is launched through the logon script also, remove it from the script.
Cmstart.exe is responsible for launching wfshell.exe, which in turn loads various dll, including euem_app.dll. Cmstart must not be launched explicitly in a logon script as it is already executed from: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AppSetup.


Problem Cause

Launching Cmstart.exe twice could cause this kind of behavior.

Issue/Introduction

This article contains resolution to launch apps in XenApp Sessions successfully.