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..
Java 8 Vnc problem
-
- Posts: 12
- Joined: Fri Sep 14, 2012 6:27 am
Re: Java 8 Vnc problem
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
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
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: Java 8 Vnc problem
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.
Adam M.
Controls Engineer
FlexEnergy
Controls Engineer
FlexEnergy