Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyone else getting Connection Failed just like if they were using the horrible java way? #5

Closed
eskimo opened this issue Nov 18, 2018 · 29 comments
Labels
question Further information is requested

Comments

@eskimo
Copy link

eskimo commented Nov 18, 2018

See the image
image

@eskimo
Copy link
Author

eskimo commented Nov 18, 2018

Not sure if this is relevant, but I'll add this.

idrac1_1  | Nov 18, 2018 3:59:30 PM java.util.prefs.FileSystemPreferences$1 run
idrac1_1  | WARNING: Couldn't create user preferences directory. User preferences are unusable.
idrac1_1  | Nov 18, 2018 3:59:30 PM java.util.prefs.FileSystemPreferences$1 run
idrac1_1  | WARNING: java.io.IOException: Not a directory
idrac1_1  | 11/18/2018 03:59:31:028: Starting client.
idrac1_1  | ====setPowerMenuStatus: (##2)
idrac1_1  | 11/18/2018 03:59:31:469:  Connection failed.
idrac1_1  | 18/11/2018 15:59:32 copy_tiles: allocating first_line at size 41

idrac1_1  | Nov 18, 2018 4:00:02 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
idrac1_1  | WARNING: Could not lock User prefs.  Unix error code 20.
idrac1_1  | Nov 18, 2018 4:00:02 PM java.util.prefs.FileSystemPreferences syncWorld
idrac1_1  | WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

@DomiStyle
Copy link
Owner

Can you attach a complete log file?

Does the console work outside of Docker?

Do you have an iDRAC 6 Enterprise module installed and is it recognized correctly? This can be checked on the top left corner of the iDRAC web interface.

@DomiStyle DomiStyle added the question Further information is requested label Nov 18, 2018
@eskimo
Copy link
Author

eskimo commented Nov 18, 2018

Sure, sorry didn't wan't to just throw a huge log out there. Here's the full log. It does say Enterprise in the top left corner. It works fine, just not on the new macOS which is why I'm trying to set something else up.

me@jordanko.ch ~/Documents/Git/docker-idrac6 $ docker-compose up
Starting docker-idrac6_idrac1_1 ... done
Attaching to docker-idrac6_idrac1_1
idrac1_1  | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
idrac1_1  | [s6-init] ensuring user provided files have correct perms...exited 0.
idrac1_1  | [fix-attrs.d] applying ownership & permissions fixes...
idrac1_1  | [fix-attrs.d] done.
idrac1_1  | [cont-init.d] executing container initialization scripts...
idrac1_1  | [cont-init.d] 00-app-niceness.sh: executing...
idrac1_1  | [cont-init.d] 00-app-niceness.sh: exited 0.
idrac1_1  | [cont-init.d] 00-app-script.sh: executing...
idrac1_1  | [cont-init.d] 00-app-script.sh: exited 0.
idrac1_1  | [cont-init.d] 00-app-user-map.sh: executing...
idrac1_1  | [cont-init.d] 00-app-user-map.sh: exited 0.
idrac1_1  | [cont-init.d] 00-clean-logmonitor-states.sh: executing...
idrac1_1  | [cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
idrac1_1  | [cont-init.d] 00-clean-tmp-dir.sh: executing...
idrac1_1  | [cont-init.d] 00-clean-tmp-dir.sh: exited 0.
idrac1_1  | [cont-init.d] 00-set-app-deps.sh: executing...
idrac1_1  | [cont-init.d] 00-set-app-deps.sh: exited 0.
idrac1_1  | [cont-init.d] 00-set-home.sh: executing...
idrac1_1  | [cont-init.d] 00-set-home.sh: exited 0.
idrac1_1  | [cont-init.d] 00-take-config-ownership.sh: executing...
idrac1_1  | [cont-init.d] 00-take-config-ownership.sh: exited 0.
idrac1_1  | [cont-init.d] 00-xdg-runtime-dir.sh: executing...
idrac1_1  | [cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
idrac1_1  | [cont-init.d] 10-certs.sh: executing...
idrac1_1  | [cont-init.d] 10-certs.sh: exited 0.
idrac1_1  | [cont-init.d] 10-cjk-font.sh: executing...
idrac1_1  | [cont-init.d] 10-cjk-font.sh: exited 0.
idrac1_1  | [cont-init.d] 10-nginx.sh: executing...
idrac1_1  | [cont-init.d] 10-nginx.sh: exited 0.
idrac1_1  | [cont-init.d] 10-vnc-password.sh: executing...
idrac1_1  | [cont-init.d] 10-vnc-password.sh: exited 0.
idrac1_1  | [cont-init.d] 10-web-index.sh: executing...
idrac1_1  | [cont-init.d] 10-web-index.sh: exited 0.
idrac1_1  | [cont-init.d] done.
idrac1_1  | [services.d] starting services
idrac1_1  | [services.d] starting s6-fdholderd...
idrac1_1  | [services.d] starting certsmonitor...
idrac1_1  | [services.d] starting xvfb...
idrac1_1  | [certsmonitor] disabling service: secure connection not enabled.
idrac1_1  | [xvfb] starting...
idrac1_1  | [services.d] starting nginx...
idrac1_1  | [services.d] starting x11vnc...
idrac1_1  | [nginx] starting...
idrac1_1  | [services.d] starting logmonitor...
idrac1_1  | [x11vnc] starting...
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: -rfbport
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: 5900
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: -rfbportv6
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: -1
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: -httpportv6
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: -1
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: -desktop
idrac1_1  | 18/11/2018 16:11:39 passing arg to libvncserver: iDRAC 6
idrac1_1  | 18/11/2018 16:11:39 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 721
idrac1_1  | [services.d] starting openbox...
idrac1_1  | [logmonitor] no file to monitor: disabling service...
idrac1_1  | [openbox] starting...
idrac1_1  | 18/11/2018 16:11:39 Using X display :0
idrac1_1  | 18/11/2018 16:11:39 rootwin: 0x43 reswin: 0x200001 dpy: 0xc6f3ba00
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 ------------------ USEFUL INFORMATION ------------------
idrac1_1  | 18/11/2018 16:11:39 X DAMAGE available on display, using it for polling hints.
idrac1_1  | 18/11/2018 16:11:39   To disable this behavior use: '-noxdamage'
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39   Most compositing window managers like 'compiz' or 'beryl'
idrac1_1  | 18/11/2018 16:11:39   cause X DAMAGE to fail, and so you may not see any screen
idrac1_1  | 18/11/2018 16:11:39   updates via VNC.  Either disable 'compiz' (recommended) or
idrac1_1  | 18/11/2018 16:11:39   supply the x11vnc '-noxdamage' command line option.
idrac1_1  | 18/11/2018 16:11:39 X COMPOSITE available on display, using it for window polling.
idrac1_1  | 18/11/2018 16:11:39   To disable this behavior use: '-noxcomposite'
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 Wireframing: -wireframe mode is in effect for window moves.
idrac1_1  | 18/11/2018 16:11:39   If this yields undesired behavior (poor response, painting
idrac1_1  | 18/11/2018 16:11:39   errors, etc) it may be disabled:
idrac1_1  | 18/11/2018 16:11:39    - use '-nowf' to disable wireframing completely.
idrac1_1  | 18/11/2018 16:11:39    - use '-nowcr' to disable the Copy Rectangle after the
idrac1_1  | 18/11/2018 16:11:39      moved window is released in the new position.
idrac1_1  | 18/11/2018 16:11:39   Also see the -help entry for tuning parameters.
idrac1_1  | 18/11/2018 16:11:39   You can press 3 Alt_L's (Left "Alt" key) in a row to
idrac1_1  | 18/11/2018 16:11:39   repaint the screen, also see the -fixscreen option for
idrac1_1  | 18/11/2018 16:11:39   periodic repaints.
idrac1_1  | 18/11/2018 16:11:39 GrabServer control via XTEST.
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 Scroll Detection: -scrollcopyrect mode is in effect to
idrac1_1  | 18/11/2018 16:11:39   use RECORD extension to try to detect scrolling windows
idrac1_1  | 18/11/2018 16:11:39   (induced by either user keystroke or mouse input).
idrac1_1  | 18/11/2018 16:11:39   If this yields undesired behavior (poor response, painting
idrac1_1  | 18/11/2018 16:11:39   errors, etc) it may be disabled via: '-noscr'
idrac1_1  | 18/11/2018 16:11:39   Also see the -help entry for tuning parameters.
idrac1_1  | 18/11/2018 16:11:39   You can press 3 Alt_L's (Left "Alt" key) in a row to
idrac1_1  | 18/11/2018 16:11:39   repaint the screen, also see the -fixscreen option for
idrac1_1  | 18/11/2018 16:11:39   periodic repaints.
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 XKEYBOARD: number of keysyms per keycode 7 is greater
idrac1_1  | 18/11/2018 16:11:39   than 4 and 51 keysyms are mapped above 4.
idrac1_1  | 18/11/2018 16:11:39   Automatically switching to -xkb mode.
idrac1_1  | 18/11/2018 16:11:39   If this makes the key mapping worse you can
idrac1_1  | 18/11/2018 16:11:39   disable it with the "-noxkb" option.
idrac1_1  | 18/11/2018 16:11:39   Also, remember "-remap DEAD" for accenting characters.
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 X FBPM extension not supported.
idrac1_1  | 18/11/2018 16:11:39 X display is not capable of DPMS.
idrac1_1  | 18/11/2018 16:11:39 --------------------------------------------------------
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 Default visual ID: 0x21
idrac1_1  | 18/11/2018 16:11:39 Read initial data from X display into framebuffer.
idrac1_1  | 18/11/2018 16:11:39 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 X display :0 is 32bpp depth=24 true color
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 Listening for VNC connections on TCP port 5900
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 Xinerama is present and active (e.g. multi-head).
idrac1_1  | 18/11/2018 16:11:39 Xinerama: number of sub-screens: 1
idrac1_1  | 18/11/2018 16:11:39 Xinerama: no blackouts needed (only one sub-screen)
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  | 18/11/2018 16:11:39 fb read rate: 1739 MB/sec
idrac1_1  | 18/11/2018 16:11:39 fast read: reset -wait  ms to: 10
idrac1_1  | 18/11/2018 16:11:39 fast read: reset -defer ms to: 10
idrac1_1  | 18/11/2018 16:11:39 The X server says there are 10 mouse buttons.
idrac1_1  | 18/11/2018 16:11:39 screen setup finished.
idrac1_1  | 18/11/2018 16:11:39
idrac1_1  |
idrac1_1  | The VNC desktop is:      cefd264ab05c:0
idrac1_1  | PORT=5900
idrac1_1  |
idrac1_1  | ******************************************************************************
idrac1_1  | Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
idrac1_1  |
idrac1_1  | The scheme stores pixel data offscreen on the VNC viewer side for faster
idrac1_1  | retrieval.  It should work with any VNC viewer.  Try it by running:
idrac1_1  |
idrac1_1  |     x11vnc -ncache 10 ...
idrac1_1  |
idrac1_1  | One can also add -ncache_cr for smooth 'copyrect' window motion.
idrac1_1  | More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
idrac1_1  |
idrac1_1  | [services.d] starting statusmonitor...
idrac1_1  | [statusmonitor] no file to monitor: disabling service...
idrac1_1  | [services.d] starting app...
idrac1_1  | [app] starting iDRAC 6...
idrac1_1  | Starting
idrac1_1  | Environment ok
idrac1_1  | Creating library folder
idrac1_1  | mkdir: can't create directory 'lib': File exists
idrac1_1  | Downloading required files
idrac1_1  | [services.d] done.
idrac1_1  | Nov 18, 2018 4:11:41 PM java.util.prefs.FileSystemPreferences$1 run
idrac1_1  | WARNING: Couldn't create user preferences directory. User preferences are unusable.
idrac1_1  | Nov 18, 2018 4:11:42 PM java.util.prefs.FileSystemPreferences$1 run
idrac1_1  | WARNING: java.io.IOException: Not a directory
idrac1_1  | 11/18/2018 04:11:42:142: Starting client.
idrac1_1  | ====setPowerMenuStatus: (##2)
idrac1_1  | 11/18/2018 04:11:42:575:  Connection failed.
idrac1_1  | Nov 18, 2018 4:12:13 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
idrac1_1  | WARNING: Could not lock User prefs.  Unix error code 20.
idrac1_1  | Nov 18, 2018 4:12:13 PM java.util.prefs.FileSystemPreferences syncWorld
idrac1_1  | WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

@DomiStyle
Copy link
Owner

Could you also post the docker-compose or Docker command you used?

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

I used the docker-compose included, just modified the username, password, and host.

One thing I can think of that may be an issue is that my host is example.com:8443

@DomiStyle
Copy link
Owner

One thing I can think of that may be an issue is that my host is example.com:8443

Yes, that's definitely a problem. Can you try switching to 443 temporarily and only set IDRAC_HOST to example.com?

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018 via email

@DomiStyle
Copy link
Owner

I can't. My idrac doesn't have its own ip and I have Apache on 443.

If you have an iDRAC Enterprise it should have its own NIC on the back, assuming you have set iDRAC to dedicated instead of shared in the BIOS.

As a workaround you can also add a volume to /app and start the container once. After the container comes up with the error message, restart the container with IDRAC_HOST set to example.org. That should make it use the cached .jars but still connect to the correct address.

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

Yeah I'm just connecting remotely, without a VPN. Using external ip. That's why I set the port to 8443 since I'm port forwarding.

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

The correct address is specifying a port as you can set in the idrac config. Not just assuming everyone uses the default.

@DomiStyle
Copy link
Owner

Yeah I'm just connecting remotely, without a VPN. Using external ip. That's why I set the port to 8443 since I'm port forwarding.

You mean the Docker container is not running locally or you have port forwarded the Docker container and access it remotely?

Can you try any of the variants above? I will add a separate port parameter once you can confirm that this is indeed the issue.

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

The network that the idrac and servers are on have a single external ip, a router port forwards ports 80/443 among others to a server, and 8443 to the idrac. Docker is running locally.

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

And if I try to remove the port it tries to redownload the .jar's and fails.

@DomiStyle
Copy link
Owner

And if I try to remove the port it tries to redownload the .jar's and fails.

Did you add a volume to /app?

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

I'm not sure what that means.

@DomiStyle
Copy link
Owner

I just added the http-port branch so you can try it. Just edit your docker-compose like this:

version: '2'

services:
idrac1:
    image: domistyle/idrac6:http-port
    restart: always
    ports:
    - 5800:5800
    - 5900:5900
    environment:
    - IDRAC_HOST=idrac1.example.org
    - IDRAC_PORT=8443
    - IDRAC_USER=root
    - IDRAC_PASSWORD=1234

Adjust the image to domistyle/idrac6:http-port and add the IDRAC_PORT environment variable. Remove any ports from IDRAC_HOST.

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

I've specified the port like you have there, but seems it's still trying to connect on 443.

@DomiStyle
Copy link
Owner

Works fine for me, did you recreate the container with docker-compose up -d?

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

Yep.

docker-idrac6_idrac1_1 is up-to-date

@DomiStyle
Copy link
Owner

Can you post the new docker-compose.yml?

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

version: '2'

services:
  idrac1:
    image: domistyle/idrac6
    restart: always
    ports:
      - 5800:5800
      - 5900:5900
    environment:
      - IDRAC_HOST=domain.com
      - IDRAC_PORT=8443
      - IDRAC_USER=username
      - IDRAC_PASSWORD=password

@DomiStyle
Copy link
Owner

Switch out image: domistyle/idrac6 for image: domistyle/idrac6:http-port.

@eskimo
Copy link
Author

eskimo commented Nov 19, 2018

Well, it connected and downloaded now, but still getting the connection failed message.

me@jordanko.ch ~/Documents/Git/docker-idrac6 $ docker-compose up
docker-idrac6_idrac1_1 is up-to-date
Attaching to docker-idrac6_idrac1_1
idrac1_1  | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
idrac1_1  | [s6-init] ensuring user provided files have correct perms...exited 0.
idrac1_1  | [fix-attrs.d] applying ownership & permissions fixes...
idrac1_1  | [fix-attrs.d] done.
idrac1_1  | [cont-init.d] executing container initialization scripts...
idrac1_1  | [cont-init.d] 00-app-niceness.sh: executing...
idrac1_1  | [cont-init.d] 00-app-niceness.sh: exited 0.
idrac1_1  | [cont-init.d] 00-app-script.sh: executing...
idrac1_1  | [cont-init.d] 00-app-script.sh: exited 0.
idrac1_1  | [cont-init.d] 00-app-user-map.sh: executing...
idrac1_1  | [cont-init.d] 00-app-user-map.sh: exited 0.
idrac1_1  | [cont-init.d] 00-clean-logmonitor-states.sh: executing...
idrac1_1  | [cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
idrac1_1  | [cont-init.d] 00-clean-tmp-dir.sh: executing...
idrac1_1  | [cont-init.d] 00-clean-tmp-dir.sh: exited 0.
idrac1_1  | [cont-init.d] 00-set-app-deps.sh: executing...
idrac1_1  | [cont-init.d] 00-set-app-deps.sh: exited 0.
idrac1_1  | [cont-init.d] 00-set-home.sh: executing...
idrac1_1  | [cont-init.d] 00-set-home.sh: exited 0.
idrac1_1  | [cont-init.d] 00-take-config-ownership.sh: executing...
idrac1_1  | [cont-init.d] 00-take-config-ownership.sh: exited 0.
idrac1_1  | [cont-init.d] 00-xdg-runtime-dir.sh: executing...
idrac1_1  | [cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
idrac1_1  | [cont-init.d] 10-certs.sh: executing...
idrac1_1  | [cont-init.d] 10-certs.sh: exited 0.
idrac1_1  | [cont-init.d] 10-cjk-font.sh: executing...
idrac1_1  | [cont-init.d] 10-cjk-font.sh: exited 0.
idrac1_1  | [cont-init.d] 10-nginx.sh: executing...
idrac1_1  | [cont-init.d] 10-nginx.sh: exited 0.
idrac1_1  | [cont-init.d] 10-vnc-password.sh: executing...
idrac1_1  | [cont-init.d] 10-vnc-password.sh: exited 0.
idrac1_1  | [cont-init.d] 10-web-index.sh: executing...
idrac1_1  | [cont-init.d] 10-web-index.sh: exited 0.
idrac1_1  | [cont-init.d] done.
idrac1_1  | [services.d] starting services
idrac1_1  | [services.d] starting s6-fdholderd...
idrac1_1  | [services.d] starting certsmonitor...
idrac1_1  | [services.d] starting xvfb...
idrac1_1  | [certsmonitor] disabling service: secure connection not enabled.
idrac1_1  | [xvfb] starting...
idrac1_1  | [services.d] starting nginx...
idrac1_1  | [services.d] starting x11vnc...
idrac1_1  | [nginx] starting...
idrac1_1  | [services.d] starting logmonitor...
idrac1_1  | [logmonitor] no file to monitor: disabling service...
idrac1_1  | [x11vnc] starting...
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: -rfbport
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: 5900
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: -rfbportv6
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: -1
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: -httpportv6
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: -1
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: -desktop
idrac1_1  | 19/11/2018 20:42:10 passing arg to libvncserver: iDRAC 6
idrac1_1  | 19/11/2018 20:42:10 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 718
idrac1_1  | 19/11/2018 20:42:10 Using X display :0
idrac1_1  | 19/11/2018 20:42:10 rootwin: 0x43 reswin: 0x200001 dpy: 0x50435a00
idrac1_1  | 19/11/2018 20:42:10
idrac1_1  | 19/11/2018 20:42:10 ------------------ USEFUL INFORMATION ------------------
idrac1_1  | 19/11/2018 20:42:11 X DAMAGE available on display, using it for polling hints.
idrac1_1  | 19/11/2018 20:42:11   To disable this behavior use: '-noxdamage'
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11   Most compositing window managers like 'compiz' or 'beryl'
idrac1_1  | 19/11/2018 20:42:11   cause X DAMAGE to fail, and so you may not see any screen
idrac1_1  | 19/11/2018 20:42:11   updates via VNC.  Either disable 'compiz' (recommended) or
idrac1_1  | 19/11/2018 20:42:11   supply the x11vnc '-noxdamage' command line option.
idrac1_1  | 19/11/2018 20:42:11 X COMPOSITE available on display, using it for window polling.
idrac1_1  | 19/11/2018 20:42:11   To disable this behavior use: '-noxcomposite'
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 Wireframing: -wireframe mode is in effect for window moves.
idrac1_1  | 19/11/2018 20:42:11   If this yields undesired behavior (poor response, painting
idrac1_1  | 19/11/2018 20:42:11   errors, etc) it may be disabled:
idrac1_1  | 19/11/2018 20:42:11    - use '-nowf' to disable wireframing completely.
idrac1_1  | 19/11/2018 20:42:11    - use '-nowcr' to disable the Copy Rectangle after the
idrac1_1  | 19/11/2018 20:42:11      moved window is released in the new position.
idrac1_1  | 19/11/2018 20:42:11   Also see the -help entry for tuning parameters.
idrac1_1  | 19/11/2018 20:42:11   You can press 3 Alt_L's (Left "Alt" key) in a row to
idrac1_1  | 19/11/2018 20:42:11   repaint the screen, also see the -fixscreen option for
idrac1_1  | 19/11/2018 20:42:11   periodic repaints.
idrac1_1  | 19/11/2018 20:42:11 GrabServer control via XTEST.
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 Scroll Detection: -scrollcopyrect mode is in effect to
idrac1_1  | 19/11/2018 20:42:11   use RECORD extension to try to detect scrolling windows
idrac1_1  | 19/11/2018 20:42:11   (induced by either user keystroke or mouse input).
idrac1_1  | 19/11/2018 20:42:11   If this yields undesired behavior (poor response, painting
idrac1_1  | 19/11/2018 20:42:11   errors, etc) it may be disabled via: '-noscr'
idrac1_1  | 19/11/2018 20:42:11   Also see the -help entry for tuning parameters.
idrac1_1  | 19/11/2018 20:42:11   You can press 3 Alt_L's (Left "Alt" key) in a row to
idrac1_1  | 19/11/2018 20:42:11   repaint the screen, also see the -fixscreen option for
idrac1_1  | 19/11/2018 20:42:11   periodic repaints.
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 XKEYBOARD: number of keysyms per keycode 7 is greater
idrac1_1  | 19/11/2018 20:42:11   than 4 and 51 keysyms are mapped above 4.
idrac1_1  | 19/11/2018 20:42:11   Automatically switching to -xkb mode.
idrac1_1  | 19/11/2018 20:42:11   If this makes the key mapping worse you can
idrac1_1  | 19/11/2018 20:42:11   disable it with the "-noxkb" option.
idrac1_1  | 19/11/2018 20:42:11   Also, remember "-remap DEAD" for accenting characters.
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 X FBPM extension not supported.
idrac1_1  | 19/11/2018 20:42:11 X display is not capable of DPMS.
idrac1_1  | 19/11/2018 20:42:11 --------------------------------------------------------
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 Default visual ID: 0x21
idrac1_1  | 19/11/2018 20:42:11 Read initial data from X display into framebuffer.
idrac1_1  | 19/11/2018 20:42:11 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 X display :0 is 32bpp depth=24 true color
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 Listening for VNC connections on TCP port 5900
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 Xinerama is present and active (e.g. multi-head).
idrac1_1  | 19/11/2018 20:42:11 Xinerama: number of sub-screens: 1
idrac1_1  | 19/11/2018 20:42:11 Xinerama: no blackouts needed (only one sub-screen)
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  | 19/11/2018 20:42:11 fb read rate: 2089 MB/sec
idrac1_1  | 19/11/2018 20:42:11 fast read: reset -wait  ms to: 10
idrac1_1  | 19/11/2018 20:42:11 fast read: reset -defer ms to: 10
idrac1_1  | 19/11/2018 20:42:11 The X server says there are 10 mouse buttons.
idrac1_1  | 19/11/2018 20:42:11 screen setup finished.
idrac1_1  | 19/11/2018 20:42:11
idrac1_1  |
idrac1_1  | The VNC desktop is:      3ad940b5514f:0
idrac1_1  | PORT=5900
idrac1_1  |
idrac1_1  | ******************************************************************************
idrac1_1  | Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
idrac1_1  |
idrac1_1  | The scheme stores pixel data offscreen on the VNC viewer side for faster
idrac1_1  | retrieval.  It should work with any VNC viewer.  Try it by running:
idrac1_1  |
idrac1_1  |     x11vnc -ncache 10 ...
idrac1_1  |
idrac1_1  | One can also add -ncache_cr for smooth 'copyrect' window motion.
idrac1_1  | More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
idrac1_1  |
idrac1_1  | s6-svwait: fatal: timed out
idrac1_1  | [services.d] starting openbox...
idrac1_1  | [openbox] starting...
idrac1_1  | [services.d] starting statusmonitor...
idrac1_1  | [statusmonitor] no file to monitor: disabling service...
idrac1_1  | [services.d] starting app...
idrac1_1  | [app] starting iDRAC 6...
idrac1_1  | Starting
idrac1_1  | Environment ok
idrac1_1  | Creating library folder
idrac1_1  | Downloading required files
idrac1_1  | Connecting to redacted:8443 (redacted:8443)
idrac1_1  | [services.d] done.
idrac1_1  | avctKVM.jar            5% |*                              | 55296   0:00:17 ETA
idrac1_1  | avctKVM.jar           36% |***********                    |   355k  0:00:03 ETA
idrac1_1  | avctKVM.jar           68% |*********************          |   670k  0:00:01 ETA
idrac1_1  | avctKVM.jar           99% |****************************** |   979k  0:00:00 ETA
idrac1_1  | avctKVM.jar          100% |*******************************|   982k  0:00:00 ETA
idrac1_1  |
idrac1_1  | Connecting to redacted:8443 (redacted:8443)
idrac1_1  | 19/11/2018 20:42:24 Got connection from client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24   other clients:
idrac1_1  | 19/11/2018 20:42:24 Got 'ws' WebSockets handshake
idrac1_1  | 19/11/2018 20:42:24 Got protocol: binary
idrac1_1  | 19/11/2018 20:42:24   - webSocketsHandshake: using binary/raw encoding
idrac1_1  | 19/11/2018 20:42:24   - WebSockets client version hybi-13
idrac1_1  | 19/11/2018 20:42:24 Disabled X server key autorepeat.
idrac1_1  | 19/11/2018 20:42:24   to force back on run: 'xset r on' (3 times)
idrac1_1  | 19/11/2018 20:42:24 incr accepted_client=1 for 127.0.0.1:58820  sock=10
idrac1_1  | 19/11/2018 20:42:24 Client Protocol Version 3.8
idrac1_1  | 19/11/2018 20:42:24 Protocol version sent 3.8, using 3.8
idrac1_1  | 19/11/2018 20:42:24 rfbProcessClientSecurityType: executing handler for type 1
idrac1_1  | 19/11/2018 20:42:24 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
idrac1_1  | 19/11/2018 20:42:24 Pixel format for client 127.0.0.1:
idrac1_1  | 19/11/2018 20:42:24   32 bpp, depth 24, little endian
idrac1_1  | 19/11/2018 20:42:24   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
idrac1_1  | 19/11/2018 20:42:24 no translation needed
idrac1_1  | 19/11/2018 20:42:24 Enabling NewFBSize protocol extension for client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24 Enabling full-color cursor updates for client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24 Using image quality level 6 for client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24 Using JPEG subsampling 0, Q79 for client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24 Using compression level 9 for client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24 Enabling LastRect protocol extension for client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
idrac1_1  | 19/11/2018 20:42:24 Using tight encoding for client 127.0.0.1
idrac1_1  | 19/11/2018 20:42:24 client_set_net: 127.0.0.1  0.0001
idrac1_1  | 19/11/2018 20:42:24 created   xdamage object: 0x20002c
idrac1_1  | avctKVMIOLinux64.jar  26% |********                       |   250k  0:00:02 ETA
idrac1_1  | avctKVMIOLinux64.jar  48% |***************                |   468k  0:00:02 ETA
idrac1_1  | avctKVMIOLinux64.jar  62% |*******************            |   605k  0:00:01 ETA
idrac1_1  | avctKVMIOLinux64.jar  94% |*****************************  |   908k  0:00:00 ETA
idrac1_1  | avctKVMIOLinux64.jar 100% |*******************************|   960k  0:00:00 ETA
idrac1_1  |
idrac1_1  | Connecting to redacted:8443 (redacted:8443)
idrac1_1  | avctVMLinux64.jar     89% |***************************    |   118k  0:00:00 ETA
idrac1_1  | avctVMLinux64.jar    100% |*******************************|   132k  0:00:00 ETA
idrac1_1  |
idrac1_1  | Nov 19, 2018 8:42:32 PM java.util.prefs.FileSystemPreferences$1 run
idrac1_1  | WARNING: Couldn't create user preferences directory. User preferences are unusable.
idrac1_1  | Nov 19, 2018 8:42:32 PM java.util.prefs.FileSystemPreferences$1 run
idrac1_1  | WARNING: java.io.IOException: Not a directory
idrac1_1  | 11/19/2018 08:42:32:944: Starting client.
idrac1_1  | 19/11/2018 20:42:33 created selwin: 0x20002d
idrac1_1  | 19/11/2018 20:42:33 called initialize_xfixes()
idrac1_1  | ====setPowerMenuStatus: (##2)
idrac1_1  | 11/19/2018 08:42:33:441:  Connection failed with exception: Connection refused (Connection refused)
idrac1_1  | 19/11/2018 20:42:33 copy_tiles: allocating first_line at size 41

@DomiStyle
Copy link
Owner

idrac1_1 | 11/19/2018 08:42:33:441: Connection failed with exception: Connection refused (Connection refused)

At least we're getting a real error message now. Make sure the Docker container can reach port 5900 on your iDRAC and example.org is really pointing at your iDRAC and not a proxy in front of it.

I am not sure if you can use virtual console with a shared NIC though, I never tried. Since you said you used it previously I'm just going to assume it works.

@eskimo
Copy link
Author

eskimo commented Nov 20, 2018

Well if I telnet to that port I get a connection, and would assume docker could too? But yeah, I've been using my idrac with this port forwarding setup for years. 5900 is forwarded to idrac.

@eskimo
Copy link
Author

eskimo commented Nov 20, 2018

Wait. It just loaded. Seems after a few failures it actually connected.

@DomiStyle
Copy link
Owner

Wait. It just loaded. Seems after a few failures it actually connected.

Does it work reliably now?

@eskimo
Copy link
Author

eskimo commented Nov 21, 2018

Yep, seems like everything is good. So nice to be able to use my iDRAC again. Thanks for your help with this :)

@DomiStyle
Copy link
Owner

Good to hear. I'm going to close this issue then and merge the changes to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants