There is a great blog post from Ingmar Verheij explaining the new HP Smart Client software which is part of the new HP flexible Thin Client series (T410,T510,T610). Please read his blog to get a better understanding about the HP Smart Client software.
In this blog I will show you how you can customize the appearance of the Smart Client, I will give an example how to change the login page when connecting to a Citrix back-end, but you can also use this information when customizing the Smart Client for other protocol connections.
Ok lets start from scratch :
When you configure the Smart Client for use with XenApp\XenDesktop you will get the following logon screen :
(Screenshot is taken with a camera)
As you can see HP made a default page that looks very similar to the Citrix Web Interface 5.4 layout. In the Smart Client admin guide, there is a chapter about customizing the layout but I found it very unclear. So my goal was to get the existing files from the Smart Client to get an example of how this login page is constructed. Because every door on the Smart Client is locked, in terms of remote file management, there is no easy way to get to the files on the Smart Client.
To fetch the files I used the drive mapping feature of the Citrix Receiver for Linux, the default location of the drive redirection is \media, this is the mount point in Linux for USB sticks and other storage devices. By default this folder is mapped as drive leter Z: in the session. In the profile editor enable drive mapping and change the drivePathMappedOnZ value to /etc, see the below screenshot :
After rebooting the Smart Client, logon to a XenApp\XenDesktop session and open the drive letter Z: You will now see the content of the ETC folder from the Smart Client, browse to the following folder hptc-zero-login\styles there you will find all the default styles from the different connection protocols, see screenshot :
In this case we will open the xen folder, because we want to edit the Citrix login page styles. Copy the folder from the Smart Client to a different location so we can start editing them, in the folder you will find this 2 files :
bgConfig.rtf
This file consists of the layout setting of the login screen, it’s very easy to edit this file and make customization to it, so I will not cover all the options but instead give an example :
Change the background color to white :
global {
color: FFFFFF; # White
padding: 20; # 20 pixels
}
Change the default footer text :
text {
name: ad line;
text: Welcome to bikinis.com, type in your cup size and password to continue;
position: %50%,85%;
alignment: hcenter vcenter;
color: 000000;
font-size: 16pt;
max-width: 98%;
context: login;
}
Change the logo :
image {
name: computers image;
source: /usr/share/icons/hptc-zero-login/mypicture.png;
position: 50%,50%;
alignment: hcenter vcenter;
context: login;
}
As you can see the image source directory is on the USR directory, if you want to retrieve them simply change the ETC drive redirect folder from the previous step to USR and browse to the /usr/share/icons/hptc-zero-login folder.
XenDesktop.qss
In this file you can edit the dialog text, in this example I will change it to Dutch :
}
LoginArea QLabel#loginHeader {
qproperty-text: Welkom;
color: white;
font-size: 20pt;
text-align: left;
}
LoginArea QLabel#userLabel {
qproperty-text: Gebruikersnaam;
color: white;
font-size: 12pt;
}
LoginArea QLabel#passwdLabel {
qproperty-text: Wachtwoord;
color: white;
font-size: 12pt;
}
LoginArea QLabel#domainLabel {
qproperty-text: Domein;
color: white;
font-size: 12pt;
}
Ok now we want to deploy this custom files to all the Smart Clients out there, to do this open the Profile editor and go to the additional Configuration Files section, add the files like this :
Now reboot the Smart Client and voila :
Conclusion :
In this blog post I explained how you can customize the appearance of the HP Smart Client. You can also use this Drive Redirect option to view other files on the Smart Client such as the ICA client files. In this way you can deploy custom settings to the Smart Client by editing the files and deploy them through the Smart client Profile editor. This is useful when you cannot find the setting in the registry options in the Profile editor.
* Note you can also redirect the style directory so you can place them in a different folder, in this case I used the default locations, but the style directory can be set to a custom location with this option :
Follow me on twitter (@bramwolfs) if you want to be notified when a new blog post is available!
Please note that the information in this blog is provided as is without warranty of any kind.
Great post I wish HP would have better documentation for the smart clients. I tested it on a T610 Plus and when i make a simple change like changing the wording at the bottom it sets the back ground to a grey color with the logon box.
Hi George,
Thanks for the feedback.
Check the format of the rtf file, I modified it with Wordpad then it should work.
Bram
This was very helpful however, we have now run into a problem with the 510 TC where it is copying the new bgconfig file over but it is not reading it. It wirked great the first few times but then we needed to reinstall profile editor and it has not worked since. We have also tried redirecting the file to a new folder. It created the new folder iwth the .rtf file in there and the redirect per your instructions looks accurate but it is still loading the default bgconfig.rtf.
Hi Terry,
I will send you an example bgconfig.rtf file, so you can compare them.
Bram
Is there any instructions for RDP? I can’t seem to find access to /etc since there is no drivePathMappedOnZ setting for freerdp.
Hi Darin,
Yes there is a folder for freerdp where you can make modifications, I can send you the folder if you like.
Kind Regards,
Bram
Hi Bram, can you send me folder for RDP(maxmen30@gmail.com)?
Done!
Hello Bram,
Do you think you could send me the rdp files also? I would really appreciate it – Thanks a ton! 🙂
Done!
I am having the same problem as Darin.
Can you also send me the files thanks.
Also how do you then get the edited files back onto the Linux device as I cant find a way to access it.
Thanks,
Done and you can use the Smart Client profile editor for that, it’s also explained in this post.
Bram
Sorry to be a pain Bram, but Can you forward also to Jamie.lynch@marshalls.co.uk. Can you put them in a zip?
Cheers
Jamie
Great blog!
Hi. Could you send me RDP folder.
Thanks. Aley
Hi Bram, can you send me folder for RDP(elalex24@gmail.com)? Cheers!
Very nice write up! We have T410 AIO and I am trying to configure the Citrix Receiver look and have been running into some trouble. Do you have some example .qss files and .rtf files that i could reference and compare what I have been working with.
Hi Chas,
Thanks, I will send you some example files.
Bram
Hello Bram,
Do you think you could send me the rdp files also? Thanks you
Done
thank you !!!!!! 🙂
Bram, I’m sorry for my bad english 🙂 I ask you to help me with rdp for HP t 410, if you have the templates, then I beg you to send them to me! very grateful!
Hi Bram,
I wanted to add an Mozilla Firefox extension to the default browser within a T610, we can do it manually but then it dissapears after restart (the add on file remains, it’s just the browser profile that gets wiped ) we have tried in root user admin mode! I need the add on to be installed read only permanatly into the deafault image that runs in kiosk mode for all users 🙂
Hi Andy,
That’s a good one, maybe it’s possible to load the browser profile and extensions during boot time through the smart client service, then you need to export the browser profile and inject the files in the smart client profile.
Bram
Hi Bram,
Could you send me the RDP files too?
Thanks
I would love these files too, thanks in advance
hi,
love you’re post.
but how to get the shutdown button at the logon screen?
thanks
hi,
How to get those buttons like shutdown at the logon screen?
thanks
I think you installed Thinpro, you should download the Smartclient image from the HP site and install it to the Thinclient then you will have the locked down version with the buttons on the homescreen.
Bram
Hi,
Thank you, it’s very informative. I have a question: where (path) can I find the elements to modify the login dialog box? I want to remove the “Remember me” option.
Once again thank you for the information.