Contents

AutoStart Applications

Website Visitors:

How to Configure Auto Launch for a Single Published Application on Web Interface 5.x

Summary

This article describes how to configure Auto Launch for a single published application on Web Interface 5.x.

Background

By default, Citrix Web Interface 5.x Auto Launch feature only works for a single published desktop (through either XenApp, XenDesktop, or both). By modifying the code, you can allow a single published application to be auto launched when users log on.

Requirements

Citrix Web Interface 5.1.x or later Citrix XenApp 4.5 or later Publish a single application for user(s) Workstation with Internet Explorer, Firefox browser, or both.

Note: The Auto Launch feature on Web Interface 5.x disables Workspace Control functionality. Make sure to apply this procedure for an environment that does not require Workspace Control. For this article, Citrix Web Interface 5.3, Citrix XenApp 4.5 with Hotfix Rollup Pack 6 and Internet Explorer 8.0 were used.

Procedure

From Web Interface 5.x:

  • Open the AppList.java file under the following folder: \inetpub\wwwroot\Citrix\\app_code\PagesJava\com\citrix\wi\pages\site\

  • Look at line #55(Open the same file with notepad++ and search for the below entry. In citrix website it is given as line no. #55 and when I tried in my machine, it is line no. #50) for the following entry: import com.citrix.wing.webpn.DesktopInfo;

  • Replace that line with the following line: import com.citrix.wing.webpn.ApplicationInfo;

https://www.mediafire.com/convkey/14b2/jxtfk5vjjh1athj5g.jpg
ApplicationInfo key
  • Go to line #771(Open the same file with notepad++ and search for the below entry. In citrix website it is given as line no. #771 and when I tried in my machine, it is line no. #620)  for the following entry: if ((singlePublishedItem != null) && (singlePublishedItem instanceof DesktopInfo))

  • Replace that line with the following line: if ((singlePublishedItem != null) && (singlePublishedItem instanceof ApplicationInfo))

https://www.mediafire.com/convkey/d824/xdl2ptmjxmovfjz5g.jpg
Application Info liner
  • Save the file.

  • Go to the following folder: WebInterface.conf file under \inetpub\wwwroot\Citrix\\conf

  • Look at line# 44 for the following entry:

  • # AutoLaunchDesktop=Off

  • Replace that line with the following line: AutoLaunchDesktop=On

https://www.mediafire.com/convkey/8ba7/k7ar5a0v17cgbwo4g.jpg
Auto Launch Desktop
  • Save the file.
  • Run IISRESET and test.

From the Client Workstation:

  • Add the Web Interface site as a Trusted Sites on Internet Explorer browser. For Firefox users, you do not have to do anything else.

  • When testing, the end result should be like the following screen shot:

https://www.mediafire.com/convkey/f095/0k4h7c0jgfvmy5u5g.jpg
Validation in Web Interface

Want to learn more on Citrix Automations and solutions???

Subscribe to get our latest content by email.

If you like our content, please support us by sponsoring on GitHub below: