Thanx bs
 for clarification.

~alok
 

-----Original Message-----
From: Bjørge Solli [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 04, 2006 10:27 PM
To: beginners@perl.org
Subject: Re: Want to start remote desktop thru the CGI script

Please reply below the text you are answering, it makes the whole thing easier 
to follow.

On Tuesday 04 July 2006 18:38, Nath, Alok (STSD) wrote:
>       What I want to provide is a page with some machine Id's.
>       So once somebody clicks the hyperlinks , it should remote desktop 
> instead of telnet.
>
>       Is it not possible ?

It is not possible with perl (AFAIK), since running a program in a CGI script 
will run the program on the *server*, and not on the users client machine. 
The reason it works with telnet is that most (all?) web clients have pre 
defined that all urls starting with telnet:// should start a telnet session on 
the client machine. There is a possibility to do something like 
rdesktop://<ip>, only that no web browser is set up to handle this and it will 
result in an error. I suggest you try looking into java or activeX web based 
clients to remote desktop; google for "web client remote desktop".

--
bs

>       The current script is triggering a telnet session.The same way it 
> cannot do that ???
>
> Just clarifying..
> ~Alok
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
> Of Tom Phoenix
> Sent: Tuesday, July 04, 2006 9:15 PM
> To: Nath, Alok (STSD)
> Cc: beginners@perl.org
> Subject: Re: Want to start remote desktop thru the CGI script
>
> On 7/4/06, Nath, Alok (STSD) <[EMAIL PROTECTED]> wrote:
> > What I want is when I click the hyperlink it should run the command
> >         'mstsc IP Address'(instead of telnet) so that I can remote 
> > desktop to that machine.
>
> So, you want to run a program on the computer at the browser's end of 
> the connection, not the server's?
>
> Browsers shouldn't be able to run arbitrary external programs without 
> manual intervention, so when I want to run a program at the browser's 
> end of the connection, I ask somebody at that end of the connection to 
> run the program.
>
> Hope this helps!
>
> --Tom Phoenix
> Stonehenge Perl Training

--
Bjørge Solli - Office:+47 55205847
Mohn-Sverdrupsenteret, Nansensenteret, Høyteknologisenteret T47 Thormöhlensgate 
47, 5006 Bergen, Norway - www.nersc.no Google Earth: www.nersc.no/GE - TOPAZ: 
topaz.nersc.no

--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
[EMAIL PROTECTED] <http://learn.perl.org/> 
<http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to