User session stuck on XenApp server


Environment

  • Windows Server 2008 R2
  • Citrix XenApp 6.5

Issue

User’s session is stuck on XenApp server, logging off from AppCenter doesn’t remove them.

Resolution 

1.Log onto the RDS server and launch Remote Desktop Services Manager or connect via another server.

2.Get the Session ID of the hung session from the Session tab:

  • Session: Disconnected
  • User: <Blank>
  • ID: <number>
  • State: Disconnected
  • ClientName: <Blank>
  • LogOnTime: Unknown

3.Click on Processes tab

4.Click on ID column to sort the processes by ID

5.Find the hung ID number

6.There is normally 3 processes visible

  • LogonUI.exe
  • Winlogon.exe
  • Csrss.exe

7.Right-click on winlogon.exe and End Process, once you end this process the other 2 will disappear.

8.DO NOT end process on csrss.exe, this will crash and reboot the RDS server

9.Now the user has cleared from the RDS server and from AppCenter.

Advertisements

XenApp hotfixes not showing in AppCenter


Issue

On some XenApp servers it might not show the installed XenApp hotfixes in the AppCenter console if though they have been installed and are showing in Control Panel > Programs and Features

Resolution

  1. Run dsmaint recratelhc on the affected servers
  2. Close and open AppCenter you will see the hotfix applied.

Error: Shadow failed. Error code 120


Issue

When trying to shadow users with multi-monitors you get an Error Code 120.

Resolution

There is no Citrix resolution for this, it’s a Microsoft RDS issue which effects XenApp shadowing (http://support.microsoft.com/kb/2484290)

Microsoft workaround for this is to install Remote Assistance and use this tool for Shadowing (http://support.citrix.com/article/CTX125693)

Citrix XenApp Policies – Slow to browse for WorkerGroups


Issue

When creating a XenApp policy within AppCenter and applying it to a WorkerGroup it’s very slow after clicking Browse to bring up the list of WorkerGroups.

Resolution

Create a new text file name called Citrix.XenApp.Commands.Remoting.Service.exe.config in C:\Program Files\Citrix\XenApp Commands with following:

<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<runtime>
<generatePublisherEvidence enabled=”false” />
</runtime>
</configuration>

and start/restart the ‘Citrix XenApp Commands Remoting’ service

Citrix AppCenter missing from Start Menu after joining XenApp farm.


After joining a XenApp 6.5 server to a farm the AppCenter disappears from the Start Menu and only the Receiver application exists

Resolution

Browse to and install hotfix DSCXAMx650W002 from http://support.citrix.com/article/CTX132713