Avocent 8020 KVM Java Icedtea Viewer

This command in Debian/Ubuntu/Mint will get everything need installed for most Java based KVM viewers:

sudo apt install icedtea-netx
The following additional packages will be installed:
  ca-certificates-java icedtea-netx-common openjdk-8-jre openjdk-8-jre-headless

It seems every other updated version of Java or Icedtea breaks things and I will save the frustration of Java for another post.

*If you get the icedteaweb window but nothing loads or prompts it is probably your security settings that won't even prompt to run it.   See this article to solve that problem.

To fix this error you need to edit the java.security file manually (I recommend updating all in case there is any confusion about what version is being executed):

If your browser tries to download the file, make sure that the action for JNLP files is to open with Icedtea

Solution for OpenJDK 11 style.

The difference here is that java.security lives in /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security

Do the same edits on the JDK 11 file above ( /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security) as we show for JDK Version 8 below.

However, if that doesn't work, you can just comment out all instances that contain "disabledAlgorithms" and that should get it going.
 

Solution for OpenJDK Version 8 and older

 

sudo vi /usr/lib/jvm/*/jre/lib/security/java.security

Notice the * (wildcard) this will have vi open up every version's java security for you to change or you could also try the most recent version.

Make the following line look like this:

jdk.tls.disabledAlgorithms=SSLv3, RC4

jdk.certpath.disabledAlgorithms=MD2

After that the error was fixed and finally the KVM viewer worked again (I wish you could just use VNC or other more reliable ways).

*Update - newer versions have a few more config lines you have to fix:

jdk.certpath.disabledAlgorithms=MD2
jdk.jar.disabledAlgorithms=MD2
jdk.tls.disabledAlgorithms=SSLv3, RC4

 

Errors that you will get before solving this problem:


net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.
    at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:580)
    at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:936)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:574)
    ... 1 more
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "user.name" "read")
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
    at java.security.AccessController.checkPermission(AccessController.java:884)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
    at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1294)
    at java.lang.System.getProperty(System.java:717)
    at com.avocent.lib.gui.ShowDuplicateApp.(ShowDuplicateApp.java:200)
    at com.avocent.video.Stingray.(Unknown Source)
    at com.avocent.video.Stingray.launch(Unknown Source)
    at com.avocent.video.Stingray.main(Unknown Source)
    ... 6 more

 

 

net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
    at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:822)
    at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:531)
    at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:945)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
    at net.sourceforge.jnlp.runtime.JNLPClassLoader$SecurityDelegateImpl.getClassLoaderSecurity(JNLPClassLoader.java:2481)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:385)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:806)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.(JNLPClassLoader.java:338)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:421)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:495)
    at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:468)
    at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:814)
    ... 2 more


Tags:

avocent, kvm, icedtea, viewer, updated, frustration, icedteaweb, loads, prompts, settings, prompt, edit, manually, updating, confusion, executed, sudo, vi, usr, lib, jvm, jre, wildcard, jdk, tls, disabledalgorithms, sslv, rc, certpath, md, vnc, reliable, update, newer, versions, config, jar, errors, solving, sourceforge, jnlp, launchexception, fatal, initialized, execute, javaws, browser, launcher, launchapplication, tgthread, lang, reflect, invocationtargetexception, nativemethodaccessorimpl, invoke, native, method, delegatingmethodaccessorimpl, accesscontrolexception, quot, util, propertypermission, user, accesscontrolcontext, checkpermission, accesscontroller, securitymanager, checkpropertyaccess, getproperty, gui, showduplicateapp, stingray,

Latest Articles

  • How To Upgrade Debian 8,9,10 to Debian 12 Bookworm
  • Linux dhcp dhclient Mint Redhat Ubuntu Debian How To Use Local Domain DNS Server Instead of ISPs
  • Docker dockerd swarm high CPU usage cause solution
  • Docker Minimum Requirements/How Efficient is Docker? How Much Memory Does Dockerd Use?
  • qemu-nbd: Failed to set NBD socket solution qemu-nbd: Disconnect client, due to: Failed to read request: Unexpected end-of-file before all bytes were read
  • apache2 httpd apache server will not start [pid 22449:tid 139972160445760] AH00052: child pid 23248 exit signal Aborted (6) solution Mint Debian Ubuntu Redhat
  • How to use the FTDI USB serial cable to RJ45 adapter to connect to the console on Cisco/Juniper Switch Router Firewall in Linux Ubuntu Debian Redhat
  • How To Setup Python3 in Ubuntu Docker Image for AI Deep Learning
  • How to Configure NVIDIA GPUs with Docker on Ubuntu: A Comprehensive Guide for AI Deep Learning CUDA Solution
  • Linux Ubuntu Mint how to check nameservers when /etc/resolv.conf disabled solution
  • Docker cannot work on other overlayfs filesystems such as ecryptfs won't start overlayfs: filesystem on '/home/docker/overlay2/check-overlayfs-support130645871/upper' not supported as upperdir
  • Linux How To Access Original Contents of Directory Mounted Debian Mint CentOS Redhat Solution
  • ecryptfs how to manually encrypt your existing home directory or other directory
  • How to Reset CIPC Cisco IP Communicator for CME CUCM CallManager
  • Internet Explorer Cannot Download File "Your security settings do not allow for this file to be downloaded." Security Settings Solution
  • Linux How To Upgrade To The Latest Kernel Debian Mint Ubuntu
  • Firefox how to restore and backup saved passwords and history which files/location
  • Linux How To echo as root solution to use tee permission denied solution Ubuntu Debian Mint Redhat CentOS
  • Linux how to keep command line bash process running if you are disconnected or need to logout of SSH remotely
  • Linux swapping too much? How to check the swappiness and stop swapping