Next Steps.... You said if you run it in viewer mode it is ok but not
in service mode.
Since they go in reverse chronological order start with the bottom most one.
I may need some more help from others to solve this......
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.
than some sort of software firewall.
p.s. how do i turn on logging and where does the logging go?
Post by Tony FrostAngelo - thanks again for your help it is much appreciated.
First - I've have my XP firewalls and NIS firewalls disabled on both machines.
"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."
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 !!!
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
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?
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
Post by Angelo SartoAngelo
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.
Post by Angelo SartoBoth machines are local users (on my pier to pier lan) for both user and
service modes
Post by Angelo SartoI'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.
Post by Angelo SartoThanks once again for your help
Regards
Tony
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
Post by Angelo Sartodesktop (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?
Post by Angelo Sarto"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
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
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
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.
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
Post by Tony FrostI'm guessing that this problem is probably caused by a setting in XP
professional that is wrong but I don't know which one.
Post by Angelo SartoPost by Tony FrostI have a Laptop running WinXP (Home Edition) - SP2 with IE6 and a
Desktop running WinXP (Professional/Media Centre Edition) - SP2 with IE6.
Post by Angelo SartoPost by Tony FrostI have installed the latest version of Java from Sun at
http://www.java.com/en/index.jsp on both machines.
Post by Angelo SartoPost by Tony FrostI'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).
Post by Angelo SartoPost by Tony FrostMy 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 .
Post by Angelo SartoPost by Tony FrostThe 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.
Post by Angelo SartoPost by Tony FrostBoth machines connect and talk successfully both ways using the Viewer
and VNC in User Mode.
Post by Angelo SartoPost by Tony FrostI 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.
Post by Angelo SartoPost by Tony FrostAny thoughts folks
Tony Frost
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list