Citrix NetScaler 10: Apply Citrix Receiver Theme

You may have noticed in the Release Notes of Citrix NetScaler 10 that is possible to apply the new Citrix Receiver theme to the Access Gateway Enterprise logon page.

As per the Release notes:

Apply the Citrix Receiver theme to the logon page
You can use the command line to overwrite the original Access Gateway logon page with the Citrix Receiver theme

Only the how is nowhere to be found in the Citrix documentation. Update: the official Citrix product documentation on how to apply the Citrix Receiver theme to Citrix Access Gateway Enterprise 10 can be found here:
http://support.citrix.com/proddocs/topic/access-gateway-10/agee-client-connect-cr-new-theme-page-tsk.html
So, although the explanation below will work, I’d have to recommend using Citrix product documentation.

Well, Jarian Gibson found out how (So no credit for me), you can also go tot the forum post, it is the same task sequence.

Before overwriting the Access Gateway original interface you could choose to make a backup of the current interface directory, if you like make an SCP (WinSCP) connection to NetScaler and backup the /netscaler/ns_gui directory entirely.

Log into Citrix NetScaler by using SSH (puTTY):
> shell
# cd /var/netscaler/gui/vpns/customization/receivertheme
# tar -xvzf receivertheme.tar.gz
# cp -r /var/netscaler/gui/vpns/customization/receivertheme/ns_gui/* /netscaler/ns_gui

To make sure your Citrix Receiver theme stays intact after NetScaler reboots, do the following (on every NetScaler appliance):

# mkdir /var/customizations
# cp -r /var/netscaler/gui/vpns/customization/receivertheme/ns_gui/* /var/customizations
# touch /nsconfig/rc.netscaler – (if rc.netscaler does not yet exist)

Add the line “cp -r /var/customizations/* /netscaler/ns_gui >> /nsconfig/rc.netscaler” (without the quotes) to the rc.netscaler file. This file is in the /nsconfig folder. If it does not exist you can create it by executing:

# touch /nsconfig/rc.netscaler

You can also add the line “cp -r /var/customizations/* /netscaler/ns_gui >> /nsconfig/rc.netscaler” (without the quotes) to the rc.netscaler file by executing:

# echo cp -r /var/customizations/* /netscaler/ns_gui >> /nsconfig/rc.netscaler

Citrix_Receiver_Theme

So, again, any thanks go to Jarian for finding this out!

Update: the official Citrix product documentation on how to apply the Citrix Receiver theme to Citrix Access Gateway Enterprise 10 can be found here:
http://support.citrix.com/proddocs/topic/access-gateway-10/agee-client-connect-cr-new-theme-page-tsk.html

About Henny Louwers
I work as a Consultant specialized in Application Delivery, Virtualization of Servers, Desktops and Apps.

%d bloggers like this: