You've got a couple options here.  One, just do a simple TCP port check on 5900 and see if it's open.  Two, if you want to get a bit more fancy, add your own protocol (Edit -> Protocols) and add a TCP protocol called VNC that checks port 5900 and looks for a specific string back.  I use TightVNC, and the string I receive on connect is "RFB 003.003".  I don't know if that is consistent among versions or not.  It's easy enough to check.  Just launch VNC on your local machine, open a command prompt, and type:
 
telnet localhost 5900
 
Mark


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SCOFFONI Philippe
Sent: Thursday, June 17, 2004 3:17 AM
To: [EMAIL PROTECTED]
Subject: [SA-list] Check if a VNC Server is alive

Hello,
 
Does anyone make a check to see if a VNC Server is alive ? I would like to test if the port 5900 is responding )
 
Thanks

Philippe

Reply via email to