login vsi company logo login vsi company logo 250x40
header-02.jpg

Forum Announcement

The Login VSI forum has been disabled and now only serves as an archive. If you would like to submit a new support ticket, please send an email to support@loginvsi.com.

CTXConnector doesn't "see" IE login window

  • ffreire@annaly.com
  • ffreire@annaly.com's Avatar Topic Author
03 Feb 2012 20:01 #75

Hi there,
I'm trying to establish a baseline performance baseline for my lab XenDesktop. I've set everything up and can't see any problems. However, when I try to execute a test using the latest CTXConnector it launches IE and the XenDesktop login window appears but CTXConnector does not detect it, the result being that it times out.

I've tried playing with the "-n" option to no avail.

Here's the command line:
"\\nylabvcs01\VSIShare\CTXConnect\CTXConnector.exe" -s "http://nylabvdi02/Citrix/DesktopWeb/auth/login.aspx" -u "Login_VSI1" -p "Password!" -d "section31" -r "PVS02" -debug
===================================================
\ \ / / ___|_ _|
\ \ / /\___ \| |
\ V / ___) | |
\_/ |____/___|
===================================================
Parsing Parameters
Debug mode Enabled.
List of the parameters:
-s http://nylabvdi02/Citrix/DesktopWeb/auth/login.aspx
-u Login_VSI1
-p Password!
-d section31
-r PVS02
-debug
Arguments Break down:
-s
Arguments Break down:
http://nylabvdi02/Citrix/DesktopWeb/auth/login.aspx
Arguments Break down:
-u
Arguments Break down:
Login_VSI1
Arguments Break down:
-p
Arguments Break down:
Password!
Arguments Break down:
-d
Arguments Break down:
section31
Arguments Break down:
-r
Arguments Break down:
PVS02
Arguments Break down:
-debug
Starting IE
VSI Has encountered an unexpected error and cannot initate a session. Please rev
iew the admin guide at www.loginvsi.com .
Timeout while waiting 30 seconds for document to contain text 'User name: '.
CTXConnector finished.

My environment is
Win7 SP1 64bit
IE 8
AD
XenDesktop 5.5

Thanks

Please Log in to join the conversation.

More
04 Feb 2012 10:05 #77

There should be a log file in %temp%\VSI\log\VSI_XDConnection_debug.log. Could you upload that log file or post the contents of it here?

Please Log in to join the conversation.

  • NRGizzer
  • NRGizzer's Avatar
09 Feb 2012 14:43 #83

Hello,

are there any solutions for this problem ?
Have the same problem here.

Greetings,

Michael

Please Log in to join the conversation.

  • ffreire@annaly.com
  • ffreire@annaly.com's Avatar Topic Author
09 Feb 2012 14:53 #84

In my case running as Local Administrator solved the issue.

Please Log in to join the conversation.

  • NRGizzer
  • NRGizzer's Avatar
09 Feb 2012 14:53 #85

Got it resolved. Problem was that the webinterface language wasn´t set to english.

Greetings,

Michael

Please Log in to join the conversation.

  • RedEyes
  • RedEyes's Avatar
15 Feb 2012 19:53 #94

I have the same problem. I'm testing XenApp 6.0. with the express version.

Please help? I'm logged into the Launcher as a Domain Admin and the Web Interface language is English.

Parsing Parameters
Debug mode Enabled.
List of the parameters:
-s http://xenappsrv-01/Citrix/XenApp/auth/login.aspx
-u Login_VSI1
-p Password!
-d testdomain
-r XENAPPSRV-15
-debug
Arguments Break down:
-s
Arguments Break down:
http://xenappsrv-01/Citrix/XenApp/auth/login.aspx
Arguments Break down:
-u
Arguments Break down:
Login_VSI1
Arguments Break down:
-p
Arguments Break down:
Password!
Arguments Break down:
-d
Arguments Break down:
testdomain
Arguments Break down:
-r
Arguments Break down:
XENAPPSRV-15
Arguments Break down:
-debug
Starting IE
[2012/02/15 18:16:05] Session Monitor is monitoring: CreateProfiles
[2012/02/15 18:16:05] Update interval: 0.5s.
[2012/02/15 18:16:33] End of script, clean shutdown
VSI Has encountered an unexpected error and cannot initate a session. Please review the admin guide at www.loginvsi.com/documentation .
Timeout while waiting 30 seconds for document to contain text 'User name: '.
CTXConnector finished.

Please Log in to join the conversation.

More
15 Feb 2012 20:01 #95

When you open your Citrix webinterface, what security zone is displayed in the status bar of Internet Explorer? If you use IE9 you have to go to file > properties and look at the zone section.

Please Log in to join the conversation.

  • RedEyes
  • RedEyes's Avatar
15 Feb 2012 20:06 #96

Thanks for quick reply. It's in Local Intranet zone.

Please Log in to join the conversation.

More
15 Feb 2012 20:09 #97

Enable protected mode for the Local Intranet zone. You can enabled protected mode by going to Tools > Internet Options > Security. Select Local Intranet and check the Enable Protected Mode checkbox.

Please Log in to join the conversation.

  • RedEyes
  • RedEyes's Avatar
15 Feb 2012 20:50 #98

Sorted!

Thanks v much.

Please Log in to join the conversation.

  • ananthkr
  • ananthkr's Avatar
05 Jul 2012 12:02 #371

Folks,

I am still seeing some issues in running this piece of code. I have some couple of questions,

a. How do we set the web interface language to English, i am not able to find how to proceed with this.

I am getting the following messages while trying to run the test using this tool,

C:\Users\Administrator>\\Citrix-AD.citrix-ads.local\VSIShare\CTXConnector.exe -s
" 2.75.227.16/Citrix/XenApp/auth/login.aspx " -u Login_VSI1 -p Password! -
r "Notepad" -debug
===================================================
\ \ / / ___|_ _|
\ \ / /\___ \| |
\ V / ___) | |
\_/ |____/___|
===================================================
Parsing Parameters
Debug mode Enabled.
List of the parameters:
-s 2.75.227.16/Citrix/XenApp/auth/login.aspx
-u Login_VSI1
-p Password!
-r Notepad
-debug
Arguments Break down:
-s
Arguments Break down:
2.75.227.16/Citrix/XenApp/auth/login.aspx
Arguments Break down:
-u
Arguments Break down:
Login_VSI1
Arguments Break down:
-p
Arguments Break down:
Password!
Arguments Break down:
-r
Arguments Break down:
Notepad
Arguments Break down:
-debug
Starting IE
Entering user
Entering password
Entering Domain
Done with fields
Pressing Login Button
ie.Links.Exists(Find.ById(btnLogin) exists. Trying to click)
done clicking
Waiting for complete
Starting Resoure
Disconnecting
Closing internet explorer
No active test found.
CTXConnector finished.


Your help would be much appreciated.

I am using a Windows 7 SP1 client machine to run the test.

Please Log in to join the conversation.

  • Pekka
  • Pekka's Avatar
09 Jul 2012 08:55 #382

The same problem appears in our environment also. We managed to fix the problem for the first VDI machine by enabling the Protected Mode = On. When we configure Sessions=2, the first machine logs on just fine and starts the testing routine, but the second session doesn't "see" the Citrix XenDesktop Login Window in Internet Explorer. You can see that both IE sessions have the same setting: Local Intranet, Protected Mode = On. Only the first one works, though.

Why can't we configure two or more sessions? Anybody seen this problem before?

VSI Has encountered an unexpected error and cannot initate a session. Please rev
iew the admin guide at www.loginvsi.com .
Timeout while waiting 30 seconds for document to contain text 'User name: '.
CTXConnector finished.

Please Log in to join the conversation.

More
09 Jul 2012 09:10 #384

I believe both of you are experiencing the same problem. I suggest adding -t1 5 -t2 5 to your command line.

CTXConnector has two additional parameters. T1 and T2.
T1 is the time between the web interface presenting the available resources and CTXConnector trying to start the specified resource. If the parameter is not specified it defaults to 25 seconds.

T2 is the time between the resource being started and CTXConnector trying to log off from the web interface.

Please Log in to join the conversation.

  • Pekka
  • Pekka's Avatar
09 Jul 2012 09:57 #385

OK, after watching the procedure for a few times, I realized that the script is not seeing the second logon window because there isn't any.

In the first session, there is a Logon Window for Citrix XenDesktop, and the Launcher machine script inputs the user name LoginVSI1, password and domain correctly.

In the second session, there is no Logon Window anymore, since the user is already authenticated. The launcher machine script sees only the catalog (computer) to which it is authorized to. Launcher wants to input the credentials of LoginVSI2 user, but since LoginVSI1 is already authenticated there is no logon window.

How could this be handled? We cannot change the settings to the whole XenDesktop Server. Can the changes be changed for an individual Catalog, or what? Any help is appreciated.

Please Log in to join the conversation.

More
23 Jul 2012 20:18 #404

Please see my previous post. This is very likely caused by either omitting or using a high T1 or T2 timer as parameter for CTXConnector.

Please Log in to join the conversation.

Start Delivering the Best End User Experience Today

Request a Demo

Login VSI, Inc.

3945 Freedom Circle
Suite 670
Santa Clara, CA 95054

Phone: +1 408 899 7418

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200