Angelo - tried that but no difference - no messages at all in application log Tony
Angelo Sarto <[EMAIL PROTECTED]> wrote: what do you have in the access control box then? are there addresses in there? try adding a new entry of 127.0.0.1 and then see if it works. On Wed, 6 Oct 2004 19:34:12 +0100 (BST), Tony Frost wrote: > Angelo > > Did all of that lot and when I looked in the application log in the event viewer > there were not any items logged with a source of WinVNC4 > > Double checked - partic the parameters (without "") and ran twice. > > Out of interest - the connections tab there is no + sign in the access control > > Tony > > Angelo Sarto wrote: > > > Next Steps.... You said if you run it in viewer mode it is ok but not > in service mode. > > Open the services control panel, > stop the vncserver from running > open the vnc server's properties > Put the following into the statr parameters box (no quotes) > "-log *:EventLog:100" > Press the Start Button > (ok just leave this for now) > > Open the vncviewer program > type in 127.0.0.1 hit ok (this will give you your error) > > now, open event viewer (Start->Run eventvwr.msc) > Click on application log > Starting at the top we should have some events with a source of WinVNC4 > > Since they go in reverse chronological order start with the bottom most one. > > Angelo > > I may need some more help from others to solve this...... > > After clicking on the tray icon and selecting options, if you look at > the connections tab by default there is a + sign in access control. > If that is still there you should be able to do a local connect. > > I don't know what would block loop back connections(in version4) other > than some sort of software firewall. > > Angelo > p.s. how do i turn on logging and where does the logging go? > > On Wed, 6 Oct 2004 00:51:46 +0100 (BST), Tony Frost > wrote: > > > > > > Angelo - thanks again for your help it is much appreciated. > > > > First - I've have my XP firewalls and NIS firewalls disabled on both > > machines. > > > > Going through the points: > > > > "First check that the service is all set up on the laptop (service is > > listed as started) This test should be run while it is in service > > mode." > > > > On the Laptop to start VNC Service Mode: > > > > I selected Register VNC Service > > I selected Start VNC Service > > > > The task Bar had the VNC icon displayed - hovering the mouse pointer over it > > displayed "VNC Server (Service):192.168.1.3 > > > > Going into Administrative Tools --> Services > > > > In the Services (Local) Panel > > > > VNC Server Version 4 > > Status: Started > > Startup Type: Automatic > > Logon As: Local System > > > > So far so good. > > > > "We are going to do a loopback connection which might get weird pretty > > quick. > > On the laptop launch vncviewer and try to control 127.0.0.1 > > this will attempt to remote control the same computer. > > > > If this works you will see a big cascade ot screens. Does it work? > > " > > Basically No !!! > > > > I get 2 messages: > > > > Attempting to connect to host > > > > and then > > > > A panel titled "VNC Viewer Error" > > > > and a message: "Unable to connect to host: Connection refused (10061)" > > > > > > As this was a Loopback connection/test I've a suspicion that you're going to > > say that loopback is disabled. > > > > I wouldn't have a clue how to enable (or disable) a loopback connection. > > > > Not wishing to confuse thing even more but I tried the same thing on my PC > > and got exactly the same result??? :o( > > > > > > Mmmm > > > > > > Tony > > > > > > Angelo Sarto wrote: > > > > > > OK, lets start by getting this method to work. > > > > desktop (vncviewer.exe) -----> laptop (vnc server - service mode) > > > > once this works I think the java will work fine. > > > > First check that the service is all set up on the laptop (service is > > listed as started) This test should be run while it is in service > > mode. > > > > We are going to do a loopback connection which might get wierd pretty quick. > > On the laptop launch vncviewer and try to control 127.0.0.1 > > this will attempt to remote control the same computer. > > > > If this works you will see a big cascade ot screens. Does it work? > > > > If yes then we need to recheck the windows XP firewall settings: > > specifically, > > use this link http://www.microsoft.com/athome/security/protect/ports.mspx > > as a guide and open port 5903 (5902? whichever is the vnc port on the > > laptop) > > > > then try it from the desktop again > > > > i > > --Angelo > > > > > > > > On Tue, 5 Oct 2004 11:14:54 +0100 (BST), Tony Frost > > wrote: > > > Angelo > > > > > > Your summary is "spot on" except that the server port is 5902 (or 5903) > > and not 5900. Both user and service modes are configured the same 5902 (or > > 5903) for viewer and 5802 (or 5803) for java. > > > > > > Both machines are local users (on my pier to pier lan) for both user and > > service modes > > > > > > I've not got to the stage of trying to access remotely over the internet > > yet but I'm configuring so this will be possible via port forwarding in my > > router. > > > > > > Thanks once again for your help > > > > > > Regards > > > > > > Tony > > > > > > Angelo Sarto wrote: > > > All, > > > > > > Lets summerize the problem and see if we can get a breakdown of > > > which ones don't work. > > > > > > Desktop = 192.168.1.2 (java on port 5802) vnc server port 5900? > > > xp - media center sp2 > > > laptop = 192.168.1.3 (java on port 5803) vnc server port 5900? xp home sp2 > > > (both have ie6 and latest java runtime) > > > > > > for purposes of this table > > > --> means "connects to" > > > vncviewer.exe is the windows executable > > > java means you typed in the ip address of the other computer and port > > number > > > > > > desktop (vncviewer.exe) -----> laptop (vnc server - service mode) not ok? > > > desktop (vncviewer.exe) -----> laptop (vnc server - user mode) OK > > > desktop (java) -----> laptop (vnc server - service mode) > > > not ok? > > > desktop (java) -----> laptop (vnc server - user mode) OK > > > > > > laptop (vncviewer.exe) -----> desktop (vnc server - service mode) OK > > > laptop (vncviewer.exe) -----> desktop (vnc server - user mode) OK > > > laptop (java) -----> desktop (vnc server - service mode) OK > > > laptop (java) -----> desktop (vnc server - user mode) OK > > > > > > is this correct? > > > > > > Additionally, is the vnc server running as "localUser" under the services > > tool? > > > > > > "we'll lick this one yet!" > > > --Angelo > > > > > > > > > ----- Original Message ----- > > > From: Tony Frost > > > Date: Mon, 4 Oct 2004 23:06:11 +0100 (BST) > > > Subject: Re: Can't Access VNC via a browser. > > > To: Angelo Sarto , VNC Discussion List > > > > > > OK - I opened IE6 on the Laptop; typed in http://192168.1.2:5802. The > > > VNC Connections Details box openned and I typed in 192.168.1.3 next to > > > the VNC Server box > > > > > > I got a Java Applet Window with the message: > > > > > > Java Security.AccessControlException:Access Denied (java.net.Socket > > > Permission 192.168.1.3:5900 connect, resolve) > > > > > > I've tried all the combinations of PC viewer/browser to Laptop > > > User/Service modes and visa versa. The only two that DONT work are PC > > > running viewer OR browser with the laptop running service mode !! > > > > > > So near and yet so far but I can't see (or find) any obvious Java > > > Access Setting in XP Pro or XP Home stopping access (I've looked in > > > Security Settings in Internet Options within the Control Panel) ??? > > > > > > Regards > > > > > > Tony > > > > > > Angelo Sarto wrote: > > > > > > Close , > > > > > > on the laptop open 192.168.1.2:5802 (or localhost:5802) then when > > > the box opens up, called vnc viewer connection details type this > > > address next to "vnc server" 192.168.1.3 > > > > > > what this will do is use the javaviewer (on the laptop) to connect to > > > the vnc server (on the workstation) this should work ok. > > > > > > Angelo. > > > > > > PS. if you can use the normal vncviewer i would use this instead of > > > the java one anyways.... > > > > > > ----- Original Message ----- > > > From: Tony Frost > > > Date: Sun, 3 Oct 2004 18:56:09 +0100 (BST) > > > Subject: Re: Can't Access VNC via a browser. > > > To: Angelo Sarto > > > > > > Angelo - just to make sure I'm getting the work around correct. > > > > > > Am I connecting from my laptop to my PC using the browser > > > (http://192.168.1.2:5802 ) and when this connects (which it does) then > > > - from the PC - connect to the laptop via the browser using > > > http://192.168.1.3:5803. > > > > > > Tried this with service mode running on both machines. > > > > > > If so I still get the "page cannot be displayed message". > > > > > > I still feel its an O/S or IE6 problem but where and on which machine > > > I can't say. > > > > > > Tony > > > > > > Angelo Sarto wrote: > > > First a work around..... > > > you are thinking about using the javaviewer to connect from outside > > > (at some point) from a machine where you might not be able to install > > > the viewer? this isn't an issue that often as you dont even really > > > need to "install" it. I keep a copy of the windows client on my usb > > > keychain and i can almost always run it from there. but i digress.... > > > as long as one of the java clients works you can connect to > > > 192.168.1.2:5802 wait for the client to load and then type in the box > > > 192.168.1.3. > > > > > > the java client basically is like a copy of the vncviewer that runs > > > inside your browser window. > > > > > > in fact you could load the java client from *anyone's* vnc server and > > > then use the client to control your machine. > > > > > > Other stuffisis: > > > Just to clarify something, when you conect to http://192.168.1.3:5803. > > > what do you see? > > > > > > do you see an applet symbol? Does the java client load in the > > > browser but then not work. > > > > > > i dont remember if this was in an earlier post or not. but this may > > > help to pinpoint the issue. > > > > > > Gut reaction (which is prolly wrong, BTW) is that xp home may be > > > somehow not allowing web traffic to be served. for some reasons I > > > remember that there are IIS issues with home possiblly simmilar to > > > this.. > > > --Angelo > > > > > > On Sat, 2 Oct 2004 10:11:27 +0100 (BST), Tony Frost > > > wrote: > > > > I'm guessing that this problem is probably caused by a setting in XP > > professional that is wrong but I don't know which one. > > > > > > > > I have a Laptop running WinXP (Home Edition) - SP2 with IE6 and a > > Desktop running WinXP (Professional/Media Centre Edition) - SP2 with IE6. > > > > > > > > I have installed the latest version of Java from Sun at > > http://www.java.com/en/index.jsp on both machines. > > > > > > > > I'm trying to get the 2 machines to talk via a router on "my" side of my > > gateway using the browser - previous postings in September and October > > detail my configuration. I'm NOT trying to connect from the Internet via my > > gateway therefore I don't need to "port forward" my router (yet). > > > > > > > > My Desktop(192.168.1.2) is running RealVNC 4 in Service Mode with Java > > accepted on port 5802. I CAN access this machine from my Laptop > > (192.168.1.3) using IE6 with the address http://192.168.1.2:5802 . > > > > > > > > The problem is that I CAN'T access my Laptop from my PC. As before I'm > > running RealVNC in Service Mode on my Laptop with Java accepted on port 5803 > > and I'm using the address http://192.168.1.3:5803 from my PC running IE6. > > > > > > > > Both machines connect and talk successfully both ways using the Viewer > > and VNC in User Mode. > > > > > > > > I can only think that there's a problem with my Desktop setting as the > > desktop version of the operating system is different from that of the Laptop > > (Professional verses Home respectively) and I may have some form of conflict > > in XP Professional. > > > > > > > > Any thoughts folks > > > > > > > > > > > > Tony Frost > > > > _______________________________________________ > > > > VNC-List mailing list > > > > [EMAIL PROTECTED] > > > > To remove yourself from the list visit: > > > > http://www.realvnc.com/mailman/listinfo/vnc-list > > > > > > > > > _______________________________________________ > > > VNC-List mailing list > > > [EMAIL PROTECTED] > > > To remove yourself from the list visit: > > > http://www.realvnc.com/mailman/listinfo/vnc-list > > > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list