Closed jennierose closed 1 year ago
I'm seeing a similar problem. It seems to be the proxy (it worked without the proxy). I see some exta settings are needed here: https://guacamole.apache.org/doc/1.4.0/gug/reverse-proxy.html#proxying-with-nginx
It seems to be the proxy (it worked without the proxy). Is there a work-around we can try from the docker-side-of-things?
I'm having the same issue. My calibre instance lives behind a nginx-proxy-manager. I've pinned my docker-compose to the 5.38.0
version and that seems to work fine but I'd love to figure out what I need to do to use the latest versions.
I've tried accessing the UI via http://IP:PORT
and also tried @markNZed's suggestion by adding the custom settings to nginx-proxy-manager but neither of these works. My errors are the same as @jennierose's.
If only the calibre version 5.x is working but version 6.x not, then keep in mind, that version 6 needs a newer kernel version than version 5. Many of Synology NAS e.g. are running with kernel 3.10 and users are reporting that calibre won't start with this old kernel.
@theilenz I can't speak for @scottsuch's setup, but if you double check the Environment section in the issue description, this problem is taking place with a modern kernel version (Linux 5.10).
I'm not running on Synology. I'm running on an Intel NUC. The host is an Ubuntu 20.04 installation running 5.4.0-124-generic
kernel. I installed Docker via the official instructions here.
I have seen the kernel version in the environment section, but scottssuch's were missing at this time. However, if the guacamole shows only a blank page, especially without reverse proxy, but direct connection, than it might be possible, that calibre isn't running at all. Maybe just try and start it inside the container to see what it reports then.
I exec'd into the container and ran the following
s6-envdir -fn -- /var/run/s6/container_environment /bin/bash -c /usr/bin/calibre
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
I'm not certain if I did that right so feel free to point out if I'm missing something.
This is happening to me right now, after this change. Calibre isn't starting up and the Guacamole Client is also displaying a blank screen. The furthest that I got was something about a child process lock, but I haven't been able to reproduce.
Falling back to 6.4.0 makes everything work again.
With the 6.5.0 release I'm now getting this...
Logs are here:
[custom-init] No custom services found, skipping...
[migrations] started
[migrations] no migrations found
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 1000
-------------------------------------
Generating 2048 bit rsa key...
ssl_gen_key_xrdp1 ok
saving to rsakeys.ini
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+......+...+..........+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.+.....+..........+.....+.+.......................+....+......+..+....+...+......+............+.....+....+...+.....+............+....+.....+.+...+............+...+...+..............+...+.......+.........+..............+.......+...+...+...+...........+....+..+...............+...+....+...+........+...................+..+.........+.+......+........+....+..+..................+..........+..+...+......+...................+......+..+..................+.......+.....+....+.....+................+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+...........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.............+.....+...+...+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+........+.+.....+....+.....+.......+..+.......+...+.....+..........+...+..+...+..........+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
**** No auth enabled. To enable auth, you can set the PASSWORD var in docker arguments. ****
[custom-init] No custom files found, skipping...
guacd[249]: INFO: Guacamole proxy daemon (guacd) version 1.1.0 started
guacd[249]: INFO: Listening on host 0.0.0.0, port 4822
guacd[249]: INFO: Guacamole connection closed during handshake
/usr/bin/with-contenv: line 7: umask: 18: octal number out of range
Starting guacamole-lite websocket server
listening on *:8080
[ls.io-init] done.
/usr/bin/with-contenv: line 7: umask: 18: octal number out of range
[guac-init] Auto start set, starting application
[2022-09-21 18:35:24] [Connection 1] Client connection open
[2022-09-21 18:35:24] [Connection 1] Opening guacd connection
[2022-09-21 18:35:24] [Connection 1] guacd connection open
[2022-09-21 18:35:24] [Connection 1] Selecting connection type: rdp
[2022-09-21 18:35:24] [Connection 1] Sending opCode: 6.select,3.rdp;
guacd[249]: INFO: Creating new client for protocol "rdp"
guacd[249]: INFO: Connection ID is "$087e36e3-b9d5-4764-9a9f-fb039bcbc032"
[2022-09-21 18:35:24] [Connection 1] Sending opCode: 4.size,4.1024,3.768,2.96;
[2022-09-21 18:35:24] [Connection 1] Sending opCode: 5.audio,9.audio/L16;
[2022-09-21 18:35:24] [Connection 1] Sending opCode: 5.video;
[2022-09-21 18:35:24] [Connection 1] Sending opCode: 5.image;
[2022-09-21 18:35:24] [Connection 1] Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info
[2022-09-21 18:35:24] [Connection 1] Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,3.abc,3.abc,4.1024,3.768,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.;
guacd[311]: INFO: Security mode: Negotiate (ANY)
guacd[311]: INFO: Resize method: none
guacd[311]: INFO: User "@4598a726-95a8-47e6-9895-46a745b77e6a" joined connection "$087e36e3-b9d5-4764-9a9f-fb039bcbc032" (1 users now present)
5.ready,37.$087e36e3-b9d5-4764-9a9f-fb039bcbc032;
guacd[311]: INFO: Loading keymap "base"
guacd[311]: INFO: Loading keymap "en-us-qwerty"
5.audio,1.1,31.audio/L16;rate=44100,channels=2;4.size,1.0,4.1024,3.768;4.size,2.-1,2.11,2.16;3.img,1.3,2.12,2.-1,9.image/png,1.0,1.0;4.blob,1.3,232.iVBORw0KGgoAAAANSUhEUgAAAAsAAAAQCAYAAADAvYV+AAAABmJLR0QA/wD/AP+gvaeTAAAAYklEQVQokY2RQQ4AIQgDW+L/v9y9qCEsIJ4QZggoJAnDYwAwFQwASI4EO8FEMH95CRYTnfCDOyGFK6GEM6GFo7AqKI4sSSsCJH1X+roFkKdjueABX/On77lz2uGtr6pj9okfTeJQAYVaxnMAAAAASUVORK5CYII=;3.end,1.3;6.cursor,1.0,1.0,2.-1,1.0,1.0,2.11,2.16;
sh: 1: xauth: not found
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux 19e2068db2b4 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.0-124-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro
xorg-server 2:21.1.3-2ubuntu2.1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.10.log", Time: Wed Sep 21 22:35:25 2022
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
rdpProbe: found DRI3 xorg.conf value [1]
rdpPreInit:
rdpPreInit: /dev/dri/renderD128 open failed
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x7f8633c08010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000806ec bx 0x04100800 cx 0x7ffafbbf dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpXvInit: depth 24
rdpScreenInit: out
rdpCreateScreenResources:
rdpmousePreInit: drv 0x557cd37e0420 info 0x557cd3961520, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x7f86350a83b0
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x557cd37e03d0 info 0x557cd3aeb6d0, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x7f863452ad50
rdpkeybControl: what 1
rdpkeybDeviceOn:
4.sync,10.2447371685;
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
screen resized to 1024x768
RRScreenSizeSet ok 1
rdpResizeSession: width 1024 height 768
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 9
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x557cd3b2c570
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1024 height 768 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid 0 shmemptr 0x7f8633c5d000
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1024 cy 768
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
(EE) Failed to open authorization file ".Xauthority": No such file or directory
rdpClientConProcessMsgClientInfo:
got client info bytes 7072
jpeg support 0
offscreen support 0
offscreen size 0
offscreen entries 0
client supports glyph cache but server disabled
client can not do offscreen to offscreen blits
client can do new(color) cursor
client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1024 height 768
rdpLoadLayout: keylayout 0x00000409 variant display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
guacd[311]: INFO: Accepted format: 16-bit PCM with 2 channels at 44100 Hz
guacd[311]: INFO: Accepted format: 16-bit PCM with 2 channels at 22050 Hz
guacd[311]: INFO: Connected to RDPDR 1.12 as client 0x31ef5be4
4.size,2.-1,2.32,2.32;3.img,1.3,2.12,2.-1,9.image/png,1.0,1.0;4.blob,1.3,240.iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAaElEQVRYhe2WSwrAIAwFfaX3v3K6ceF38VRaCjO7SEwGBWNKAPAxcpIjIqrNkkZrTs3bSc4NKqEmdsv5AmUTSUtNj5CPPtorcLkO+SCAAAIIILCMNYxm7365/vY47mKX3XHcfUgA4Hc8/F4zGEf7ahwAAAAASUVORK5CYII=;3.end,1.3;6.cursor,2.15,2.16,2.-1,1.0,1.0,2.32,2.32;
4.size,2.-1,2.32,2.32;3.img,1.3,2.12,2.-1,9.image/png,1.0,1.0;4.blob,1.3,276.iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAgklEQVRYhe2UOxLAIAhEd5nc/8qbBjOOMbECGl6lWOzDHyQJhRgAVEoYAJAsk7AxqJKweVIhYWshW+IlkC2xFciU+BTIkvgVyJC4vhbWTEkiyVABSZgzIgJXniPwcI7OUy/hCI8O27Lr0mvyYewrKOv8RNYuHP+BUuRUezRN0zRNKDeQH1722aSHGAAAAABJRU5ErkJggg==;3.end,1.3;6.cursor,1.0,1.0,2.-1,1.0,1.0,2.32,2.32;
guacd[311]: INFO: RDPDR user logged on
3.end,1.1;5.audio,1.1,31.audio/L16;rate=22050,channels=2;4.sync,10.2447371917;4.sync,10.2447371918;
4.sync,10.2447371919;
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
4.sync,10.2447372019;
4.size,2.-1,2.32,2.32;3.img,1.3,2.12,2.-1,9.image/png,1.0,1.0;4.blob,1.3,256.iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAdElEQVRYhe2VOxLAIAhEd5nc/8qkQcd8dNLIFuFVoAWPAUd4ABEGACShkrAWqCRsTBQSdj/IlngIZEu8CmRKTAWyJJYCGRLH7CJrDy8C7g6SPeeYbKKPIIqzdZ66hK347mKfic49Qu0rkKH+pouiKIqi+A8nWNBM/C9+/cYAAAAASUVORK5CYII=;3.end,1.3;6.cursor,1.1,1.1,2.-1,1.0,1.0,2.32,2.32;4.sync,10.2447372022;
4.sync,10.2447372273;
4.sync,10.2447372523;
4.sync,10.2447372774;
4.sync,10.2447373024;
4.sync,10.2447373275;
4.sync,10.2447373525;
4.sync,10.2447373775;
4.sync,10.2447374026;
4.sync,10.2447374276;
4.sync,10.2447374527;
4.sync,10.2447374777;
4.sync,10.2447375028;
4.sync,10.2447375278;
4.sync,10.2447375528;
4.sync,10.2447375779;
4.sync,10.2447376029;
4.sync,10.2447376280;
4.sync,10.2447376530;
4.sync,10.2447376780;
4.sync,10.2447377031;
4.sync,10.2447377281;
4.sync,10.2447377532;
4.sync,10.2447377782;
4.sync,10.2447378032;
4.sync,10.2447378283;
4.sync,10.2447378533;
4.sync,10.2447378784;
4.sync,10.2447379034;
4.sync,10.2447379285;
4.sync,10.2447379535;
4.sync,10.2447379786;
4.sync,10.2447380036;
[2022-09-21 18:35:34] [Connection 1] Closing connection with error: Error: WS was inactive for too long
at ClientConnection.checkActivity (/gclient/node_modules/guacamole-lite/lib/ClientConnection.js:154:24)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
[2022-09-21 18:35:34] [Connection 1] Closing guacd connection
[2022-09-21 18:35:34] [Connection 1] Client connection closed
guacd[311]: ERROR: User is not responding.
guacd[311]: INFO: User "@4598a726-95a8-47e6-9895-46a745b77e6a" disconnected (0 users remain)
guacd[311]: INFO: Last user of connection "$087e36e3-b9d5-4764-9a9f-fb039bcbc032" disconnected
guacd[311]: INFO: Internal RDP client disconnected
rdpClientConRecv: g_sck_recv failed(returned 0)
rdpClientConRecvMsg: error
rdpClientConCheck: rdpClientConGotData failed
rdpClientConDisconnect:
rdpRemoveClientConFromDev: removing clientCon 0x557cd3b2c570
guacd[249]: INFO: Connection "$087e36e3-b9d5-4764-9a9f-fb039bcbc032" removed.
[2022-09-21 18:36:35] [Connection 2] Client connection open
[2022-09-21 18:36:35] [Connection 2] Opening guacd connection
[2022-09-21 18:36:35] [Connection 2] guacd connection open
[2022-09-21 18:36:35] [Connection 2] Selecting connection type: rdp
[2022-09-21 18:36:35] [Connection 2] Sending opCode: 6.select,3.rdp;
guacd[249]: INFO: Creating new client for protocol "rdp"
guacd[249]: INFO: Connection ID is "$821c370c-32db-4149-8969-aecaa08a9fd5"
[2022-09-21 18:36:35] [Connection 2] Sending opCode: 4.size,4.1680,13.861?undefined,2.96;
[2022-09-21 18:36:35] [Connection 2] Sending opCode: 5.audio,9.audio/L16;
[2022-09-21 18:36:35] [Connection 2] Sending opCode: 5.video;
[2022-09-21 18:36:35] [Connection 2] Sending opCode: 5.image;
[2022-09-21 18:36:35] [Connection 2] Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info
[2022-09-21 18:36:35] [Connection 2] Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,3.abc,3.abc,4.1680,13.861?undefined,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,12.en-us-qwerty,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.;
guacd[415]: INFO: Security mode: Negotiate (ANY)
guacd[415]: INFO: Resize method: none
guacd[415]: INFO: User "@595ffe9d-9ff1-4eae-a55b-3133976e77cb" joined connection "$821c370c-32db-4149-8969-aecaa08a9fd5" (1 users now present)
guacd[415]: INFO: Loading keymap "base"
guacd[415]: INFO: Loading keymap "en-us-qwerty"
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 9
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x557cd3b2c570
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1680 height 861 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid 1 shmemptr 0x7f8629351000
rdpRRScreenSetSize: width 1680 height 861 mmWidth 445 mmHeight 228
rdpRRGetInfo:
screen resized to 1680x861
rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1680 cy 861
rdpClientConProcessMsgClientInfo:
got client info bytes 7072
jpeg support 0
offscreen support 0
offscreen size 0
offscreen entries 0
client supports glyph cache but server disabled
client can not do offscreen to offscreen blits
client can do new(color) cursor
client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1680 height 861
rdpRRUpdateOutput:
rdpLoadLayout: keylayout 0x00000409 variant display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
guacd[415]: INFO: Accepted format: 16-bit PCM with 2 channels at 44100 Hz
guacd[415]: INFO: Accepted format: 16-bit PCM with 2 channels at 22050 Hz
guacd[415]: INFO: Connected to RDPDR 1.12 as client 0x9fadc574
guacd[415]: INFO: RDPDR user logged on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
duplicate #102
That fixed the UI error but the screen is still black/blank.
I'm also having issues with Calibre on Unraid. I'm getting the same, "Error launching startup command: Failed to clsoe file descriptor for child process (Operation not permitted)".
text error warn system array login
[2022-09-22 17:56:45] [Connection 1] Closing connection with error: Error: WS was inactive for too long at ClientConnection.checkActivity (/gclient/node_modules/guacamole-lite/lib/ClientConnection.js:154:24) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) guacd[318]: ERROR: User is not responding. guacd[318]: INFO: User "@33738f4e-8aeb-47f8-9467-8a385324d47d" disconnected (0 users remain) guacd[318]: INFO: Last user of connection "$066e5dca-53d5-4fe7-82dc-627ddaaecd58" disconnected guacd[255]: INFO: Connection "$066e5dca-53d5-4fe7-82dc-627ddaaecd58" removed. guacd[487]: INFO: User "@907b7c89-782c-4c21-b7dd-91d523c0730b" disconnected (0 users remain) guacd[487]: INFO: Last user of connection "$d184d3c3-6619-4ac7-a7c8-d132991c31e0" disconnected [2022-09-22 17:59:51] [Connection 2] Closing connection with error: Error: not opened at WebSocket.send (/gclient/node_modules/ws/lib/WebSocket.js:218:38) at ClientConnection.send (/gclient/node_modules/guacamole-lite/lib/ClientConnection.js:125:24) at GuacdClient.sendBufferToWebSocket (/gclient/node_modules/guacamole-lite/lib/GuacdClient.js:172:35) at GuacdClient.processReceivedData (/gclient/node_modules/guacamole-lite/lib/GuacdClient.js:163:14) at Socket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Socket.Readable.push (node:internal/streams/readable:228:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23) guacd[487]: INFO: Internal RDP client disconnected guacd[255]: INFO: Connection "$d184d3c3-6619-4ac7-a7c8-d132991c31e0" removed. guacd[255]: INFO: Creating new client for protocol "rdp" guacd[255]: INFO: Connection ID is "$b89e3a72-4a0b-4b97-ac72-28726392fd4a" guacd[583]: INFO: Security mode: Negotiate (ANY) guacd[583]: INFO: Resize method: none guacd[583]: INFO: User "@a4096799-2216-469c-b952-253a3a8a5dae" joined connection "$b89e3a72-4a0b-4b97-ac72-28726392fd4a" (1 users now present) guacd[583]: INFO: Loading keymap "base" guacd[583]: INFO: Loading keymap "en-us-qwerty" guacd[583]: INFO: Accepted format: 16-bit PCM with 2 channels at 44100 Hz guacd[583]: INFO: Accepted format: 16-bit PCM with 2 channels at 22050 Hz guacd[583]: INFO: Connected to RDPDR 1.12 as client 0x1c568e78 guacd[583]: INFO: RDPDR user logged on rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat off rdpInDeferredRepeatCallback: rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat off [2022-09-22 17:56:45] [Connection 1] Closing guacd connection [2022-09-22 17:56:45] [Connection 1] Client connection closed [2022-09-22 17:59:51] [Connection 2] Closing guacd connection [2022-09-22 17:59:51] [Connection 2] Client connection closed rdpClientConRecv: g_sck_recv failed(returned 0) rdpClientConRecvMsg: error rdpClientConCheck: rdpClientConGotData failed rdpClientConDisconnect: rdpRemoveClientConFromDev: removing clientCon 0x55b3b7129870 [2022-09-22 18:02:26] [Connection 3] Client connection open [2022-09-22 18:02:26] [Connection 3] Opening guacd connection [2022-09-22 18:02:26] [Connection 3] guacd connection open [2022-09-22 18:02:26] [Connection 3] Selecting connection type: rdp [2022-09-22 18:02:26] [Connection 3] Sending opCode: 6.select,3.rdp; [2022-09-22 18:02:26] [Connection 3] Sending opCode: 4.size,4.1919,14.1097?undefined,2.96; [2022-09-22 18:02:26] [Connection 3] Sending opCode: 5.audio,9.audio/L16; [2022-09-22 18:02:26] [Connection 3] Sending opCode: 5.video; [2022-09-22 18:02:26] [Connection 3] Sending opCode: 5.image; [2022-09-22 18:02:26] [Connection 3] Server sent handshake: 4.args,13.VERSION_1_1_0,8.hostname,4.port,6.domain,8.username,8.password,5.width,6.height,3.dpi,15.initial-program,11.color-depth,13.disable-audio,15.enable-printing,12.printer-name,12.enable-drive,10.drive-name,10.drive-path,17.create-drive-path,7.console,13.console-audio,13.server-layout,8.security,11.ignore-cert,12.disable-auth,10.remote-app,14.remote-app-dir,15.remote-app-args,15.static-channels,11.client-name,16.enable-wallpaper,14.enable-theming,21.enable-font-smoothing,23.enable-full-window-drag,26.enable-desktop-composition,22.enable-menu-animations,22.disable-bitmap-caching,25.disable-offscreen-caching,21.disable-glyph-caching,16.preconnection-id,18.preconnection-blob,8.timezone,14.recording-path,14.recording-name,24.recording-exclude-output,23.recording-exclude-mouse,22.recording-include-keys,21.create-recording-path,13.resize-method,18.enable-audio-input,9.read-only,16.gateway-hostname,12.gateway-port,14.gateway-domain,16.gateway-username,16.gateway-password,17.load-balance-info [2022-09-22 18:02:26] [Connection 3] Sending opCode: 7.connect,0.,9.127.0.0.1,4.3389,0.,3.abc,3.abc,4.1919,14.1097?undefined,2.96,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,12.en-us-qwerty,3.any,4.true,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.; rdpClientConGotConnection: rdpClientConGotConnection: g_sck_accept ok new_sck 9 rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off rdpAddClientConToDev: adding first clientCon 0x55b3b7129870 rdpClientConProcessMsgVersion: version 0 0 0 1 rdpClientConProcessScreenSizeMsg: set width 1916 height 1097 bpp 16 rdpClientConProcessScreenSizeMsg: shmemid 2 shmemptr 0x14c1801e7000 rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1916 cy 1097 rdpClientConProcessMsgClientInfo: got client info bytes 7072 jpeg support 0 offscreen support 0 offscreen size 0 offscreen entries 0 client supports glyph cache but server disabled client can not do offscreen to offscreen blits client can do new(color) cursor client can not do multimon rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0 rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1916 height 1097 rdpRRUpdateOutput: rdpLoadLayout: keylayout 0x00000409 variant display 10 rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat on rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat on rdpInDeferredRepeatCallback: rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat off rdpInDeferredRepeatCallback: rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat off ^A
dupe #102
With the 6.5.0 release I'm now getting this...
I'm getting the same error. I was able to get Calibre working by rolling back to 6.4. This would seem to indicate a regression somewhere along the way.
I start Calibre as needed with a shell script containing the following: (the ":amd64-v6.4.0-ls178" bit is new as of a few minutes ago)
docker run -d --rm --name calibre -e PUID=1000 -e PGID=1000 -e TZ=US/Pacific -v /mnt/storage/files/books/Calibre\ Library:/config -v /tmp:/tmp -p 89:8080 ghcr.io/linuxserver/calibre:amd64-v6.4.0-ls178
I only have Calibre running while I'm actively managing my library; it's set to route the interface to port 89, which I then access from my desktop as http://server:89. No proxy server is involved. When I'm not working with the library and only need to be able to download ebooks from my library to a reader, I use COPS, which is set to run all the time.
(If it matters, my server is a homebuilt Ryzen 5 2600 running Flatcar Container Linux.)
@salfter this was mentioned 2x above with just the dupe comments, but the fix is to run your container with the following.
security_opt:
- seccomp=unconfine
@salfter this was mentioned 2x above with just the dupe comments, but the fix is to run your container with the following.
security_opt: - seccomp=unconfine
The only occurrence of that string in the messages above (only in the OP, actually) suggested it didn't make a difference. There are several wall-of-text posts (inclusions of logfiles and such) that make finding any useful suggestions difficult.
That said, I gave it a shot anyway...and it worked. w00t!
I removed the UMASK: 022
setting from my docker-compose.yml
and now everything seems to work.
can someone explain how to do the above modifications to the docker config? I have no idea.
It's in the readme and the run/compose samples
@yegods
But the recent posts above have a typo:
Addition to docker-compose.yml
should be:
security_opt:
- seccomp=unconfined
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@yegods But the recent posts above have a typo: Addition to
docker-compose.yml
should be:security_opt: - seccomp=unconfined
Can somebody tell me how to do this in Unraid? Adding it to the CLI Args doesn't work, creating a new variable wasn't successful for me as well (or I did it wrong as I'm a complete n00b at this...)
@Buba81 i ran into the same problem on unraid today.
Since we don't use docker compose
but simply docker run
on unraid what you want to do is to add --security-opt="seccomp=unconfined"
as extra parameters (you have to enable advanced view in the gui).
@Buba81 i ran into the same problem on unraid today. Since we don't use
docker compose
but simplydocker run
on unraid what you want to do is to add--security-opt="seccomp=unconfined"
as extra parameters (you have to enable advanced view in the gui).
Well, I never even seemed to notice the advanced tab ;-) Thank you for the hint, now it works!
Adding the CLI command to the container on Unraid did not fix the problem for me.
@wallywhatever just to make sure, it looks like this?
@martinjuhasz Correct.
I have also tried variations of it as listed on the linuxserver wiki. No matter what I put I get the "Error launching startup command: Failed to close file descriptor for child process (Operation not permitted)".
@martinjuhasz Correct.
I have also tried variations of it as listed on the linuxserver wiki. No matter what I put I get the "Error launching startup command: Failed to close file descriptor for child process (Operation not permitted)".
You did the same thing I did. Don’t put in the CLI Args, click on advanced view on the docker page and add it under extra parameters!
Yup that did it. Too many similar fields on these docker pages for me to figure it out. Thanks!
Hopefully this helps anyone else with poor reading comprehension:
Hi all,
I'm still having the original problem of a blank white screen. I was able to get rid of the pop-up error with the --security-opt="seccomp=unconfined" argument, but the white screen is still there.
As with others, downgrading to 6.4.0 makes it work. Is there a solution for the latest version?
Thanks for any help.
Hi all,
I'm still having the original problem of a blank white screen. I was able to get rid of the pop-up error with the --security-opt="seccomp=unconfined" argument, but the white screen is still there.
As with others, downgrading to 6.4.0 makes it work. Is there a solution for the latest version?
Thanks for any help.
Same here, Update to the newest version did this… Is there an easy way to downgrade on unraid?
Take care and have a nice day!
Same here, Update to the newest version did this… Is there an easy way to downgrade on unraid?
Take care and have a nice day!
yeah, same here. 6.8.0
broke it. you can fix it by simply downgrading to 6.7.1
.
@Buba81
In Unraid you do this by changing the Repository
URL to lscr.io/linuxserver/calibre:6.7.1
So it's still broken for me at 6.7.1. Still just a white screen. It works at 6.4.0, though.
6.7.1 works fine as long as --security-opt="seccomp=unconfined" is passed and UMASK is removed - on Unraid 6.11.4
@yegods ~But the recent posts above have a typo: Addition to
docker-compose.yml
should be:~security_opt: - seccomp=unconfined
seccomp=unconfined is incorrect for yml. This sintaxe is for command line docker, i.e.
docker run --security-opt seccomp=unconfined [etc] docker compose --security-opt seccomp=unconfined [etc]
The correct sintaxe for yml is:
security_opt:
- seccomp:unconfined
edit: there is no space in seccomp:unconfined
See compose file specification
I had everything working fine until release v6.8.0-ls192.
The pull to the release v6.8.0-ls193, two days ago, gave me a permanente blank page.
I have many plugins on Calibre. How do I disable them one by one in docker so I could check if some of them is tripping the image?
I had everything working fine until release v6.8.0-ls192.
The pull to the release v6.8.0-ls193, two days ago, gave me a permanente blank page.
I have many plugins on Calibre. How do I disable them one by one in docker so I could check if some of them is tripping the image?
it happens for me without any plugins
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is not resolved. I get this white screen regardless what version of the container I run.
please also try incognito mode. somehow i had an issue related with some browser cache.
I too have issues like this. I'm using docker-compose on a synology nas and nothing I do gets me past a black page with a button on the left side. Sometimes (I think when it's even more broken..?) the page stays white, I've had one configuration in which the cursor freezes on a white page too. I've been at this for too long tonight so I'm gonna throw in the towel and describe where I left off here.
version: "2.1"
services:
calibre:
image: lscr.io/linuxserver/calibre:6.4.0
container_name: calibre
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
#- PASSWORD= #optional
#- CLI_ARGS= #optional
volumes:
- ${DOCKERCONFDIR}/calibre:/config
- ${DOCKERSTORAGEDIR}/media/books:/Calibre_Library
- ${DOCKERCONFDIR}/calibre/upload:/uploads
- ${DOCKERCONFDIR}/calibre/plugins:/plugins
#ports:
#- 8080:8080
#- 8081:8081
#- 3389:3389
#- 3000:3000
restart: unless-stopped
network_mode: "host"
calibre-web:
image: ghcr.io/linuxserver/calibre-web
container_name: calibre-web
environment:
- PUID=${PUID}
- PGID=${PGID}
volumes:
- ${DOCKERCONFDIR}/calibre/calibre-web:/config
- ${DOCKERSTORAGEDIR}/media/books:/books
restart: unless-stopped
depends_on:
- calibre
ports:
- 8083:8083
networks:
- ebooks
networks:
ebooks:
external: true
I tried forwarding all four ports on a separate network for awhile, then I tried simply attaching calibre directly to the host network, no dice
here is my .env:
COMPOSE_PROJECT_NAME=calibreproj
DOCKERCONFDIR=/volume1/docker/appdata/.other/calibreproj
DOCKERSTORAGEDIR=/volume1/FriendsandFamily
PUID=1032
PGID=100
TZ=America/Detroit
I also tried changing the permissions to all of the files and folders to docker:users 777 (probably overkill), completely reinstalling the container in a variety of ways, and using incognito tabs.
and here's a pastebin of my logs.
I too have issues like this. I'm using docker-compose on a synology nas
Version 6 of calibre needs a higher kernel version than many synology NAS are running with. Synology never upgrades the kernel to newer versions of existing models. Not sure which is the lowest supported kernel version, but 3.10 like my synology kernel is not working. You can start a shell inside your container and try to start calibre manualy to look for error messages.
Hey there, I'm having the same blank screen issue on my NAS (not Synology). The kernel is updated regularly and it's using Kernel 5.13, so the new version of calibre should work. Yet, I still get the same qt errors posted above when running calibre inside the docker image:
s6-envdir -fn -- /var/run/s6/container_environment /bin/bash -c /usr/bin/calibre
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
I'm using the security_opt
flag in my docker_compose.
Any hints?
cheers
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If anyone on Synology is struggling to get this to work with a Reverse Proxy, try adding the following into Custom Headers:
Upgrade : $http_upgrade Connection : $connection_upgrade X-Forwarded-Scheme : $scheme X-Forwarded-For : $proxy_add_x_forwarded_for
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I had what might be a similar issue and found a workaround which I posted here: https://github.com/linuxserver/docker-calibre/issues/104#issuecomment-1489337679
Thanks a lot. Your fix worked for my Synology NAS with kernel version 3.10. I wish the linuxserver team would implement this fix in their build.
Expected Behavior
When the container is running,
http://127.0.0.1:8080
should serve a functioning guacamole client which can connect to openbox and the calibre desktop interface.Current Behavior
The guacamole interface is blank, with no login screen or list of connections:
Steps to Reproduce
docker-compose.yml
:services: calibre: image: lscr.io/linuxserver/calibre:latest container_name: calibre env_file:
seccomp=unconfined restart: always
server { listen 443 ssl; listen [::]:443 ssl; server_name calibre.mylibrary.domain;
ssl_certificate /etc/letsencrypt/live/mylibrary.domain/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/mylibrary.domain/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
auth_basic "Admin Access:"; auth_basic_user_file /etc/nginx/admin.htpasswd;
location / { proxy_pass http://127.0.0.1:8080; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Scheme $scheme; proxy_set_header X-Script-Name /calibre; } }
Environment
OS:
Debian GNU/Linux 11 (bullseye)
Kernel:Linux 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30)
CPU architecture: x86_64 How docker service was installed: via the official docker.com apt repository:Docker system info
Command used to create docker container (run/create/compose/screenshot)
Using the
docker-compose.yml
pasted above, I simply run:Docker logs