EzDevInfo.com

citrix interview questions

Top citrix frequently asked interview questions

Building a Test Citrix Environment

Our customers occasionally ask whether our software would run in a "Citrix environment". Which Citrix products make a typical Citrix environment?

How in general does one build a typical Citrix environment for test purposes?


Source: (StackOverflow)

Determine if a program is running on a Remote Desktop

Is there a way my program can determine when it's running on a Remote Desktop (Terminal Services)?

I'd like to enable an "inactivity timeout" on the program when it's running on a Remote Desktop session. Since users are notorious for leaving Remote Desktop sessions open, I want my program to terminate after a specified period of inactivity. But, I don't want the inactivity timeout enabled for non-RD users.


Source: (StackOverflow)

Advertisements

How can a program detect that it is running on Citrix?

I am creating a program, which may or may not run inside a Citrix instance. The program needs to detect this, because it needs to behave in a different way on Citrix. How can it be detected in a reliable way? So far, my best guess was to check whether the computer has a C-drive.


Source: (StackOverflow)

UI Automation in Citrix [closed]

I would like to be able to use a tool like WatiN to automate somethings that needs to interact with a Web App that is access by using an instance of IE running on Citrix. So far it seems impossible to interact with the window at even a rudimentary level using SendKeys as the internal UI components seemingly do not have a handle.

Has anyone been able to do this or anything similar?


Source: (StackOverflow)

delphi form destroy under citrix

I work on a complex win32 application written in delphi (Delphi 2006). This application does not officialy support citrix but some of our customer use it under citrix.

The only issue discovered is a big latency when the form is destroy (more than 3s to free the form).

Unfortunatly i'm not able to have more information at this point. I want to eliminate the Delphi known issue theory before go ahead in my investigations.

So my question is: have anyone already seen latency whith Delphi form free under citrix?


Source: (StackOverflow)

Java - Desktop.getDesktop().browse(URI) is supported, but does not open document (a citrix problem?)

(I am not sure if this is the correct place to ask this question. Please move to suitable site)

I have a problem that is shown in below code. It does not work on machine (windows 2008) that has CITRIX Xen App 6-. There is no error, just that browser does not get launched. On my desktop (a windows7 box), it works.

package trials;

import java.awt.*;
import java.io.File;
import java.io.IOException;


public class Launch {

    public static void main(String[] args) throws IOException {
        if (args.length < 1) {
            System.out.println("argument filepath expected");
            return;
        }

        final boolean browseSupported = Desktop.getDesktop().isSupported(Desktop.Action.BROWSE);
        if ( !browseSupported) {
            System.out.println("Browse not supported");
            return;
        }

        final String filename = args[0];
        final File file = new File(filename);
        if (file.exists()) {
            Desktop.getDesktop().browse(file.toURI());
        } else {
            System.out.println(file.getAbsolutePath() + " does not exist");
        }
    }
}

I tried to use "open" as suggested in following answers. It did not work. The problem is narrowed down to 64bit version of Java(Oracle 1.6.0_25)


Source: (StackOverflow)

What are the basics one needs to know when porting an application to Citrix?

I've developed an application (C#) that currently sits on a a number of workstations. Each workstation accesses the same database (MS-SQL). I've been asked to port this to Citrix. Can anyone offer insight into documentation or suggestion of where someone would start with this? Is the application installed on the Citrix server and then simply made available to users or do I need to do further development to make it ready for this type of deployment?

Can anyone offer insight into Citrix application development?


Source: (StackOverflow)

Citrix Server sort of app - on a Mac?

Does anyone know of a similar product to Citrix Server that'll run on the Mac OS?

Essentially, I'm looking to allow multiple remote users to log in to the same OSX Server at the same time (with full visual desktop, not SSH).


Source: (StackOverflow)

Citrix: web fonts not loaded in Citrix browser

We are developing an intranet website and we use Google fonts and Font Awesome the following way:

<link rel='nofollow' href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<link rel="stylesheet" rel='nofollow' href="/libs/font-awesome-4.2.0/css/font-awesome.min.css" type="text/css">

People can access the intranet via Citrix from outside and Citrix has its browser (IE 11). It appears that fonts are loaded in the Citrix browser. If someone accesses the intranet directly inside the network, there is no issue. I am attaching an image showing the difference. The first navigation bar is the one with the issue. You can see that the home icon (Font Awesome) is missing and menu fonts (Google fonts) are not right.

enter image description here

Thanks and regards.


Source: (StackOverflow)

How to correctly prepare Citrix ICA client object instance to make a successful connection to a farm with Citrix Access Gateway?

I am using Citrix ICA client object API to establish a connection to published applications programmatically. Typically, it is as simple as subscribing to a number of events, feeding the object with an ICA file (via LoadIcaFile method) and invoking Connect method.

However, with ICA clients 12.1 or higher, this approach leads to immediate disconnect event in case if CAG is used and ICA file's Address field contains a cryptic token instead of server IP/name. The same approach works fine with an older client (10.x) or if ICA file contains direct server Address (which I assume means CAG is not used)

If anyone had success in programmatic session launches against Citrix Access Gateway environments successfully working with ICA client 12.1 or higher, please share how it was done.

NOTE: my understanding of Citrix server side is very limited, from practise - I believe I met with ICA files containing cryptic Address field coming from Web Interface to farms using any of the following: citrix access gateway, citrix secure gateway, citrix netscaler


Source: (StackOverflow)

Detecting a Citrix XenDesktop Session

I'm looking to determine if our application is running on a XenDesktop session rather than locally. Here is what I have found so far:


We currently have code to detect a Citrix XenApp session similar to the solution mentioned by Helge Klein in "API for Determining if App is Running on Citrix or Terminal Services".

Sadly that solution in a XenDesktop environment is returning back a WTSClientProtocolType of 0 which signifies a local console session.

In response to the same question Josh Weatherly mentioned checking the sessionname environment variable.

However a quick console check with echo %sessionname% on the XenDesktop environment returns back 'Console'.

From "Detect citrix “application mode”?" John Sibly suggested a solution for detecting a remote session (not Citrix in particular):

GetSystemMetrics(SM_REMOTESESSION) however returns 0 which also means that it is a local session.


Does anyone know of a way to detect that it is a XenDesktop session? So far as you can see all my attempts are returning that the session is a local console session.

I'm using XenDesktop Express 5.5, accessing the desktop using the Citrix Receiver Web Plug-In.


Source: (StackOverflow)

Detect citrix "application mode"?

Forgive me for probably using the wrong term for this "application mode".

Our application has a problem during start in that it doesn't show a task bar icon until the main window is up, even though there are loading progress windows, logon-windows, etc. on screen before that.

We change the code to fix this, but unfortunately this fix, when running the app through citrix, now shows two icons, one with just the icon and no text.

Is there a way for me to detect that the application is running through citrix? I don't know the right term for this, but only the app window is brought to the users desktop, not the whole remote desktop.

If it matters, the app is written in Delphi.


Source: (StackOverflow)

Citrix - how to keep smartclient apps from re-downloading every time they are launched

Our company uses Citrix to remote into a terminal server for remote users to launch smart client apps within a virtual window on their machine.

The problem is that smartclient apps are being downloaded each time the user launches them eventhough the version on the remote citrix server has not change. This is due to the user's profile being purged each time they close their Citrix session.

Is there any way to avoid this and still continue to purge the user's profile? Not purging the profile leads to wasted space on the citrix servers and corrupt profile issues.


Source: (StackOverflow)

GoToWebinar organizer Key

How do you obtain the organizer key used in the GoToWebinar REST API? There does not seem to be any help on the web.


Source: (StackOverflow)

Is an SSH tunnel through Citrix Client possible?

I know it is not strictly a programmer question, on the other hand, I would really like to be able to do a simple svn up on the production servers, which would save us a lot of hassle.

Or production servers are within a corporate network, and access is only allowed through a gateway server. From that we can access the actual servers via Remote Desktop. Because of this maintenance unfriendly setup we use a sftp server to get our files to the production server (where the ftp server alwys resets last modified date), so it is complicated to determine which files have changed.

So if it would be possible to setup a ssh tunnel from the actual server through the citrix connection, it would ease the whole update process.

(On further option which I consider is to use bazaar to push our updates to the sftp server and then pull the updates from there, but unfortunately there is no working svn plugin for bazaar available [on windows])


Source: (StackOverflow)