Re: Keep-alive script available

2009-09-27 Thread Alex Pelts
Or you can set timeout to 0 and server will not drop connection.

Regards,
Alex


Philip Herlihy wrote:
 One of the most useful features of VNC is the facility to set up a reverse
 connection, initiated from the server to a listening client.  Providing the
 router at the client end can be configured to pass through port 5500, there
 is no need to mess with firewalls and routers at the server end.  As the
 expertise is usually at the client end - that's a good deal!

  

 However, that leaves the job of maintaining the connection, re-connecting as
 necessary, at the server end.  Many times I've had someone set up a
 connection only for it to drop a few minutes after they have left.

  

 I've finally (!) got a script working which provides one solution to this.
 The script, which uses only built-in NT commands (tested under XP), sets up
 a connection and then periodically monitors that it is still live,
 automatically re-establishing the connection if it has dropped.  This
 version is for a client at a location with a known IP address, but it could
 be adapted to use a domain address (including one obtained via dynamic DNS).

  

 If you'd like a copy, drop me a note.  Beyond keeping the attribution in the
 comments, there are no strings attached.

  

 Phil Herlihy

 ___
 VNC-List mailing list
 VNC-List@realvnc.com
 To remove yourself from the list visit:
 http://www.realvnc.com/mailman/listinfo/vnc-list

   



___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: Keep-alive script available

2009-09-27 Thread Philip Herlihy
That might have been a wasted few hours, writing that script, then!  I'd
looked for a suitable configuration but hadn't found one.

Do you mean to say that the connection will survive periods of network
glitch/error/whatever if this setting is used?  Or is there still a role for
my script?  Grateful for any further clarification you can offer on this -
as the perceived unreliability of VNC connections in some situations has
led me to use RDC whenever that's an option.

Philip Herlihy   
Email:   phi...@herlihy.eu.com   
Tel: 020 8521 9157  
Mobile:  07931 546660
Fax: 0870 0511055


-Original Message-
From: vnc-list-boun...@realvnc.com [mailto:vnc-list-boun...@realvnc.com] On
Behalf Of Alex Pelts
Sent: 27 September 2009 17:12
To: Philip Herlihy
Cc: vnc-list@realvnc.com
Subject: Re: Keep-alive script available

Or you can set timeout to 0 and server will not drop connection.

Regards,
Alex


Philip Herlihy wrote:
 One of the most useful features of VNC is the facility to set up a reverse
 connection, initiated from the server to a listening client.  Providing
the
 router at the client end can be configured to pass through port 5500,
there
 is no need to mess with firewalls and routers at the server end.  As the
 expertise is usually at the client end - that's a good deal!

  

 However, that leaves the job of maintaining the connection, re-connecting
as
 necessary, at the server end.  Many times I've had someone set up a
 connection only for it to drop a few minutes after they have left.

  

 I've finally (!) got a script working which provides one solution to this.
 The script, which uses only built-in NT commands (tested under XP), sets
up
 a connection and then periodically monitors that it is still live,
 automatically re-establishing the connection if it has dropped.  This
 version is for a client at a location with a known IP address, but it
could
 be adapted to use a domain address (including one obtained via dynamic
DNS).

  

 If you'd like a copy, drop me a note.  Beyond keeping the attribution in
the
 comments, there are no strings attached.

  

 Phil Herlihy

 ___
 VNC-List mailing list
 VNC-List@realvnc.com
 To remove yourself from the list visit:
 http://www.realvnc.com/mailman/listinfo/vnc-list

   



___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list




___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: Keep-alive script available

2009-09-27 Thread Christopher Woods
 That might have been a wasted few hours, writing that script, 
 then!  I'd looked for a suitable configuration but hadn't found one.
 
 Do you mean to say that the connection will survive periods 
 of network glitch/error/whatever if this setting is used?  Or 
 is there still a role for my script?  Grateful for any 
 further clarification you can offer on this - as the 
 perceived unreliability of VNC connections in some 
 situations has led me to use RDC whenever that's an option.


I wouldn't write it off just yet... Whenever I have network issues my VNC
connections are usually amongst the first things to drop; having a
keep-alive script constantly pinging and reestablishing connections is
definitely one of those why doesn't it have... features imho.


___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: Keep-alive script available

2009-09-27 Thread Alex Pelts
You need to set Disconnect idle client in the  Connections tab to 0.
This will prevent vnc server itself from dropping connections. That is a
server configuration.

If connection broken for some reason it is up to tcp layer to
reestablish connection. It normally can do this if link is restored
within timeout time, which is about 10 minutes if I remember correctly.
If you are using vpn to connect to your server, in my experience, vpn
wold be the source of lost connection much more than vnc. To keep vpn
going you can run some sort of IM client on the viewer side and it will
periodically ping the server thus keeping connection alive.

I use vnc for work and keep session going for 10-11 hours straight
without any problems.

Regards,
Alex


Philip Herlihy wrote:
 That might have been a wasted few hours, writing that script, then!  I'd
 looked for a suitable configuration but hadn't found one.

 Do you mean to say that the connection will survive periods of network
 glitch/error/whatever if this setting is used?  Or is there still a role for
 my script?  Grateful for any further clarification you can offer on this -
 as the perceived unreliability of VNC connections in some situations has
 led me to use RDC whenever that's an option.

 Philip Herlihy 
 Email: phi...@herlihy.eu.com   
 Tel:   020 8521 9157  
 Mobile:07931 546660
 Fax:   0870 0511055


 -Original Message-
 From: vnc-list-boun...@realvnc.com [mailto:vnc-list-boun...@realvnc.com] On
 Behalf Of Alex Pelts
 Sent: 27 September 2009 17:12
 To: Philip Herlihy
 Cc: vnc-list@realvnc.com
 Subject: Re: Keep-alive script available

 Or you can set timeout to 0 and server will not drop connection.

 Regards,
 Alex


 Philip Herlihy wrote:
   
 One of the most useful features of VNC is the facility to set up a reverse
 connection, initiated from the server to a listening client.  Providing
 
 the
   
 router at the client end can be configured to pass through port 5500,
 
 there
   
 is no need to mess with firewalls and routers at the server end.  As the
 expertise is usually at the client end - that's a good deal!

  

 However, that leaves the job of maintaining the connection, re-connecting
 
 as
   
 necessary, at the server end.  Many times I've had someone set up a
 connection only for it to drop a few minutes after they have left.

  

 I've finally (!) got a script working which provides one solution to this.
 The script, which uses only built-in NT commands (tested under XP), sets
 
 up
   
 a connection and then periodically monitors that it is still live,
 automatically re-establishing the connection if it has dropped.  This
 version is for a client at a location with a known IP address, but it
 
 could
   
 be adapted to use a domain address (including one obtained via dynamic
 
 DNS).
   
  

 If you'd like a copy, drop me a note.  Beyond keeping the attribution in
 
 the
   
 comments, there are no strings attached.

  

 Phil Herlihy

 ___
 VNC-List mailing list
 VNC-List@realvnc.com
 To remove yourself from the list visit:
 http://www.realvnc.com/mailman/listinfo/vnc-list

   
 



 ___
 VNC-List mailing list
 VNC-List@realvnc.com
 To remove yourself from the list visit:
 http://www.realvnc.com/mailman/listinfo/vnc-list




   



___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list