Initiating the Broker Connection Flow¶
To initiate the broker connection with the broker client example, set up your login_info.txt
file and then call broker_client_example
using login_info.txt as an argument.
-
Open
login_info.txt
in a text editor. -
Add the following information, in this order, separated by spaces:
- The FQDN of the host server
- The server domain
- The user name
- The user password
- The host name
-
Save the text file.
-
Open a terminal window and type:
bash broker_client_example -i login_info.txt
The broker client example will display a status message similar to the one shown next:
Connected Successfully.
Desktop ID : sal-w7p64-sa15.autolab.local
ip_addr : 10.64.60.147
port : 4172
connect_tag:
SCS1fw0Zbk+Eu7q2iz0/M7mxfEE52au/3Jedtgp16L/rA8iB00+Er+YJd0yIL0xd9M
v5V0CDLSDmUNkOCwyyV1+u3w1aA7hXxEWmzhAA
session_id : 2305843009213693954
sni : SAL-W7P64-SA15
URI: "teradici-pcoip://10.64.60.147:4172?sessionid=
2305843009213693954&sni=SAL-W7P64-SA15", PARAMETERS: "connect-tag=SCS1fw0Zbk%2bEu7q2iz0%2fM7mxfEE52au%2f3Jedtgp16L%2frA8iB00%2bE
r%2bYJd0yIL0xd9Mv5V0CDLSDmUNkOCwyyV1%2bu3w1aA7hXxEWmzhAA"
Launching the Session Client from the Broker Client Example¶
Use the -l
switch (lowercase L, for launch) to have the broker client example invoke the session client. This allows for invoking the session client without worrying about the 60-second connect tag window.
-
Open Command Prompt and change directory to
bin
. -
Run the following command, providing the
login_info.txt
file as an argument:./broker_client_example -l -i login_info.txt