Describing the session states displayed in XenApp


A XenApp session, once initiated, can have multiple states.
This is the list of possible session states:

Active, Listen, Idle, Disconnected, Conn, ConnQ or Down
for the most part they are self explanatory, but Conn and Connq need more clarification:

“Conn” is usually shown when a session is initiated but there is no user logged on. A good example is when a Thin Client is booted and it is configured to automatically open a Desktop session on your Citrix environment. The session is initiated but until a user logs on it will stay in Conn state. The only problem with this scenario is when the user takes a long time to log on or doesn’t log on; When the user finally makes the decision to logon to the XenApp server’s where the session was connected The Farm’s Load evaluator may send the connection to another server, so the initial Conn connection stays there waiting to be completed and the only way out is to reboot the server (I am not aware of any Citrix command that kills a Conn session). You might want to try the RDP command RWINSTA to kill the Conn session (no warranties)
If you try to kill the session using the Citrix console it disappears temporarily but when you refresh the screen it will return.
This usually doesn’t occurs on Windows desktops or laptops because you don’t establish a connection until you actually logon via WI or PNA Agent and the connection stays in Conn mode for a very short period of time and no one really notices. You may need to contact the Thin Client manufacturer and find out if there is a way of changing MY DESKTOP settings to prevent the session to be initiated. The Citrix ICA client is usually embedded as part of the Thin Client boot manager or MyDesktop code and it makes difficult for the end user to make any changes.

So, as described by Microsoft: In CONN mode the session is in the process of connecting. If this state continues, it indicates a problem with the connection.

ConnQ – ConnQ is short for ConnectQuery, usually this is seen when a partial connection is made. For example, a user opens the Program Neighborhood client and the farm authentication window appears, this will result in a ConnQ session. The ConnQ will disappear when the user either types their credentials and authenticates to the farm or hits cancel (explanation by Kevin Cook)

from Citrix E-Docs:

To display information about active sessions

Depending on the version of XenApp you have installed, from the Start menu, select All Programs > Citrix > Management Consoles and choose Access Management Console or Delivery Services Console.
Select a server.
From the Action menu, select Change display > Sessions. Information about active sessions appears in the details pane. Each row in the table lists details for one session. The following column labels appear on tabs that display session information.
User. The name of the user account that initiates a session. In the case of anonymous connections, the user name is a string with the letters “Anon” followed by a session number.
Session ID. A unique number that begins with 0 for the first connection to the console. Listener sessions are numbered from 65,537 and numbered backward in sequence.
Type. The type of session – ICA or RDP.
Application – The name of the published application running within this session.
State. A session’s state is listed as To display information about active sessions

Depending on the version of XenApp you have installed, from the Start menu, select All Programs > Citrix > Management Consoles and choose Access Management Console or Delivery Services Console.
Select a server.
From the Action menu, select Change display > Sessions. Information about active sessions appears in the details pane. Each row in the table lists details for one session. The following column labels appear on tabs that display session information.
User. The name of the user account that initiates a session. In the case of anonymous connections, the user name is a string with the letters “Anon” followed by a session number.
Session ID. A unique number that begins with 0 for the first connection to the console. Listener sessions are numbered from 65,537 and numbered backward in sequence.
Type. The type of session – ICA or RDP.
Application – The name of the published application running within this session.
State. A session’s state is listed as Active, Listen, Idle, Disconnected, Conn, ConnQ, or Down.
Client name. The name of the client device that is running the session.
Logon Time. The time at which the user logged on.
Server. The server on which the selected application is running.

Supporting Citrix Article

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: