Push to Remote PC

Nick Palmer nickp "at" ericwright.co.uk
Mon, 11 Jun 2001 10:11:54 +0000


Is this to a Windows client, and if so, is it to 9X/ME or NT/2K?  If yes,
and to NT/2K I might have an answer; I've pushed the service out to
individual workstations via the following method:

1.  Install VNC service on local PC on either 2K or NT depending on target
OS (Target OS has relevance for a regedit merge later).

2.  Start service, and give password.

3.  Export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\winvnc and
HKEY_LOCAL_MACHINE\SOFTWARE\ORL.  You can merge these into a single reg file
for simplicity's sake, mine is tridia.reg.

4.  Copy winvnc.exe, omnithread_rt.dll, VNCHooks.dll and zlib.dll to a
central location, such as a server

5.  Create a batch file with the following (or similar, depending upon where
you put the copied files, etc.)lines in the same place as the copied files:
MD "C:\Program Files\TridiaVNC\win32"
copy \\SERVER\APPS\Tridia\*.* "C:\Program Files\TridiaVNC\win32" /y
%WINDIR%\regedit.exe /s \\SERVER\APPS\Tridia\Settings\tridia.reg

6.  Use task scheduling service (on 2K, or NT4 if IE5 or later is installed,
AT service if NT4, but no IE5) to run the batch file with the command line
pointed to your central distribution point, and with admin privs.

7. Restart target workstation.

I know it's a little longwinded (apologies), but it's worked for me.
Haven't tried anything similar on 9X or ME, though.

Nick Palmer
IT Manager


> -----Original Message-----
> From: Chris Kreis [mailto:ckreis "at" asp.md]
> Sent: 08 June 2001 17:53
> To: vnc-list "at" uk.research.att.com
> Subject: RE: Push to Remote PC
> 
> 
> Hi Scott, see my message 2 before yours (CODE wanted...); 
> looking for the
> same functionality as are many; the "internal" version of VNC 
> has it but not
> the external! I did find some code about how to do it in the 
> mailing list
> archives;
> 
> here it is; I unfortunately don't know how to use it don't 
> know if you do!
> 
> -----------------------------------
> >I want to set up the Windows viewer to
> >auto-listen for server startups.
> 
> 
> I'm not exactly sure what you mean here. It is possible to 
> set the viewer
> to wait for incoming connections from the server, by running it with
> the -listen option (see the docs).
> 
> 
> What we don't include in the public version is a method of 
> initiating these
> connections from the server. We do it here using our CORBA 
> infrastructure,
> but there are various other ways it could be accomplished 
> including, for
> example, command line options on startup.
> 
> 
> If anyone wants to add such a feature to the X server, look 
> for the function
> rfbReverseConnection. On the Windows server you'd need code 
> something like
> the following:
> 
> 
> 
>  VSocket *clientsock;
> 
> 
>  // Create the client socket
>  clientsock = new VSocket;
>  if (clientsock == NULL)
>   throw vnc::connectionFailed();
>  if (!clientsock->Create())
>  {
>   delete clientsock;
>   throw vnc::connectionFailed();
>  }
>  if (!clientsock->Connect((char *)address, port))
>  {
>   delete clientsock;
>   throw vnc::connectionFailed();
>  }
> 
> 
>  // Ok, we've connected back to the desired client, now add 
> it to the server
>  vncClientId client =
>   m_server->AddClient(clientsock,
>        TRUE,
>        teleport,
>        capability,
>        enableinputs,
>        enableinputs);
>  if (client < 0)
>   throw vnc::connectionFailed();
> -----------------------------------------
> 
> If you manage to make it work I'd love to hear about it thanks Chris
> 
> 
> -----Original Message-----
> From: owner-vnc-list "at" uk.research.att.com
> [mailto:owner-vnc-list "at" uk.research.att.com]On Behalf Of Scott Ward
> Sent: Friday, June 08, 2001 12:09 PM
> To: vnc-list "at" uk.research.att.com
> Subject: Push to Remote PC
> 
> 
> Is there a way we can do a push to a remote pc to take control of the
> machine?  We have been on the phone with several of our 
> Guidance Centers who
> are not that familiar with their PC and would love to take 
> control of it for
> some remote training.
> 
> Thanks,
> 
> Scott
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to majordomo "at" uk.research.att.com
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to majordomo "at" uk.research.att.com
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> 


The information contained in this e-mail is intended only for the 
individual to whom it is addressed. It may contain privileged and 
confidential information. If you have received this message in 
error or there are any problems, please notify the sender 
immediately and delete the message from your computer. The 
unauthorised use, disclosure, copying or alteration of this 
message is forbidden. The Eric Wright Group will not be liable 
for direct, special, indirect or consequential damage as a result 
of any malicious program being passed on, or arising from alteration 
of the contents of this message by a third party. 
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------