Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • Retaining CAG EE logon page customisations

Retaining CAG EE logon page customisations

Posted on August 18th, 2008

It is possible to customise the Citrix Access Gateway Enterprise Edition (CAG EE) logon page to add a privacy notice or a logo, for example.

Customisation details are located here: CTX117277

However, when the Netscaler device is booted, the customisations you have made are overwritten by the default logon page. I am not sure why this happens as it’s a bit silly and really annoying – especially if you don’t know this before you reboot the device…

The only way to make your customisations appear all the time is to add a startup script to the device to copy the customised files to the correct location at every boot time. This can be achieved as detailed below:

  • Use WinSCP or a similar product to connect to the device to allow files to be copied/moved around.
  • Copy the modified files to a folder (called something like mods). i.e:





  • It is also best to create a blank gif file that is 1 or 2 pixels wide, but the same number of pixels high as the company logo. This can be refered to in the files to remove the black bar across the top. Also add this to the mods directory:


  • Logon to the device using PuTTY or another similar program.
  • Create the rc.netscaler file as shown:

> shell

# touch /nsconfig/rc.netscaler

# echo cp /var/mods/images/logo.gif /netscaler/ns_gui/vpn/images/logo.gif >>/nsconfig/rc.netscaler

# echo cp /var/mods/images/blank.gif /netscaler/ns_gui/vpn/images/blank.gif >>/nsconfig/rc.netscaler

# echo cp /var/mods/index.html /netscaler/ns_gui/vpn/index.html >>/nsconfig/rc.netscaler

# echo cp /var/mods/login.js /netscaler/ns_gui/vpn/login.js >>/nsconfig/rc.netscaler

# echo cp /var/mods/nsshare.js /netscaler/ns_gui/vpn/nsshare.js >>/nsconfig/rc.netscaler

  • Reboot the device to confirm the script is working.
  • Copy the rc.netscaler file to the other device in the HA pair and reboot it to confirm.
  • Digg
  • StumbleUpon
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • Add to favorites
  • FriendFeed
  • Google Buzz
  • LinkedIn
  • Live
  • MySpace
  • Reddit
  • RSS

Tags: , , , , , , ,
Filed under Citrix Access Gateway |

Leave a Reply