XenApp 6.5 Session Limits

This seems to be a bit confusing,  and I think Citrix needs to do a much better job explaining/providing details how this works.  Since session policies do not apply to XenApp 6.x and only XenDesktop 5.x, there are multiple forums detailing how Citrix Admins are experiencing challenges with session handling.

Why are they there then? My gut feeling tells me that the reason why you see these policies in place, but they actually don’t work for XenApp, is that they are made for the new version of XenApp, which based on the information that is available, it will communicate to the backend via the Virtual Desktop Agent (VDA) and will be managed via the Desktop Director in the same way XenDesktop is currently managed.

Environment:

  • Windows 2008 R2
  • Citrix XenApp 6.5

Issue:

Session policies do not apply to XenApp 6.5 applications

Background:

In previous versions of XenApp, configuring the Idle and Disconnected session limits was done either from the ICA listener, or through Microsoft Terminal Services group policies.  If you have a GPO set up for your XenApp Servers (located under “Windows Components/Remote Desktop Services/Remote Desktop Session Host/Session Time Limits”) you will see that the “Override user settings” is grayed out.  If that is the case, make sure you take a look at the GPO and disable it.

GPO Session settings

Important:

The session limits settings in a user policy only apply to XenDesktop! so when things are not working and you scratching your head, it is not you, it is the way that things work for now.

From Citrix Support “In XenApp 6, Disconnected Session policies cannot be configured on the Console since they only apply to XenDesktop

Session policies only apply to XenDesktop

Solution:

  • Click the Start menu, select All ProgramsCitrixAdministration Tools, and ICA Listener Configuration.
  • Select the ICA listener, and click the Edit option.
  • On the Session Limits tab, configure the desired value for disconnected sessions in the drop down menu in the End Disconnected Sessionsection. Click the Apply button and then click Ok.

Head over to CTX126775 to read further information and additional registry information

About these ads

EdgeSight – Citrix End User Experience Service not starting

Issue:

I was receiving an EdgeSight Alert regarding the Citrix End User Experience Monitor not working.  The service would not start after a server reboot or manually starting it.

This issue issue is related to the XenApp server not being able to communicate to crl.microsoft.com to validate a certificate.

Error: The Citrix System Monitoring Agent cannot contact the Citrix End User Experience Monitor. EUEM data will not be collected. Contact Citrix Support.

Device: SERVER_NAME

To view more detailed information, go to the following URL: http://your_eds_server/edgesight/app/ops/maint/messages.aspx

Event Viewer displays a error similar to the one below:

Product: EdgeSight
Problem Type: Reporting Services

Description:
Event Type:     Error
Event Source:   Service Control Manager
Event Category: None
Event ID:       7000

Environment:

  • Windows 2008 R2
  • Citrix XenApp 6.5
  • Citrix EdgeSight 5.4

Solution:

  • On the affected XenApp server find the location of the SemsService.exe file. By default, it is located in the C:\Program Files\Citrix\Euem\Service\
  • In the same location, create a text file named SemsService.exe.config.
  • Update the file with the following content:

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

  • Start the EUEM service

EdgeSight – Grace Period license violations detected

I started receiving random EdgeSight alerts on certain servers on a daily basis.  After looking at event viewer and AppCenter alerts, I figure it was not related to the XenApp servers not communicating with the license server

Issue:

Licensing alerts from EdgeSight server on certain XenApp 6.5 Servers

The device SERVER_NAME at IP_ADDRESS has reported Grace Period violations
EdgeSight has detected license violations in the payload for the device SERVER_NAME at IP_ADDRESS.  This device is still within the 14-day licensing grace period.
Please take corrective action to prevent future violations.

Environment:

  • Windows 2008 R2
  • Citrix XenApp 6.5
  • Citrix EdgeSight 5.4

While looking at the EdgeSight log files on the XenApp servers usually located under “C:\ProgramData\Citrix\System Monitoring\Data\SYS_EVENT_TXT.txt”, I noticed the problem was related to the EdgeSight agent not fetching the proper license type.

I checked the agent config on the XenApp server via Control Panel, Citrix System Monitoring Agent and found that on the Mode tab was set to Advanced.  In the past, I always found that the agent would fetch the proper Mode type based on the type of license you have.  This time, I found it a bit weird that the installation would not default to the proper setting by it self.

eds_agent

Solution:

In my case since the environment I was working on had an Enterprise License, I had to configure the agent setting to Basic.  If you have Platinum, Advanced mode is supported.

For future installs, you can run the script below to force the agent to be set to Basic.

msiexec.exe /i "C:\updates\eds_agent\EdgeSightXA6Agentx64.msi"
 COMPANY=NAME_OF_EDS_COMPANY FUNCTIONALITY_MODE=2
 SERVER_NAME=nameofserver.myserver.com SERVER_PORT=PORT_OF_YOUR_EDS_Server(normally 80)

StoreFront 1.2 default tabs and desktop autolaunch

Goal:
1. Control the default Tab behavior in Citrix StoreFront 1.2
2. AutoLaunch a XenDesktop or XenApp Published Desktop
12-14-2012 5-05-01 PM
Solution 1 – Control the Tabs:
Open the web.config file located by default under c:\inetpub\wwwroot\NameOfYourStore\
Locate the following:
<uiViews showDesktopsView=”true” showAppsView=”true” defaultView=”desktops” />
If you wish to change the default to Apps, simply change the syntax to the following:
<uiViews showDesktopsView=”true” showAppsView=”true” defaultView=”apps” />
Solution 2 – Automatically launch a the Desktop once the user logs in (Only works if you have a single Desktop published)
Find the following syntax and make sure the autoLaunchDesktop setting is set to true

<userInterface frameOptions=”deny” autoLaunchDesktop=”true“>

Also, don’t forget to read my previous post on how to speed up StoreFront 1.2 as it is very slow without making modifications

XenApp 6.5 – PowerPoint 2010 flickering

I noticed my screen will flicker from time to time while working with PowerPoint via XenApp 6.5.  Although no one was complaining about it, it really began to annoy me and figure I look into it.

I found out that Office 2010 utilizes hardware acceleration for displaying images (enabled by default), from time to time you will see constant screen flickering when you try to display a presentation with images via XenApp 6.5.  I remember back in my XenApp 5.0 days this really occurred a lot with PowerPoint 2010 as that environment lived on a Server 2003 infrastructure.

The fix:

For Windows 2003,  the issue is fixed by installing this Microsoft Hotfix.

For Windows 2008, you can disable hardware acceleration in PowerPoint via File, Options, Advanced, Display, then click Disable hardware graphics acceleration for each user…

Since most of us XenApp folks are all about automating user profiles, you can set the following regkey into your mandatory profile, or hive it in via a GPO, or AppSense, Citrix Profile Manager, or however you manage your profiles.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Gfx]
“DisableHardware”=dword:00000001

image

 

 

Follow

Get every new post delivered to your Inbox.

Join 50 other followers