October 10

Citrix: Citrix Summary Database XML Parse error

Citrix Summary Database will sometimes get out of sync you will see the following error in “view server log”:

10 October 2011 12:00:53 - System - XML Parse error: Failed to import summary record.
File: [C:Program FilesCitrixCitrix Resource ManagerSummaryFilesSDB610705853.xml] Line: [16], Position: [3]:
End tag 'SummaryRecord' does not match the start tag 'AlertRecord'.
.
10 October 2011 12:00:53 - System - Failed to import summary file "C:Program FilesCitrixCitrix Resource ManagerSummaryFilesSDB610705853.xml" from host "SRVCTX01".

To fix this start the Citrix Xenapp Advanced Configuration Tool

1. Goto Resource Manager and Click on the Summary Database tab
2. Click configure
3. Remove the checkmark  from the Summary Database enabled status
4. Click OK
5. Click the View Server Log Button
6. With Windows Explorer - Goto the location on the server that is specified in the log file
7. Delete the .XML file
8. Click Configure
9. Replace the check mark to enable the Summary Database
10. Click OK
11. Click Update now
12. Wait until the Update now reappears and see if there are any errors
If there are additional errors repeat the steps above until the error stop
You could also create ascript that could look for a .XML file on all of you servers and delete it if found to speed up this process in the future
Category: Software | Comments Off on Citrix: Citrix Summary Database XML Parse error
October 7

Citrix: Time out settings for disconnected users

When a user disconnects from a Citrix session rather than logging off, the user can sometime run into problems on the next login.
This is especially true if the user does not reconnect to the disconnected session.

I have found it is a good practice to setup Group Policy to auto reset the users connection after they have been disconnected for a certain amount of time.

This setting can be found aat the following location:

Computer ConfigurationPoliciesAdministrative TemplatesWindows Components/Remote Desktop Services/Remote Desktop Session Host/Session Time Limits
Example Settings:
Set time limit for disconnected sessions Enabled
End a disconnected session 5 minutes

To use this:
  1. Create a new Group Policy Object
  2. Edit the Object at the above location with your desired settings
  3. Close the editor
  4. Apply the GP Object to the appropriate OU

            
Category: Software | Comments Off on Citrix: Time out settings for disconnected users
October 5

Citrix: Installing Citrix Receiver 11 on Ubuntu 11

1. Download Citrix receiver 11 from Citrix
Linux i386 Citrix Receiver V.11 – tar,gz
Linux Armel Citrix Receiver V. 11 – tar.gz
2. tar -zxvf filename.tar.gz
3. cd into the decompressed directory
4. type “sudo ./setupwfc” press enter
5. Enter your password
6. Follow the setup prompts until finished
7. type sudo apt-get install libmotif4
8. Copy Firefox’s .crt’s to Citrix’s certs folder: type sudo cp /usr/share/ca-certificates/mozilla /usr/lib/ICAClient/keystore/cacerts (The Firefox certs are found in different locations depending on OS version.)
9. At this point everything should work, but you may need to change the application preferences in Firefox to point ICA files to /usr/lib/ICAClient/wfica,sh if it does not start.

There are a lot of variations to this install.  When I have had libmotif issues with older versions of older versions of libmotif, I have been able to trick the application by using the following:
1. goto /usr/lib/
2. find -name libXm.so.*
3. depending on your version you can like it: sudo ln –s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4

Extra security: If you are encrypting your home directory and would like this to be part of this security you can install this into ~/ as the user.  Follow the above direction but change the target directory.

Also here are some notes from Citrix on how to install this on older versions of Ubuntu:
Installing Citrix Receiver 11.100 on Ubuntu(Older versions)

Category: Software | Comments Off on Citrix: Installing Citrix Receiver 11 on Ubuntu 11
October 5

Citrix: Installing Citrix Receiver 11.100 on Ubuntu(Older versions)

Installing Citrix Receiver 11.100 on Ubuntu
Prerequisites
Citrix Receiver for Linux v11.100 requires OpenMotif v2.3.1 or greater to use the Graphical User Interface (Custom ICA Connections and PNAgent).
OpenMotiv 2.3.1 is not available as a Ubuntu (Debian) Package at the time of this writing. The current version available using the APT package manager is 2.2.3-4.
The first step in this configuration is to install OpenMotif 2.3.1.
Download OpenMotif 2.3.1. You can find this in the download section of motifzone.net. http://www.motifzone.net/filebrowser/openmotif/2.3/2.3.1
You can install OpenMotif 2.3.x by converting the RPM pack to DEB using Alien. Alien is a program that converts between Red Hat RPM, Debian DEB, Stampede SLP, Slackware TGZ, and Solaris PKG formats. The first method described in this article will convert the RPM package to a DEB package.
1. Install OpenMotif 2.3.1.
2. Convert RPM to DEB:
a. Download the RPM package from the website.
http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3-1.el5.3.i386.rpm
b. Install Alien if not already installed:
sudo apt-get install alien
c. Convert RPM to DEB:
sudo alien –d openmotif-2.3.3-1.el5.3.i386.rpm
d. Install the DEB Package:
sudo dpkg –i openmotif-2.3.3-2_i386.db
3. Install using Ubuntu/Debian package:
You can still technically install libmotif3 using the Ubuntu/Debian package manager and create a symbolic link to the required libraries.
sudo apt-get install libmotif3
sudo ln –s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4
4. Install the ICA Client.
Download the Receiver from the Citrix website at:
http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186&c1=sot2755

There are two ways to install: from the DEB package or from source.

Install from DEB package:
dpkg –i ica_client_11.10000_i386.patched.deb

Accept the EULA. Citrix Receiver is now available from the Application Menu under Internet or can be launched from the terminal window: /usr/lib/ICAClient/wfcmgr

Install from source:
a. Download the tar.gz file from the Downloads section of the Citrix website.
http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186&c1=sot2755#top

b. Extract the files:
tar –xzvf linuxx86-11.10000-158406.tar.gz

c. Run the setup script as Super User to install for all users and follow the prompts:
sudo ./setupwfc
Select a setup option:

1. Install Citrix Receiver for Linux 11.10000
2. Remove Citrix Receiver for Linux 11.10000
3. Quit Citrix Receiver for Linux 11.10000 setup

Enter option number 1-3 [1]: 1

Please enter the directory in which Citrix Receiver for Linux is to be installed.
[default /usr/lib/ICAClient]
or type “quit” to abandon the installation:

You have chosen to install Citrix Receiver for Linux 11.10000 in /usr/lib/ICAClient.

Proceed with installation? [default n]: y

CITRIX(R) LICENSE AGREEMENT

Use of this component is subject to the Citrix license covering the
Citrix product(s) with which you will be using this component. This
component is only licensed for use with such Citrix product(s).

CTX_code EP_T_A34320

Select an option:

1. I accept
2. I do not accept

Enter option number 1-2 [2]: 1
Installation proceeding…

Checking available disk space …
Disk space available 16311224 K
Disk space required 6923 K

Continuing …
Creating directory /usr/lib/ICAClient
Core package…
Setting file permissions…
Integrating with browsers…
Browsers found.

Integration complete.
Do you want to integrate Citrix Receiver with KDE and GNOME? [default y]: y
Do you want GStreamer to use the plugin from this client? [default y]: y
Do you want to install USB support? [default n]: y
* Starting Citrix USB daemon [ OK ]

Select a setup option:

1. Install Citrix Receiver for Linux 11.10000
2. Remove Citrix Receiver for Linux 11.10000
3. Quit Citrix Receiver for Linux 11.10000 setup

Enter option number 1-3 [2]: 3
Quitting Citrix Receiver for Linux 11.10000 setup.
Running Citrix Receiver
If you chose to integrate Citrix Receiver with either Gnome or KDE, it is now in the Applications Menu under Internet. You can also run the Receiver GUI using the following command:
usr/lib/ICAClient/wfcmgr

Category: Software | Comments Off on Citrix: Installing Citrix Receiver 11.100 on Ubuntu(Older versions)