DomiStyle / docker-idrac6

iDRAC 6 web interface and VNC proxy
https://hub.docker.com/r/domistyle/idrac6/
MIT License
780 stars 144 forks source link

zulu update broke Dell R210 iDRAC6 #59

Open philfry opened 1 year ago

philfry commented 1 year ago

Hi all,

first, thanks for your work, Dominik!

With 0.9, i.e. since the zulu update, I cannot connect to my Dell R210 iDRAC6 anymore:

Initialization complete, starting virtual console
Apr 04, 2023 1:40:30 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Apr 04, 2023 1:40:30 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: Not a directory
04/04/2023 01:40:30:742: Starting client.
====setPowerMenuStatus: (##2)

ProtocolAPCP: Version [1.0]

04/04/2023 01:40:36:137:  Connection failed.
DomiStyle commented 1 year ago

Can you try with 0.8? Image is still up on Docker Hub.

philfry commented 1 year ago

Yes, 0.8 works fine.

DomiStyle commented 1 year ago

Thanks, I'm gonna have to spin up my R210 to take a look but should probably get to it over the weekend.

ssmoss commented 1 year ago

@philfry does this solve your issue https://github.com/DomiStyle/docker-idrac6/pull/47 ?

philfry commented 1 year ago

Not really. Since the PR #47 is not in sync, I only changed the following in master:

--- i/Dockerfile
+++ w/Dockerfile
@@ -12,8 +12,8 @@ RUN APP_ICON_URL=https://raw.githubusercontent.com/DomiStyle/docker-idrac6/maste

 RUN apt-get update && \
     apt-get install -y wget software-properties-common libx11-dev gcc xdotool && \
-    wget -nc https://cdn.azul.com/zulu/bin/zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \
-    apt-get install -y ./zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \
+    wget -nc https://corretto.aws/downloads/latest/amazon-corretto-8-x64-linux-jdk.deb && \
+    apt-get install -y ./amazon-corretto-8-x64-linux-jdk.deb && \
     gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \
     apt-get remove -y gcc software-properties-common && \
     apt-get autoremove -y && \
@@ -23,7 +23,7 @@ RUN apt-get update && \
 RUN mkdir /app && \
     chown ${USER_ID}:${GROUP_ID} /app

-RUN rm /usr/lib/jvm/zulu-8-amd64/jre/lib/security/java.security
+RUN rm /usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/java.security

 COPY startapp.sh /startapp.sh
 COPY mountiso.sh /mountiso.sh

still get the same error:

Extracting avctVMLinux64
Initialization complete, starting virtual console
Sep 15, 2023 7:43:18 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Sep 15, 2023 7:43:18 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: Not a directory
09/15/2023 07:43:18:346: Starting client.
====setPowerMenuStatus: (##2)

ProtocolAPCP: Version [1.0]

09/15/2023 07:43:23:979:  Connection failed.
ssmoss commented 1 year ago

What is the docker run command you use?