Page 1 of 1

Java 8 Vnc problem

Posted: Mon Nov 03, 2014 4:41 am
by Sunshine12
Hello.

I am having trouble connecting to any of my machines using Vnc.

This has only happened since i was forced to update java to version 8.

Java have increased there security settings which is now blocking me from connecting.

I have added an exception ( 192.168.0.20:5800) to the java list but now i get another error. "Error access denied("java.net socketIPPermission""192.168.0.20:5900" conn)
Followed by a button saying Login again.

I have tried reverting back to java 7 but no luck.

Does IX developer support Java 8???

I really need to find a fast answer to this.

Thank you..

Re: Java 8 Vnc problem

Posted: Mon Nov 03, 2014 4:51 am
by Sunshine12
Just some extra info.

It looks like the VNC is blocking the access and then redirecting it to the next port 5900.

CacheEntry[http://192.168.0.20:5800/VncViewer.jar]: updateAvailable=false,lastModified=Thu Jan 01 01:00:00 GMT 1970,length=-1
SecurityManager restricts session recording.
Initializing...
Connecting to 192.168.0.20, port 5900...
Error: access denied ("java.net.SocketPermission" "192.168.0.20:5900" "connect,resolve")
java.security.AccessControlException: access denied ("java.net.SocketPermission" "192.168.0.20:5900" "connect,resolve")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.checkConnectHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkConnect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at RfbProto.<init>(RfbProto.java:229)
at VncViewer.connectAndAuthenticate(VncViewer.java:325)
at VncViewer.run(VncViewer.java:158)
at java.lang.Thread.run(Unknown Source)
Stopping applet
Destroying applet
SecurityManager restricts session recording.
Initializing...
Connecting to 192.168.0.20, port 5900...
Error: access denied ("java.net.SocketPermission" "192.168.0.20:5900" "connect,resolve")
java.security.AccessControlException: access denied ("java.net.SocketPermission" "192.168.0.20:5900" "connect,resolve")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.checkConnectHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkConnect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at RfbProto.<init>(RfbProto.java:229)
at VncViewer.connectAndAuthenticate(VncViewer.java:325)
at VncViewer.run(VncViewer.java:158)
at java.lang.Thread.run(Unknown Source)
Stopping applet
Destroying applet

Re: Java 8 Vnc problem

Posted: Tue Mar 17, 2015 10:26 am
by AMitchneck
My solution was to download another VNC viewer (such as TightVNC or UltraVNC) rather than using the Java-based viewer (RealVNC) built into the browser.