Yesterday I was troubleshooting why Workspace Control was not available on an HP t5540 (Windows CE) Thin Client. This was a Citrix Xenapp 5 environment on Server 2008. When logging in through the Web Interface from the Thin Client’s browser we noticed two things: Client Detection failed and the Reconnect and Disconnect buttons were not available: NoButtons I looked into the files in the webinterface folder (wwwroot/Citrix/XenApp)and searched for workplace and reconnect. I determined that the Client Detection is done in the nativeClientDetect.js (app_data/clientDetection/clientscripts). But what I saw was very strange:

// Detect whether ICA Client is available.
<%
if ((sClientInfo.osWinCE() && sClientInfo.isIE())  || sClientInfo.osSymbian() ) {
%>
        // It is difficult to reliably detect processor type for WinCE and Symbian Devices
    // and therefore to choose the right flavour of the ICA client.
    // Also, it is not possible to simply download and install ICA client for some of these devices,
    // e.g. WBTs. Therefore, we assume that ICA client is always available.

    function detectNativeClient() {
        return true;
    }

This suggests that on Windows CE with Internet Explorer the Native Client Detection always returns true! This lead me to think that something was misconfigured on the Thin Client rather than in the Webinterface. I logged in as Administrator on the Thin Client and checked the Browser’s settings and found the Culprit there: by default the User Agent string is configured as “Same as Windows XP”:

UserAgent1

I set the User Agent string to “Default (Windows CE)”:

UserAgent2

Then I started the WebInterface again: WithButtons

That’s much better!

Related posts:

  1. Citrix Solutions Conference 2007
  2. Citrix Desktop Switcher