For some non-windows clients or for some legacy applications, sometimes we needs to publish server desktop running XenApp. After publishing servers desktop, users are given access to server running XenApp and all the underlying resources, so it is risky as users can change any configuration of the underlying XenApp that may end up in messing the environment. To minimize risk, server desktop should not be published to less experienced users or if published, proper policies through GPO should be implemented.
Access Management console is required to publish XenApp desktop.
Below are the steps required to publish a Server desktop.
- Citrix Access Management console should be installed on the XenApp farm.
- Person who is publishing server desktop should have full administrative rights on Access management console.
- Double click on the desktop icon “Access Management Console” or launch the exe “CmiLaunch.exe” from "C:\Program Files\Common Files\Citrix\Access Management Console – Framework\". Citrix Access Management console window will be launched. Left side of window will have tree structure as shown below. It has a node for Presentation server and under it, there is a node for XenApp farm. It has different folders under it to manage the farm. For this article, our interest is the “Applications” folder under it.
- Right Click on “Applications” folder and Select New –> Create Folder as shown below:
- Following screen will appear: Enter the application name and click ok. It will create “Desktops” folder under the applications node.
- Right click on “Desktops” folder and select New –> Publish application. “Welcome” screen will appear: Click Next
- “Name” screen will appear, add the following details and Click Next: Display Name: desktop – SERVERNAME | Application description: desktop – SERVERNAME
- “Type” screen will appear, Select the radio button for “Server desktop” and Click Next.
- “Servers” screen will appear, Click on “Add” button to add all the servers whose desktop needs to be published. Servers added here will be having load balancing.
- “Users” screen will appear for adding users who will have access rights on the published desktop. Click Add button and it will open “second screen”. On that screen, click on “Add List of Names” button to add the users. “third Screen” will appear. Enter the users into the screen and click “Check Names” button to see the validity of the entered users. Once verified click Ok. Click Ok on second screen and click Next on First screen. Note: You can add any number of users from the below screens but the best practice is to have active directory group containing all the required users and that group can be added directly to the below screen. With active directory group it is very easy to manage users. By manage I mean, addition and deletion of users.
- “Shortcut Presentation” screen will appear. Enter “Desktops” folder in the textbox for “Client application folder”. If the user access is through web ICA, do not check the checkbox for “add to the client’s start menu” and “add shortcut to the client’s desktop”. Note: You should enter the folder name that you have created at step 2 above. Users will see the application icon under this folder in their web ICA session. Check for the icon to be displayed to the users. If you want to change it, click on change icon button, following screen will appear, select the appropriate radio button and get the required icon and click Ok and then click Next to the parent screen.
- “Publish immediately” screen will appear, select the checkbox for “Configure advanced application settings now” and click next.
- Access control screen will appear: Keep the default options and click Next.
- “Limits” screen will appear: Depending on the application architecture and the bandwidth, check the checkbox for “Limit instances allowed to run in server farm” and then add Maximum instances. Click Next.
- “Client options” screen will appear: Select the different options based on your requirements like the bandwidth, security or printing requirements. Click Next. Note: For Client audio, refer to the article https://mdaslam.wordpress.com/2009/11/24/xenapp-legacy-audio/
- “Appearance” screen will appear: Select the appropriate session window size and required color depth. Click Finish. Note: For seamless mode, selecting any value under “session window size” will not make any difference. For Color depth, refer to my article: https://mdaslam.wordpress.com/2009/09/22/xenapp-colors-depth-in-published-application-properties/ After this step, server desktop will be published and available under “Desktops” folder. Users who are given access to this icon, will be able to see it in Web ICA session.
To learn how to publish application in XenApp, refer to my article https://mdaslam.wordpress.com/2010/06/10/application-publish-in-xenapp/