I have been having problems with sessions hanging when running VNC over SSH. I will have a session open, and after some time find that the screen has frozen. Refreshing the screen doesn't help, however if I close the session I can open another one just fine (though it seems to take a few seconds longer to reconnect than it did originally). This happens in the following circumstances:
* if I minimize the VNC session window for about 15 or more minutes, the session always freezes immediately after I maximize (I have a batch file printing the time continually and the time is current when I maximise, but does not continue to update). If I minimise and then maximise after a couple of minutes, the session does not freeze. If I maximise between 2 and 15 minutes the session sometimes freezes (almost always after 5 minutes). * if the session is not minimised but just in the background, the session usually freezes but after a more variable and longer length of time. * sometimes the session freezes when I am using it actively. Again, length of time is variable. The setup I am using is as follows: VNC Client (RealVNC Free 4.1.1) on Win XP Pro | Linux firewall running NAT | ADSL Router running NAT | | ADSL Router running NAT | Linux Firewall running NAT & OpenSSHd | Remote machine (RealVNC Free 4.1.1 server) on Win XP Pro -session timeout set to 60000 seconds The only port open on the remote Linux firewall is 22, and I set up a SSH tunnel from local client (with PuTTY) to the remote Linux Firewall, which then forwards VNC traffic to the remote VNC server. I don't see any problem with the SSH session when the VNC session hangs (nothing in the SSH log, SSH terminal session is fine). I have also reproduced the problem connecting from different PCs. I do get an entry in the Windows event log of the VNC server (connection reset by peer 10054), but this entry is logged after the time session froze, so presumably it is a result of the freeze not the cause? If I put the remote machine in front of the Linux firewall (ie just in ADSL router NAT) and connect directly (ie no SSH tunnel) the connection is stable and does not hang. Any assistance in fixing this would be most appreciated. thanks mark. _______________________________________________ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list