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

Server disconnected : Code 1006 #34

Open PLAY3R2130 opened 3 years ago

PLAY3R2130 commented 3 years ago

Hello all

Got the above error trying to use this docker, IP is set to https://IP and default port is being used, probably still doing something wrong, but I cannot find anything on Google to help, please assist. Below is the log from the docker, and attached is a screenshot.

Thanks

error

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... [certsmonitor] disabling service: secure connection not enabled. [xvfb] starting... [services.d] starting logmonitor... [services.d] starting statusmonitor... [logmonitor] no file to monitor: disabling service... [statusmonitor] no file to monitor: disabling service... [services.d] starting x11vnc... [services.d] starting openbox... [x11vnc] starting... [openbox] starting... 19/06/2021 01:13:20 passing arg to libvncserver: -rfbport 19/06/2021 01:13:20 passing arg to libvncserver: 5900 19/06/2021 01:13:20 passing arg to libvncserver: -rfbportv6 19/06/2021 01:13:20 passing arg to libvncserver: -1 19/06/2021 01:13:20 passing arg to libvncserver: -httpportv6 19/06/2021 01:13:20 passing arg to libvncserver: -1 19/06/2021 01:13:20 passing arg to libvncserver: -desktop 19/06/2021 01:13:20 passing arg to libvncserver: iDRAC 6 19/06/2021 01:13:20 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 799 19/06/2021 01:13:20 Using X display :0 19/06/2021 01:13:20 rootwin: 0x25c reswin: 0x400001 dpy: 0x9c0220 19/06/2021 01:13:20 19/06/2021 01:13:20 ------------------ USEFUL INFORMATION ------------------ 19/06/2021 01:13:20 X DAMAGE available on display, using it for polling hints. 19/06/2021 01:13:20 To disable this behavior use: '-noxdamage' 19/06/2021 01:13:20 19/06/2021 01:13:20 Most compositing window managers like 'compiz' or 'beryl' 19/06/2021 01:13:20 cause X DAMAGE to fail, and so you may not see any screen 19/06/2021 01:13:20 updates via VNC. Either disable 'compiz' (recommended) or 19/06/2021 01:13:20 supply the x11vnc '-noxdamage' command line option. 19/06/2021 01:13:20 X COMPOSITE available on display, using it for window polling. 19/06/2021 01:13:20 To disable this behavior use: '-noxcomposite' 19/06/2021 01:13:20 19/06/2021 01:13:20 Wireframing: -wireframe mode is in effect for window moves. 19/06/2021 01:13:20 If this yields undesired behavior (poor response, painting 19/06/2021 01:13:20 errors, etc) it may be disabled: 19/06/2021 01:13:20 - use '-nowf' to disable wireframing completely. 19/06/2021 01:13:20 - use '-nowcr' to disable the Copy Rectangle after the 19/06/2021 01:13:20 moved window is released in the new position. 19/06/2021 01:13:20 Also see the -help entry for tuning parameters. 19/06/2021 01:13:20 You can press 3 Alt_L's (Left "Alt" key) in a row to 19/06/2021 01:13:20 repaint the screen, also see the -fixscreen option for 19/06/2021 01:13:20 periodic repaints. 19/06/2021 01:13:20 GrabServer control via XTEST. 19/06/2021 01:13:20 19/06/2021 01:13:20 Scroll Detection: -scrollcopyrect mode is in effect to 19/06/2021 01:13:20 use RECORD extension to try to detect scrolling windows 19/06/2021 01:13:20 (induced by either user keystroke or mouse input). 19/06/2021 01:13:20 If this yields undesired behavior (poor response, painting 19/06/2021 01:13:20 errors, etc) it may be disabled via: '-noscr' 19/06/2021 01:13:20 Also see the -help entry for tuning parameters. 19/06/2021 01:13:20 You can press 3 Alt_L's (Left "Alt" key) in a row to 19/06/2021 01:13:20 repaint the screen, also see the -fixscreen option for 19/06/2021 01:13:20 periodic repaints. 19/06/2021 01:13:20 19/06/2021 01:13:20 XKEYBOARD: number of keysyms per keycode 7 is greater 19/06/2021 01:13:20 than 4 and 51 keysyms are mapped above 4. 19/06/2021 01:13:20 Automatically switching to -xkb mode. 19/06/2021 01:13:20 If this makes the key mapping worse you can 19/06/2021 01:13:20 disable it with the "-noxkb" option. 19/06/2021 01:13:20 Also, remember "-remap DEAD" for accenting characters. 19/06/2021 01:13:20 19/06/2021 01:13:20 X FBPM extension not supported. 19/06/2021 01:13:20 X display is not capable of DPMS. 19/06/2021 01:13:20 -------------------------------------------------------- 19/06/2021 01:13:20 19/06/2021 01:13:20 Default visual ID: 0x21 19/06/2021 01:13:20 Read initial data from X display into framebuffer. 19/06/2021 01:13:20 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120 19/06/2021 01:13:20 19/06/2021 01:13:20 X display :0 is 32bpp depth=24 true color 19/06/2021 01:13:20 19/06/2021 01:13:20 Listening for VNC connections on TCP port 5900 19/06/2021 01:13:20 19/06/2021 01:13:20 Xinerama is present and active (e.g. multi-head). 19/06/2021 01:13:20 Xinerama: number of sub-screens: 1 19/06/2021 01:13:20 Xinerama: no blackouts needed (only one sub-screen) 19/06/2021 01:13:20 19/06/2021 01:13:20 fb read rate: 1070 MB/sec 19/06/2021 01:13:20 fast read: reset -wait ms to: 10 19/06/2021 01:13:20 fast read: reset -defer ms to: 10 19/06/2021 01:13:20 The X server says there are 10 mouse buttons. 19/06/2021 01:13:20 screen setup finished. 19/06/2021 01:13:20

The VNC desktop is: 4cff5d06a66f: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

[services.d] starting app... [app] starting iDRAC 6... Starting Environment ok Extracting avctKVMIOLinux64 [services.d] done. Extracting avctVMLinux64 Initialization complete, starting virtual console Enabling keycode hack 19/06/2021 01:13:22 Got connection from client 127.0.0.1 19/06/2021 01:13:22 other clients: 19/06/2021 01:13:22 Got 'ws' WebSockets handshake 19/06/2021 01:13:22 Got protocol: binary 19/06/2021 01:13:22 - webSocketsHandshake: using binary/raw encoding 19/06/2021 01:13:22 - WebSockets client version hybi-13 19/06/2021 01:13:22 Disabled X server key autorepeat. 19/06/2021 01:13:22 to force back on run: 'xset r on' (3 times) 19/06/2021 01:13:22 incr accepted_client=1 for 127.0.0.1:53080 sock=10 19/06/2021 01:13:22 Client Protocol Version 3.8 19/06/2021 01:13:22 Protocol version sent 3.8, using 3.8 19/06/2021 01:13:22 rfbProcessClientSecurityType: executing handler for type 1 19/06/2021 01:13:22 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8 19/06/2021 01:13:22 Pixel format for client 127.0.0.1: 19/06/2021 01:13:22 32 bpp, depth 24, little endian 19/06/2021 01:13:22 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 19/06/2021 01:13:22 no translation needed 19/06/2021 01:13:22 Enabling NewFBSize protocol extension for client 127.0.0.1 19/06/2021 01:13:22 Enabling full-color cursor updates for client 127.0.0.1 19/06/2021 01:13:22 Using image quality level 6 for client 127.0.0.1 19/06/2021 01:13:22 Using JPEG subsampling 0, Q79 for client 127.0.0.1 19/06/2021 01:13:22 Using compression level 9 for client 127.0.0.1 19/06/2021 01:13:22 Enabling LastRect protocol extension for client 127.0.0.1 19/06/2021 01:13:22 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC) 19/06/2021 01:13:22 Using tight encoding for client 127.0.0.1 Jun 19, 2021 12:13:22 AM java.util.prefs.FileSystemPreferences$1 run WARNING: Couldn't create user preferences directory. User preferences are unusable. Jun 19, 2021 12:13:22 AM java.util.prefs.FileSystemPreferences$1 run WARNING: java.io.IOException: Not a directory 19/06/2021 01:13:23 client_set_net: 127.0.0.1 0.0003 19/06/2021 01:13:23 created xdamage object: 0x40002c 06/19/2021 12:13:23:115: Starting client. ==== propertyChange: (power_status):2==== ====setPowerMenuStatus: (##2) ==== propertyChange: (singleCursorTerminationKey):66==== ==== propertyChange: (SESSION_STATE):CONNECTING==== 06/19/2021 12:13:23:580: Connection failed. ==== propertyChange: (SESSION_STATE):CONNECTION_FAILED==== ==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=820,height=620]==== ==== propertyChange: (VIDEO_PANEL_SIZE_CHANGED):java.awt.Dimension[width=820,height=620]==== 19/06/2021 01:13:23 copy_tiles: allocating first_line at size 41 Jun 19, 2021 12:13:26 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock User prefs. Unix error code 20. Jun 19, 2021 12:13:26 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. [services.d] stopping services [services.d] stopping app... [services.d] stopping openbox... [services.d] stopping x11vnc... caught signal: 15 19/06/2021 01:13:27 deleted 40 tile_row polling images. 19/06/2021 01:13:27 Restored X server key autorepeat to: 1 [services.d] stopping statusmonitor... [services.d] stopping logmonitor... [services.d] stopping xvfb... [services.d] stopping nginx... [services.d] stopping certsmonitor... [services.d] stopping s6-fdholderd... [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] syncing disks. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting.

DomiStyle commented 3 years ago

Can you post your Docker command or docker-compose.yml?

PLAY3R2130 commented 3 years ago

Sorry, how do i do that, few commands i found did not work, I am running on UnRaid if that helps at all

DomiStyle commented 3 years ago

I don't really know anything about Unraid but a Docker command should look like this:

docker run -d -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=idrac1.example.org -e IDRAC_USER=root -e IDRAC_PASSWORD=1234 domistyle/idrac6

A docker-compose looks like this:

https://github.com/DomiStyle/docker-idrac6/blob/master/docker-compose.yml

It's the place where you set your username, host and password.

PLAY3R2130 commented 3 years ago

I have searched everywhere on UnRaid, even the AppData folder were idrac6 is located doesn't have a .yml file nor are any of the commands working to view it, the AppData folder does have a few .jar , .SO , .RSA .SF and a .MF file, but i cannot locate a .YML file. My other other dockers show that they have .YML files in there AppData folder so i do not know were to go from here, im going to keep looking

got2liv4him commented 3 years ago

I'm using unraid and have the same problem. The docker command would be docker create --name='idrac6' --net='bridge' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e 'IDRAC_HOST'='192.168.1.57' -e 'IDRAC_USER'='root' -e 'IDRAC_PASSWORD'='mypaswd' -e 'IDRAC_PORT;'='443' -e 'IDRAC_KEYCODE_HACK'='false' -e 'USER_ID'='99' -e 'GROUP_ID'='100' -p '5800:5800/tcp' -v '/mnt/user/appdata/idrac/vmedia':'/vmedia':'rw' -v '/mnt/user/appdata/idrac/app':'/app':'rw' -v '/mnt/user/appdata/idrac/screenshots':'/screenshots':'rw' 'domistyle/idrac6'

scubadave1122 commented 2 years ago

I am having the same issue

docker run -d \ -p 5800:5800 \ -p 5900:5900 \ -e IDRAC_HOST=192.168.2.158 \ -e IDRAC_USER=root \ -e IDRAC_PASSWORD=calvin \ domistyle/idrac6

05/04/2022 18:33:20 created selwin: 0x20001f

05/04/2022 18:33:20 called initialize_xfixes()

Apr 05, 2022 6:33:46 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode

WARNING: Could not lock User prefs. Unix error code 20.

Apr 05, 2022 6:33:46 PM java.util.prefs.FileSystemPreferences syncWorld

WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.