I've just spent a happy couple of hours looking into this problem in great detail. Eventually I found the answer. It was the ZoneAlarm personal firewall that was causing the problem. When I stopped ZoneAlarm, everything worked perfectly. I had configured ZoneAlarm to allow vncviewer.exe to access the network, but somehow ZoneAlarm was interfering, only when vncviewer.exe was using a *.vnc config file. Weird.
I've now upgraded to the latest ZoneAlarm and now everything works even with ZoneAlarm running. Thanks for your support and I hope this information helps anyone else who comes across the same problem. James Weatherall wrote... >Mike, > >What is the command associated with the "Open" action of the .vnc file type >open an Explorer window and select Tools->Folder Options, then select the >File Types tab to get this information. > >Are you using VNC Free Edition 4.0? > >Cheers, > >Wez @ RealVNC Ltd. > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Barnes >> Sent: 01 February 2005 13:12 >> To: James Weatherall; [email protected] >> Subject: Re: Newbie, Windows XP, "-config" causes viewer to hang >> >> I can see that 192.168.1.21 looks like a DHCP-allocated address, but >> actually it isn't. I don't have any DNS server (that I know >> of!) on this >> LAN, so I allocate all IP addresses manually, in order to >> avoid the kind >> of problem you're suggesting. In fact 192.168.1.21 has been in >> continuous service for several months now (it's our domestic jukebox). >> >> I can alternate between successfully connecting to 192.168.1.21 using >> the "VNC Viewer: Connection Details" dialog box, and failing >> to connect >> to it using the configuration file. >> >> On a hunch that it might turn up something useful, I've tried changing >> the host address in the configuration file to various things... to an >> unused IP address (192.168.1.123), to the address of a PC that exists >> but isn't running the VNC server (192.168.1.18), and to >> "garbage". They >> all produced the same result. >> >> As a matter of interest, is the "Attempting to connect to host..." >> message intended to display the identity of the host it's trying to >> connect to? >> >> James Weatherall wrote... >> >Mike, >> > >> >192.168.1.21 looks like an address allocated by DHCP. Are >> you _sure_ that >> >the server machine is still using that address by the time you try to >> >connect with the VNC Configuration file? If possible, it's >> usually better >> >to use a machine's name rather than its IP address, since >> DHCP-allocated IP >> >addresses will change dynamically whereas names normally won't. >> > >> >Regards, >> > >> >Wez @ RealVNC Ltd. >> > >> > >> >> -----Original Message----- >> >> From: [EMAIL PROTECTED] >> >> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Barnes >> >> Sent: 01 February 2005 09:47 >> >> To: [email protected] >> >> Subject: Newbie, Windows XP, "-config" causes viewer to hang >> >> >> >> I've just downloaded RealVNC onto my Windows XP Home >> system. It works >> >> well connecting to another Windows XP Home system here on the LAN. >> >> Actually it works well *only* if run it from the Start menu >> >> item created >> >> by the install program. When I try to run the viewer with a >> >> configuration file, it always fails. >> >> >> >> Specifically: I start the viewer, observe the proper >> server address in >> >> the dialog box, click on OK, it connects and works fine. I do F8, >> >> Options, Defaults, Save Configuration File As, specify a >> place on my >> >> hard disk, I get "Options saved successfully". I disconnect, >> >> navigate my >> >> way to the VNC file I just saved, and double-click on it >> >> expecting it to >> >> connect. What actually happens is that I get a grey box in >> >> the middle of >> >> the screen saying "Attempting to connect to host..." with >> the Cancel >> >> button disabled. Nothing further happens. "End Task" is >> the only way >> >> out. >> >> >> >> I tried alternate ways of invoking the config file, in a >> >> shortcut and at >> >> the command prompt: >> >> >> >> "C:\Program Files\RealVNC\VNC4\vncviewer.exe" -config >> >> D:\Jukebox\WHITE.vnc >> >> >> >> The effect is the same. I don't know what to try next. Any ideas? >> >> >> >> It's "VNC Viewer for Win32 4.0 Built on Jun 15 2004 >> at 14:29:29". >> >> The contents of the configuration file are: >> >> >> >> [Connection] >> >> Host=192.168.1.21 >> >> [Options] >> >> UseLocalCursor=1 >> >> UseDesktopResize=1 >> >> FullScreen=0 >> >> FullColour=1 >> >> LowColourLevel=1 >> >> PreferredEncoding=hextile >> >> AutoSelect=1 >> >> Shared=0 >> >> SendPtrEvents=1 >> >> SendKeyEvents=1 >> >> SendCutText=1 >> >> AcceptCutText=1 >> >> Emulate3=0 >> >> PointerEventInterval=0 >> >> Monitor=\\.\DISPLAY1 >> >> MenuKey=F8 >> >> >> >> -- >> >> Mike Barnes >> >> _______________________________________________ >> >> VNC-List mailing list >> >> [email protected] >> >> To remove yourself from the list visit: >> >> http://www.realvnc.com/mailman/listinfo/vnc-list >> >> >> > >> > >> >> -- >> Regards >> Mike Barnes >> _______________________________________________ >> VNC-List mailing list >> [email protected] >> To remove yourself from the list visit: >> http://www.realvnc.com/mailman/listinfo/vnc-list >> > > -- Regards Mike Barnes _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
