Triggering an application remotely

  • Thread starter Thread starter Praveen
  • Start date Start date
P

Praveen

Hi All,

I am really new to terminal services technology. Here are some of my
queries,

1. Can a terminal service client be started remotely?

2. Lets say I have a TS server running on a host and have 5 TS clients
on the same host. Is it possible to recognize these 5 clients remotely
and then trigger a small script on each of them?

Looking forward for your help.

-Praveen
 
I don't really understand what you want to establish.
Normally, a TS client is installed on a workstation to start a TS
session on a TS server.

1) If you want to start the TS client remotely, you must find a
way to execute a remote command, which would require....ehhh...
terminal server services on the client....?!?
Theoretically, you could use Remote Desktop from one client to
another XP client and then start a Remote Desktop client to a
Terminal Server. But why do you want to do this, and not start a
TS session to the server directly?

2) How would you install 5 TS clients on the same host? And why on
the Terminal Server?

Please explain what you want to do, maybe then you can get a
better answer.

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup ---

(e-mail address removed) (Praveen) wrote in
 
Hi,

Thanks for your response. Actually we need to run multiple instances
of an application on a machine and use them for various client
requests, therefore we thought if we can leverage on TS somehow.
Please suggest.

Thanks a million.
-Praveen
 
OK, could this be what you want:

* one TS server
* one PC, with the Terminal Services client installed (also known
as Remote Desktop Protocol client)

You configure 5 different Remote Desktop sessions on the PC. All
RDP sessions access the same TS, and all 5 sessions are configured
to automatically start the same application.

Some more questions, though:
have you tried if you can run 5 instances of the application on
the server (from the console)? Do you need this application to run
continuously? If so, wouldn't it be easier to run them
automatically at startup? Or better still, run them as a service?

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup ---

(e-mail address removed) (Praveen) wrote in
 
Hi,

Yes this applications need to run continously. Starting application on
these cliens is just one part, which can be done by either of the ways
you have suggested. Once this applications are started and running, we
need to use them remotely, based on the clients requests. Lets assume
that the application is Window's own calculator, and a small program
of mine (called CalcMul) can use this calculator to multipy two
numbers. Now if 5 users are trying to call CalcMul from their
browsers, I should be able direct their requests to appropriate
CalcMul instance, each running within one TS client. The real
challenges for me is to 1. assign a TS session to one user and
maintain it for the same user till he is done and 2. be able to call
CalcMul remotely.

Regards,
-Praveen Jani
 
Back
Top