DomiStyle / docker-idrac6

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

Connection failing R510 running v1.52 #44

Closed quadcom closed 2 years ago

quadcom commented 2 years ago

Trying to get this to work again, someone suggested this container in hopes I could update the version installed.

It's an old R510 running iDrac 1.52

here's the log and the compose. Hopefully you can see something in here that can help me figure this out. I'm kind of a noob, sorry.

I'll thank you in advance for any guidance you can share.

docker run -d \ -p 5800:5800 \ -p 5900:5900 \ -e IDRAC_HOST=192.168.200.87 \ -e IDRAC_USER={myuser}\ -e IDRAC_PASSWORD={mypassword}\ domistyle/idrac6

ErrorWarningSystemArrayLogin

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
./run: 10: ps: not found
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
Failed to create /config/xdg/cache for shader cache (No such file or directory)---disabling.

[services.d] starting logmonitor...
[services.d] starting statusmonitor...
[logmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[statusmonitor] no file to monitor: disabling service...
[openbox] starting...
Failed to create /config/xdg/cache for shader cache (No such file or directory)---disabling.

Failed to create /config/xdg/cache for shader cache (No such file or directory)---disabling.

[services.d] starting x11vnc...
[services.d] starting app...
[services.d] done.
[app] starting iDRAC 6...
Starting
Environment ok
Creating library folder
[x11vnc] starting...
Downloading avctKVM
23/04/2022 03:51:03 passing arg to libvncserver: -rfbport
23/04/2022 03:51:03 passing arg to libvncserver: 5900
23/04/2022 03:51:03 passing arg to libvncserver: -rfbportv6
23/04/2022 03:51:03 passing arg to libvncserver: -1
23/04/2022 03:51:03 passing arg to libvncserver: -httpportv6
23/04/2022 03:51:03 passing arg to libvncserver: -1
23/04/2022 03:51:03 passing arg to libvncserver: -desktop
23/04/2022 03:51:03 passing arg to libvncserver: iDRAC 6
23/04/2022 03:51:03 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 903

23/04/2022 03:51:03 Using X display :0
23/04/2022 03:51:03 rootwin: 0x50e reswin: 0x400001 dpy: 0xed257c00
23/04/2022 03:51:03
23/04/2022 03:51:03 ------------------ USEFUL INFORMATION ------------------
--2022-04-23 03:51:03-- https://192.168.200.87/software/avctKVM.jar
23/04/2022 03:51:03 X DAMAGE available on display, using it for polling hints.
23/04/2022 03:51:03 To disable this behavior use: '-noxdamage'
23/04/2022 03:51:03
23/04/2022 03:51:03 Most compositing window managers like 'compiz' or 'beryl'
23/04/2022 03:51:03 cause X DAMAGE to fail, and so you may not see any screen
23/04/2022 03:51:03 updates via VNC. Either disable 'compiz' (recommended) or
23/04/2022 03:51:03 supply the x11vnc '-noxdamage' command line option.
23/04/2022 03:51:03 X COMPOSITE available on display, using it for window polling.
23/04/2022 03:51:03 To disable this behavior use: '-noxcomposite'
23/04/2022 03:51:03
23/04/2022 03:51:03 Wireframing: -wireframe mode is in effect for window moves.
23/04/2022 03:51:03 If this yields undesired behavior (poor response, painting
23/04/2022 03:51:03 errors, etc) it may be disabled:
23/04/2022 03:51:03 - use '-nowf' to disable wireframing completely.
23/04/2022 03:51:03 - use '-nowcr' to disable the Copy Rectangle after the
23/04/2022 03:51:03 moved window is released in the new position.
23/04/2022 03:51:03 Also see the -help entry for tuning parameters.
23/04/2022 03:51:03 You can press 3 Alt_L's (Left "Alt" key) in a row to
23/04/2022 03:51:03 repaint the screen, also see the -fixscreen option for
23/04/2022 03:51:03 periodic repaints.
23/04/2022 03:51:03 GrabServer control via XTEST.
23/04/2022 03:51:03
23/04/2022 03:51:03 Scroll Detection: -scrollcopyrect mode is in effect to
23/04/2022 03:51:03 use RECORD extension to try to detect scrolling windows
23/04/2022 03:51:03 (induced by either user keystroke or mouse input).

23/04/2022 03:51:03 If this yields undesired behavior (poor response, painting
23/04/2022 03:51:03 errors, etc) it may be disabled via: '-noscr'
23/04/2022 03:51:03 Also see the -help entry for tuning parameters.
23/04/2022 03:51:03 You can press 3 Alt_L's (Left "Alt" key) in a row to
23/04/2022 03:51:03 repaint the screen, also see the -fixscreen option for
23/04/2022 03:51:03 periodic repaints.
23/04/2022 03:51:03
23/04/2022 03:51:03 XKEYBOARD: number of keysyms per keycode 7 is greater
23/04/2022 03:51:03 than 4 and 51 keysyms are mapped above 4.
23/04/2022 03:51:03 Automatically switching to -xkb mode.
23/04/2022 03:51:03 If this makes the key mapping worse you can
23/04/2022 03:51:03 disable it with the "-noxkb" option.
23/04/2022 03:51:03 Also, remember "-remap DEAD" for accenting characters.
23/04/2022 03:51:03
23/04/2022 03:51:03 X FBPM extension not supported.
Xlib: extension "DPMS" missing on display ":0".
23/04/2022 03:51:03 X display is not capable of DPMS.
23/04/2022 03:51:03 --------------------------------------------------------
23/04/2022 03:51:03
23/04/2022 03:51:03 Default visual ID: 0x21
23/04/2022 03:51:03 Read initial data from X display into framebuffer.
23/04/2022 03:51:03 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/3204
23/04/2022 03:51:03 WARNING: Width (801) is not a multiple of 4. VncViewer has problems with that.

23/04/2022 03:51:03
23/04/2022 03:51:03 X display :0 is 32bpp depth=24 true color
23/04/2022 03:51:03
23/04/2022 03:51:03 Listening for VNC connections on TCP port 5900
23/04/2022 03:51:03
23/04/2022 03:51:03 Xinerama is present and active (e.g. multi-head).
23/04/2022 03:51:03 Xinerama: number of sub-screens: 1
23/04/2022 03:51:03 Xinerama: no blackouts needed (only one sub-screen)
23/04/2022 03:51:03
23/04/2022 03:51:03 fb read rate: 1105 MB/sec
23/04/2022 03:51:03 fast read: reset -wait ms to: 10
23/04/2022 03:51:03 fast read: reset -defer ms to: 10
23/04/2022 03:51:03 The X server says there are 10 mouse buttons.

23/04/2022 03:51:03 screen setup finished.
23/04/2022 03:51:03

The VNC desktop is: 475b18c6c76c:0

0

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:

x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

Connecting to 192.168.200.87:443... connected.
WARNING: The certificate of '192.168.200.87' is not trusted.

WARNING: The certificate of '192.168.200.87' doesn't have a known issuer.

WARNING: The certificate of '192.168.200.87' has expired.

The certificate has expired
The certificate's owner does not match hostname '192.168.200.87'
HTTP request sent, awaiting response... 200 OK
Length: 819681 (800K) [application/octet-stream]
Saving to: 'avctKVM.jar'

0K .......... .......... .......... .......... .......... 6% 147K 5s
50K .......... .......... .......... .......... .......... 12% 118K 5s
100K .......... .......... .......... .......... .......... 18% 209K 4s
150K .......... .......... .......... .......... .......... 24% 382K 3s
200K .......... .......... .......... .......... .......... 31% 389K 3s
250K .......... .......... .......... .......... .......... 37% 389K 2s
300K .......... .......... .......... .......... .......... 43% 326K 2s
350K .......... .......... .......... .......... .......... 49% 389K 2s
400K .......... .......... .......... .......... .......... 56% 392K 1s
450K .......... .......... .......... .......... .......... 62% 387K 1s
500K .......... .......... .......... .......... .......... 68% 349K 1s
550K .......... .......... .......... .......... .......... 74% 379K 1s
600K .......... .......... .......... .......... .......... 81% 387K 1s
650K .......... .......... .......... .......... .......... 87% 318K 0s
700K .......... .......... .......... .......... .......... 93% 390K 0s
750K .......... .......... .......... .......... .......... 99% 388K 0s
800K 100% 301K=2.8s

2022-04-23 03:51:06 (291 KB/s) - 'avctKVM.jar' saved [819681/819681]

Downloading avctKVMIOLinux64
--2022-04-23 03:51:06-- https://192.168.200.87/software/avctKVMIOLinux64.jar
Connecting to 192.168.200.87:443... connected.
WARNING: The certificate of '192.168.200.87' is not trusted.

WARNING: The certificate of '192.168.200.87' doesn't have a known issuer.

WARNING: The certificate of '192.168.200.87' has expired.

The certificate has expired
The certificate's owner does not match hostname '192.168.200.87'
HTTP request sent, awaiting response... 200 OK
Length: 982571 (960K) [application/octet-stream]
Saving to: 'lib/avctKVMIOLinux64.jar'

0K .......... .......... .......... .......... .......... 5% 378K 2s
50K .......... .....23/04/2022 03:51:07 Got connection from client 127.0.0.1
23/04/2022 03:51:07 other clients:
23/04/2022 03:51:07 Got 'ws' WebSockets handshake
23/04/2022 03:51:07 Got protocol: binary
23/04/2022 03:51:07 - webSocketsHandshake: using binary/raw encoding
23/04/2022 03:51:07 - WebSockets client version hybi-13

.23/04/2022 03:51:07 Disabled X server key autorepeat.
23/04/2022 03:51:07 to force back on run: 'xset r on' (3 times)
23/04/2022 03:51:07 incr accepted_client=1 for 127.0.0.1:33946 sock=10
.... ...23/04/2022 03:51:07 Client Protocol Version 3.8

23/04/2022 03:51:07 Protocol version sent 3.8, using 3.8

..23/04/2022 03:51:07 .rfbProcessClientSecurityType: executing handler for type 1
23/04/2022 03:51:07 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8

..23/04/2022 03:51:07 .Pixel format for client 127.0.0.1:
23/04/2022 03:51:07 32 bpp, depth 24, little endian
23/04/2022 03:51:07 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
23/04/2022 03:51:07 no translation needed
23/04/2022 03:51:07 Enabling NewFBSize protocol extension for client 127.0.0.1
23/04/2022 03:51:07 Enabling full-color cursor updates for client 127.0.0.1
23/04/2022 03:51:07 Using image quality level 6 for client 127.0.0.1
23/04/2022 03:51:07 Using JPEG subsampling 0, Q79 for client 127.0.0.1
23/04/2022 03:51:07 Using compression level 9 for client 127.0.0.1
23/04/2022 03:51:07 Enabling LastRect protocol extension for client 127.0.0.1
23/04/2022 03:51:07 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
23/04/2022 03:51:07 Using tight encoding for client 127.0.0.1
. .......... .......... 10% 389K 2s
100K .......... .......... .......... .......... .......... 15% 324K 2s
150K .......... .......... .......... .......... .......... 20% 391K 2s
200K .......... .......... .......... .......... .......... 26% 390K 2s
250K ........23/04/2022 03:51:07 client_set_net: 127.0.0.1 0.0040
23/04/2022 03:51:07 created xdamage object: 0x40001e
.. .......... .......... .......... .......... 31% 391K 2s
300K .......... .......... .......... .......... .......... 36% 351K 2s
350K .......... .......... .......... .......... .......... 41% 383K 1s
400K .......... .......... .......... .......... .......... 46% 392K 1s
450K .......... .......... .......... .......... .......... 52% 393K 1s
500K .......... .......... .......... .......... .......... 57% 366K 1s
550K .......... .......... .......... .......... .......... 62% 390K 1s
600K .......... .......... .......... .......... .......... 67% 391K 1s
650K .......... .......... .......... .......... .......... 72% 388K 1s
700K .......... .......... .......... .......... .......... 78% 353K 1s
750K .......... .......... .......... .......... .......... 83% 384K 0s
800K .......... .......... .......... .......... .......... 88% 391K 0s
850K .......... .......... .......... .......... .......... 93% 327K 0s
900K .......... .......... .......... .......... .......... 99% 391K 0s
950K ......... 100% 391K=2.6s

2022-04-23 03:51:09 (376 KB/s) - 'lib/avctKVMIOLinux64.jar' saved [982571/982571]

Downloading avctVMLinux64
--2022-04-23 03:51:09-- https://192.168.200.87/software/avctVMLinux64.jar
Connecting to 192.168.200.87:443... connected.
WARNING: The certificate of '192.168.200.87' is not trusted.

WARNING: The certificate of '192.168.200.87' doesn't have a known issuer.

WARNING: The certificate of '192.168.200.87' has expired.

The certificate has expired
The certificate's owner does not match hostname '192.168.200.87'
HTTP request sent, awaiting response... 200 OK
Length: 201706 (197K) [application/octet-stream]
Saving to: 'lib/avctVMLinux64.jar'

0K .......... .......... .......... .......... .......... 25% 351K 0s
50K .......... .......... .......... .......... .......... 50% 382K 0s
100K .......... .......... .......... .......... .......... 76% 392K 0s
150K .......... .......... .......... .......... ...... 100% 360K=0.5s

2022-04-23 03:51:10 (371 KB/s) - 'lib/avctVMLinux64.jar' saved [201706/201706]

Extracting avctKVMIOLinux64
Extracting avctVMLinux64
Initialization complete, starting virtual console
Apr 23, 2022 3:51:11 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.

Apr 23, 2022 3:51:11 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: Not a directory

04/23/2022 03:51:11:582: Starting client.
==== propertyChange: (power_status):2====
====setPowerMenuStatus: (##2)
==== propertyChange: (singleCursorTerminationKey):66====
==== propertyChange: (SESSION_STATE):CONNECTING====
==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=820,height=620]====
==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=820,height=620]====
23/04/2022 03:51:12 copy_tiles: allocating first_line at size 27
04/23/2022 03:51:12:949: Connection failed.

==== propertyChange: (SESSION_STATE):CONNECTION_FAILED====
23/04/2022 03:51:17 created selwin: 0x40001f
23/04/2022 03:51:17 called initialize_xfixes()
quadcom commented 2 years ago

I managed to get Firefox to relax the ciphers and got access that way. Updated the FW to 2.92 and was able to continue using Chrome.

Hope this log file does help you figure out what was going wrong.