jlesage / docker-jdownloader-2

Docker container for JDownloader 2
MIT License
783 stars 71 forks source link

[Bug] Pasting not working to web interface (container running on Synology) #181

Closed joestevens2000 closed 10 months ago

joestevens2000 commented 10 months ago

Current Behavior

Pasting to the web interface (with right click or ctrl+v) doesn't work for me. However, copying and pasting within the web interface works fine, so the two clipboards seem to be isolated from each other. Similarly, copying something on the web interface and then trying to paste it to a separate location in Windows also doesn't work. Copying/pasting from the web interfaces of other containers works as expected.

I notice this was raised before in #129 but closed without solution by the opener so perhaps there's something wrong with my config.

Environment

Container creation

Created in docker GUI for Synology using the jlesage/jdownloader-2/ image

Container log

[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-jdownloader2.sh: executing...
[cont-init   ] 55-jdownloader2.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           JDownloader 2                                 │
    │ Application Version:   n/a                                           │
    │ Docker Image Version:  23.11.2                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'openbox'...
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[logrotate   ] warning: state file /config/xdg/state/logrotate/logrotate.status is world-readable and thus can be locked from other unprivileged users. Skipping lock acquisition...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built Nov 17 2023 22:53:44
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Wed Nov 22 10:59:48 2023
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'openbox'...
[supervisor  ] starting service 'app'...
[supervisor  ] all services started.
[xvnc        ] Wed Nov 22 11:00:14 2023
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ] Wed Nov 22 11:00:15 2023
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[xvnc        ] Wed Nov 22 11:03:40 2023
[xvnc        ]  Connections: accepted: 172.22.0.1::54329
[xvnc        ]  VNCSConnST:  closing 172.22.0.1::54329: reading version failed: not an RFB
[xvnc        ]               client?
[xvnc        ]  EncodeManager: Framebuffer updates: 0
[xvnc        ]  EncodeManager:   Total: 0 rects, 0 pixels
[xvnc        ]  EncodeManager:          0 B (1:-nan ratio)
[xvnc        ]  Connections: closed: 172.22.0.1::54329
[xvnc        ]  ComparingUpdateTracker: 205.22 Mpixels in / 24.5987 Mpixels out
[xvnc        ]  ComparingUpdateTracker: (1:8.34272 ratio)
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc        ]  EncodeManager: Framebuffer updates: 552
[xvnc        ]  EncodeManager:   CopyRect:
[xvnc        ]  EncodeManager:     Copies: 2 rects, 717.385 kpixels
[xvnc        ]  EncodeManager:             32 B (1:89673.9 ratio)
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 355 rects, 26.5966 Mpixels
[xvnc        ]  EncodeManager:            5.54688 KiB (1:18730.8 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 241 rects, 110.577 kpixels
[xvnc        ]  EncodeManager:                 7.4502 KiB (1:58.3563 ratio)
[xvnc        ]  EncodeManager:     Indexed RLE: 913 rects, 1.19431 Mpixels
[xvnc        ]  EncodeManager:                  166.623 KiB (1:28.0633 ratio)
[xvnc        ]  EncodeManager:   Tight (JPEG):
[xvnc        ]  EncodeManager:     Full Colour: 605 rects, 2.10956 Mpixels
[xvnc        ]  EncodeManager:                  2.21858 MiB (1:3.63036 ratio)
[xvnc        ]  EncodeManager:   Total: 2.116 krects, 30.7285 Mpixels
[xvnc        ]  EncodeManager:          2.39402 MiB (1:48.9736 ratio)
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[xvnc        ] Wed Nov 22 11:03:41 2023
[xvnc        ]  Connections: accepted: 172.22.0.1::54330
[xvnc        ]  VNCSConnST:  closing 172.22.0.1::54330: reading version failed: not an RFB
[xvnc        ]               client?
[xvnc        ]  EncodeManager: Framebuffer updates: 0
[xvnc        ]  EncodeManager:   Total: 0 rects, 0 pixels
[xvnc        ]  EncodeManager:          0 B (1:-nan ratio)
[xvnc        ]  Connections: closed: 172.22.0.1::54330
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[xvnc        ] Wed Nov 22 11:03:50 2023
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ] Wed Nov 22 11:04:05 2023
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc        ]  EncodeManager: Framebuffer updates: 15
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 91 rects, 2.38516 Mpixels
[xvnc        ]  EncodeManager:            1.42188 KiB (1:6553.4 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 46 rects, 103.39 kpixels
[xvnc        ]  EncodeManager:                 1.45801 KiB (1:277.369 ratio)
[xvnc        ]  EncodeManager:     Indexed RLE: 74 rects, 306.344 kpixels
[xvnc        ]  EncodeManager:                  13.0889 KiB (1:91.4918 ratio)
[xvnc        ]  EncodeManager:   Tight (JPEG):
[xvnc        ]  EncodeManager:     Full Colour: 72 rects, 528.297 kpixels
[xvnc        ]  EncodeManager:                  458.46 KiB (1:4.50313 ratio)
[xvnc        ]  EncodeManager:   Total: 283 rects, 3.3232 Mpixels
[xvnc        ]  EncodeManager:          474.429 KiB (1:27.3688 ratio)
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 3.64544 Mpixels in / 18.076 kpixels out
[xvnc        ]  ComparingUpdateTracker: (1:201.673 ratio)
[xvnc        ] Wed Nov 22 11:05:10 2023
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ] Wed Nov 22 11:07:18 2023
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc        ]  EncodeManager: Framebuffer updates: 26
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 81 rects, 2.29609 Mpixels
[xvnc        ]  EncodeManager:            1.26562 KiB (1:7087.44 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 38 rects, 74.196 kpixels
[xvnc        ]  EncodeManager:                 1.19531 KiB (1:242.843 ratio)
[xvnc        ]  EncodeManager:     Indexed RLE: 62 rects, 258.876 kpixels
[xvnc        ]  EncodeManager:                  11.0566 KiB (1:91.5252 ratio)
[xvnc        ]  EncodeManager:   Tight (JPEG):
[xvnc        ]  EncodeManager:     Full Colour: 67 rects, 676.801 kpixels
[xvnc        ]  EncodeManager:                  473.046 KiB (1:5.59045 ratio)
[xvnc        ]  EncodeManager:   Total: 248 rects, 3.30596 Mpixels
[xvnc        ]  EncodeManager:          486.563 KiB (1:26.547 ratio)
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 317.133 kpixels in / 10.98 kpixels out
[xvnc        ]  ComparingUpdateTracker: (1:28.8828 ratio)
[xvnc        ] Fri Nov 24 10:57:14 2023
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[supervisor  ] SIGTERM received, shutting down...
[supervisor  ] stopping service 'app'...
[supervisor  ] stopping service 'openbox'...
[supervisor  ] service 'openbox' exited (with status 0).
[supervisor  ] service 'app' exited (with status 127).
[supervisor  ] stopping service 'nginx'...
[xvnc        ] Fri Nov 24 11:07:42 2023
[xvnc        ]  VNCSConnST:  Failed to flush remaining socket data on close: write: Broken
[xvnc        ]               pipe (32)
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: write: Broken pipe (32)
[xvnc        ]  EncodeManager: Framebuffer updates: 1825
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 2.85 krects, 44.5675 Mpixels
[xvnc        ]  EncodeManager:            44.5312 KiB (1:3910.18 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 832 rects, 480.093 kpixels
[xvnc        ]  EncodeManager:                 25.7627 KiB (1:73.1722 ratio)
[xvnc        ]  EncodeManager:     Indexed RLE: 2.466 krects, 4.05947 Mpixels
[xvnc        ]  EncodeManager:                  367.62 KiB (1:43.2136 ratio)
[xvnc        ]  EncodeManager:   Tight (JPEG):
[xvnc        ]  EncodeManager:     Full Colour: 2.328 krects, 10.6525 Mpixels
[xvnc        ]  EncodeManager:                  11.1869 MiB (1:3.63484 ratio)
[xvnc        ]  EncodeManager:   Total: 8.476 krects, 59.7595 Mpixels
[xvnc        ]  EncodeManager:          11.6146 MiB (1:19.6358 ratio)
[supervisor  ] service 'nginx' exited (with status 0).
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 595.95 Mpixels in / 56.6418 Mpixels out
[xvnc        ]  ComparingUpdateTracker: (1:10.5214 ratio)
[supervisor  ] stopping service 'xvnc'...
[xvnc        ] Fri Nov 24 11:07:43 2023
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor  ] service 'xvnc' exited (with status 0).
[supervisor  ] sending SIGTERM to all processes...
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.
[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: generating DH parameters (2048 bits), this is going to take a long time...
[cont-init   ] 10-certs.sh: generating self-signed certificate for WEB server...
[cont-init   ] 10-certs.sh: generating self-signed certificate for VNC server...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-jdownloader2.sh: executing...
[cont-init   ] 55-jdownloader2.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           JDownloader 2                                 │
    │ Application Version:   n/a                                           │
    │ Docker Image Version:  23.11.2                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built Nov 17 2023 22:53:44
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Fri Nov 24 11:15:53 2023
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTPs connections on port 5800.
[supervisor  ] starting service 'openbox'...
[supervisor  ] starting service 'app'...
[supervisor  ] all services started.
[xvnc        ] Fri Nov 24 11:21:44 2023
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)

Container inspect

[
    {
        "Id": "8167dc3d8e01e9aa9076a804465112da5b29571cfcee90cec7d2da9860fa45ab",
        "Created": "2023-11-22T10:59:40.971657632Z",
        "Path": "/init",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 28161,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2023-11-24T11:08:05.822513003Z",
            "FinishedAt": "2023-11-24T11:07:44.066739815Z",
            "StartedTs": 1700824085,
            "FinishedTs": 1700824064
        },
        "Image": "sha256:d544df040e95e5f0c4af3a962d9c15d0b2a9499fe29fb41a8370e71b45568bc3",
        "ResolvConfPath": "/volume1/@docker/containers/8167dc3d8e01e9aa9076a804465112da5b29571cfcee90cec7d2da9860fa45ab/resolv.conf",
        "HostnamePath": "/volume1/@docker/containers/8167dc3d8e01e9aa9076a804465112da5b29571cfcee90cec7d2da9860fa45ab/hostname",
        "HostsPath": "/volume1/@docker/containers/8167dc3d8e01e9aa9076a804465112da5b29571cfcee90cec7d2da9860fa45ab/hosts",
        "LogPath": "/volume1/@docker/containers/8167dc3d8e01e9aa9076a804465112da5b29571cfcee90cec7d2da9860fa45ab/log.db",
        "Name": "/jdownloader2",
        "RestartCount": 0,
        "Driver": "aufs",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/volume1/share/data/jdownloader2:/output:rw",
                "/volume1/docker/jdownloader2:/config:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "db",
                "Config": {}
            },
            "NetworkMode": "jdownloader2Net",
            "PortBindings": {
                "3129/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "3129"
                    }
                ],
                "5800/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "5800"
                    }
                ],
                "5900/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "5900"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "host",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
                "ENV=/root/.docker_rc",
                "USER_ID=1043",
                "GROUP_ID=65541",
                "SUP_GROUP_IDS=",
                "UMASK=0022",
                "LANG=en_US.UTF-8",
                "TZ=Etc/UTC",
                "KEEP_APP_RUNNING=0",
                "APP_NICENESS=0",
                "INSTALL_PACKAGES=",
                "PACKAGES_MIRROR=",
                "CONTAINER_DEBUG=0",
                "DISPLAY_WIDTH=1920",
                "DISPLAY_HEIGHT=1080",
                "DARK_MODE=1",
                "SECURE_CONNECTION=1",
                "SECURE_CONNECTION_VNC_METHOD=SSL",
                "SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
                "WEB_LISTENING_PORT=5800",
                "VNC_LISTENING_PORT=5900",
                "VNC_PASSWORD=",
                "ENABLE_CJK_FONT=0"
            ],
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 50,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": null,
            "Name": "aufs"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/volume1/share/data/jdownloader2",
                "Destination": "/output",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/volume1/docker/jdownloader2",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "jdownloader2",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "3129/tcp": {},
                "5800/tcp": {},
                "5900/tcp": {}
            },
            "Tty": true,
            "OpenStdin": true,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
                "ENV=/root/.docker_rc",
                "USER_ID=1043",
                "GROUP_ID=65541",
                "SUP_GROUP_IDS=",
                "UMASK=0022",
                "LANG=en_US.UTF-8",
                "TZ=Etc/UTC",
                "KEEP_APP_RUNNING=0",
                "APP_NICENESS=0",
                "INSTALL_PACKAGES=",
                "PACKAGES_MIRROR=",
                "CONTAINER_DEBUG=0",
                "DISPLAY_WIDTH=1920",
                "DISPLAY_HEIGHT=1080",
                "DARK_MODE=1",
                "SECURE_CONNECTION=1",
                "SECURE_CONNECTION_VNC_METHOD=SSL",
                "SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
                "WEB_LISTENING_PORT=5800",
                "VNC_LISTENING_PORT=5900",
                "VNC_PASSWORD=",
                "ENABLE_CJK_FONT=0"
            ],
            "Cmd": [
                "/init"
            ],
            "Image": "jlesage/jdownloader-2:latest",
            "Volumes": {
                "/config": {},
                "/output": {}
            },
            "WorkingDir": "/tmp",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "org.label-schema.description": "Docker container for JDownloader 2",
                "org.label-schema.name": "jdownloader-2",
                "org.label-schema.schema-version": "1.0",
                "org.label-schema.vcs-url": "https://github.com/jlesage/docker-jdownloader-2",
                "org.label-schema.version": "23.11.2"
            },
            "DDSM": false
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "7e77a2711f178ac82e922c8246b0e7feba8eb0bbd4b217c8f535fcfab8d880e9",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "3129/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "3129"
                    }
                ],
                "5800/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "5800"
                    }
                ],
                "5900/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "5900"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/7e77a2711f17",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "jdownloader2Net": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": [
                        "8167dc3d8e01",
                        "jdownloader2"
                    ],
                    "NetworkID": "e7898a9f5dadcde58fea79d3e1873881b1e44400988c751dd829155b21f4e270",
                    "EndpointID": "0f1b9db0e840f0e71c215cb47204e9cd11593dac3e141993204f46e70d75282f",
                    "Gateway": "172.22.0.1",
                    "IPAddress": "172.22.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:16:00:02",
                    "DriverOpts": null
                }
            }
        }
    }
]
joestevens2000 commented 10 months ago

Have discovered a workaround by pasting to the popup on the left side which has a 'clipboard' area. That part seems to be bi-directional as I can copy/paste to and from it both from Windows and within jdownloader2.

I'll leave this open for now as I'm not sure that's the intended behaviour, but at least there's a workaround.

jlesage commented 10 months ago

Yes, the clipboard is the way to go to copy/paste between the host and the container.

joestevens2000 commented 10 months ago

Great thanks, out of curiosity is there a reason this middle step is needed? I'm guessing the way the container is set up direct copy-paste can't be done so this popup is there to bridge the gap?

sammyke007 commented 10 months ago

Interested too!

jlesage commented 10 months ago

JDownloader is not a web application, but a standard Linux desktop application that you access through an HTML VNC client. Thus, when you want to paste something, it has to be sent to the container via the VNC protocol. Also, most browsers, for security reason, don't allow a web page to automatically get the content of the host clipboard, without user interaction.

sammyke007 commented 10 months ago

JDownloader is not a web application, but a standard Linux desktop application that you access through an HTML VNC client. Thus, when you want to paste something, it has to be sent to the container via the VNC protocol. Also, most browsers, for security reason, don't allow a web page to automatically get the content of the host clipboard, without user interaction.

Tnx for the great explanation!

pabloalcantara commented 9 months ago

Have discovered a workaround by pasting to the popup on the left side which has a 'clipboard' area. That part seems to be bi-directional as I can copy/paste to and from it both from Windows and within jdownloader2.

I'll leave this open for now as I'm not sure that's the intended behaviour, but at least there's a workaround.

Hi, I can´t find this clipboard icon. Where it is?

joestevens2000 commented 9 months ago

Hi, I can´t find this clipboard icon. Where it is?

There are three dots on a little tab on the left hand side of the screen, about halfway down. If you click that tab, it expands out the popup.

The popup looks like this: image

pabloalcantara commented 9 months ago

Thanks, The problme is that I was using the cloudflare vnc renderer. I changed to http, and the tab appears. Thanks

Em sex., 29 de dez. de 2023 às 09:23, joestevens2000 < @.***> escreveu:

Hi, I can´t find this clipboard icon. Where it is?

There are three dots on a little tab on the left hand side of the screen, about halfway down. If you click that tab, it expands out the popup.

The popup looks like this: image.png (view on web) https://github.com/jlesage/docker-jdownloader-2/assets/151928291/d2b5a6d4-5739-4d3d-80a6-0803815ade8d

— Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-jdownloader-2/issues/181#issuecomment-1872014163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHBTSCTFFD4T3DHBBJNAITYL2Y3PAVCNFSM6AAAAAA7ZAUYLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGAYTIMJWGM . You are receiving this because you commented.Message ID: @.***>

-- Atenciosamente, Pablo Alcântara

Analista de Tecnologia da Informação, Comunicação e segurança