Discussion:
Can't Access VNC via a browser.
Tony Frost
2004-10-02 15:12:01 UTC
Permalink
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
Angelo Sarto
2004-10-03 07:48:00 UTC
Permalink
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
Post by Tony Frost
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
http://www.realvnc.com/mailman/listinfo/vnc-list
Tony Frost
2004-10-03 22:22:01 UTC
Permalink
Angelo - thanks once again for your help.


One of my problems is that I don't know whether I should be looking on my PC or my laptop for the problem.

To answer your question though:

"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 get the standard I.E. "page cannot be displayed" message - I don't get as far as seeing the Real VNC symbol.

I'll try the work around and let you know.

Regards

Tony




Angelo Sarto <***@gmail.com> 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
Post by Tony Frost
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
http://www.realvnc.com/mailman/listinfo/vnc-list
Tony Frost
2004-10-05 04:07:01 UTC
Permalink
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 <***@gmail.com> 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
Post by Tony Frost
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
http://www.realvnc.com/mailman/listinfo/vnc-list
Angelo Sarto
2004-10-05 08:47:00 UTC
Permalink
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 <***@btinternet.com>
Date: Mon, 4 Oct 2004 23:06:11 +0100 (BST)
Subject: Re: Can't Access VNC via a browser.
To: Angelo Sarto <***@gmail.com>, VNC Discussion List
<vnc-***@realvnc.com>


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 <***@gmail.com> 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
Post by Tony Frost
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
http://www.realvnc.com/mailman/listinfo/vnc-list
James Weatherall
2004-10-05 15:11:00 UTC
Permalink
Tony & Angelo,

There is no way that this would work, since Java applet cannot connect to
any host except the one they were served from. The only way to connect to
other hosts is to run the Java program as an application (i.e. outside the
browser & sandbox).
Post by Tony Frost
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....
Luptak, Miroslav
2004-10-05 15:50:01 UTC
Permalink
Hello, Wez,
Post by James Weatherall
There is no way that this would work, since Java applet
cannot connect to any host except the one they were served
from.
Would signing the applet help? Is it possible to sign the java applet
downloaded from the VNC server?

Thanks and regards,

Miro
Post by James Weatherall
-----Original Message-----
Sent: Tuesday, October 05, 2004 11:11
To: 'Tony Frost'; 'Angelo Sarto'; 'VNC Discussion List'
Subject: RE: Can't Access VNC via a browser.
Tony & Angelo,
There is no way that this would work, since Java applet
cannot connect to any host except the one they were served
from. The only way to connect to other hosts is to run the
Java program as an application (i.e. outside the browser & sandbox).
Post by Tony Frost
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....
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-> list
Tony Frost
2004-10-05 16:15:01 UTC
Permalink
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 <***@gmail.com> 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
Post by Tony Frost
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
http://www.realvnc.com/mailman/listinfo/vnc-list
Angelo Sarto
2004-10-05 19:51:00 UTC
Permalink
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
Post by Angelo Sarto
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
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
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 Frost
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
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list
James Weatherall
2004-10-05 16:37:00 UTC
Permalink
Miro,

Yes, actually, that may well help - it certainly allows applets to access
local resources on the client. The current release isn't signed, however.
Post by James Weatherall
-----Original Message-----
Sent: 05 October 2004 10:47
To: VNC Discussion List
Subject: RE: Can't Access VNC via a browser.
Hello, Wez,
Post by James Weatherall
There is no way that this would work, since Java applet
cannot connect
Post by James Weatherall
to any host except the one they were served from.
Would signing the applet help? Is it possible to sign the
java applet downloaded from the VNC server?
Thanks and regards,
Miro
Post by James Weatherall
-----Original Message-----
Sent: Tuesday, October 05, 2004 11:11
To: 'Tony Frost'; 'Angelo Sarto'; 'VNC Discussion List'
Subject: RE: Can't Access VNC via a browser.
Tony & Angelo,
There is no way that this would work, since Java applet
cannot connect
Post by James Weatherall
to any host except the one they were served from. The only way to
connect to other hosts is to run the Java program as an application
(i.e. outside the browser & sandbox).
Post by Tony Frost
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
Post by James Weatherall
Post by Tony Frost
next to the VNC Server box
Java Security.AccessControlException:Access Denied
(java.net.Socket
Post by James Weatherall
Post by Tony Frost
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
Post by James Weatherall
Post by Tony Frost
PC running viewer OR browser with the laptop running
service mode !!
Post by James Weatherall
Post by Tony Frost
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
Post by James Weatherall
Post by Tony Frost
Security Settings in Internet Options within the Control
Panel) ???
Post by James Weatherall
Post by Tony Frost
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
Post by James Weatherall
Post by Tony Frost
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
Post by James Weatherall
Post by Tony Frost
the java one anyways....
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-> list
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list
Tony Frost
2004-10-06 05:52:01 UTC
Permalink
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 <***@gmail.com> 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
Post by Angelo Sarto
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
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
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 Frost
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
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list
Angelo Sarto
2004-10-06 06:53:00 UTC
Permalink
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
Post by Tony Frost
Angelo - 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 Sarto
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.
Post by Angelo Sarto
Both machines are local users (on my pier to pier lan) for both user and
service modes
Post by Angelo Sarto
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.
Post by Angelo Sarto
Thanks 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 Sarto
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?
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 Frost
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.
Post by Angelo Sarto
Post by Tony Frost
I 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 Sarto
Post by Tony Frost
I have installed the latest version of Java from Sun at
http://www.java.com/en/index.jsp on both machines.
Post by Angelo Sarto
Post by Tony Frost
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).
Post by Angelo Sarto
Post by Tony Frost
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 .
Post by Angelo Sarto
Post by Tony Frost
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.
Post by Angelo Sarto
Post by Tony Frost
Both machines connect and talk successfully both ways using the Viewer
and VNC in User Mode.
Post by Angelo Sarto
Post by Tony Frost
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.
Post by Angelo Sarto
Post by Tony Frost
Any 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
Tony Frost
2004-10-07 00:35:01 UTC
Permalink
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 <***@gmail.com> 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
Post by Tony Frost
Angelo - 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 Sarto
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.
Post by Angelo Sarto
Both machines are local users (on my pier to pier lan) for both user and
service modes
Post by Angelo Sarto
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.
Post by Angelo Sarto
Thanks 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 Sarto
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?
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 Frost
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.
Post by Angelo Sarto
Post by Tony Frost
I 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 Sarto
Post by Tony Frost
I have installed the latest version of Java from Sun at
http://www.java.com/en/index.jsp on both machines.
Post by Angelo Sarto
Post by Tony Frost
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).
Post by Angelo Sarto
Post by Tony Frost
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 .
Post by Angelo Sarto
Post by Tony Frost
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.
Post by Angelo Sarto
Post by Tony Frost
Both machines connect and talk successfully both ways using the Viewer
and VNC in User Mode.
Post by Angelo Sarto
Post by Tony Frost
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.
Post by Angelo Sarto
Post by Tony Frost
Any 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
Tony Frost
2004-10-08 14:58:00 UTC
Permalink
Angelo - tried that but no difference - no messages at all in application log

Tony

Angelo Sarto <***@gmail.com> 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
Post by Angelo Sarto
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
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
Post by Tony Frost
Angelo - 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 Sarto
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.
Post by Angelo Sarto
Both machines are local users (on my pier to pier lan) for both user and
service modes
Post by Angelo Sarto
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.
Post by Angelo Sarto
Thanks 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 Sarto
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?
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 Frost
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.
Post by Angelo Sarto
Post by Tony Frost
I 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 Sarto
Post by Tony Frost
I have installed the latest version of Java from Sun at
http://www.java.com/en/index.jsp on both machines.
Post by Angelo Sarto
Post by Tony Frost
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).
Post by Angelo Sarto
Post by Tony Frost
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 .
Post by Angelo Sarto
Post by Tony Frost
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.
Post by Angelo Sarto
Post by Tony Frost
Both machines connect and talk successfully both ways using the Viewer
and VNC in User Mode.
Post by Angelo Sarto
Post by Tony Frost
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.
Post by Angelo Sarto
Post by Tony Frost
Any 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
_______________________________________________
VNC-List mailing list
http://www.realvnc.com/mailman/listinfo/vnc-list
Loading...