Blank login screen with Calibre docker

Hi

I am running the Calibre Docker Compose image. It starts up fine. When I open the login screen, all I see is a blank guac login screen, there is a mouse but there is nothing else there. I provided a pass in the compose file.

This is literally what I have (using Chromium, same with Firefox)


calibre    | [20210702-16:37:56] [INFO ] Socket 11: AF_INET6 connection received from ::ffff:127.0.0.1 port 60026
calibre    | [20210702-16:37:56] [DEBUG] Closed socket 11 (AF_INET6 ::ffff:127.0.0.1 port 3389)
calibre    | [20210702-16:38:02] [INFO ] Socket 11: AF_INET6 connection received from ::ffff:127.0.0.1 port 60038
calibre    | [20210702-16:38:03] [DEBUG] Closed socket 11 (AF_INET6 ::ffff:127.0.0.1 port 3389)
calibre    | [20210702-16:38:05] [INFO ] Socket 11: AF_INET6 connection received from ::ffff:127.0.0.1 port 60046
calibre    | [20210702-16:38:05] [DEBUG] Closed socket 11 (AF_INET6 ::ffff:127.0.0.1 port 3389)
calibre    | [20210702-16:40:34] [INFO ] Socket 11: AF_INET6 connection received from ::ffff:127.0.0.1 port 60660
calibre    | [20210702-16:40:35] [DEBUG] Closed socket 10 (AF_INET6 :: port 3389)
calibre    | [20210702-16:40:35] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
calibre    | [20210702-16:40:35] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
calibre    | [20210702-16:40:35] [DEBUG] TLSv1.2 enabled
calibre    | [20210702-16:40:36] [DEBUG] TLSv1.1 enabled
calibre    | [20210702-16:40:36] [DEBUG] TLSv1 enabled
calibre    | [20210702-16:40:36] [DEBUG] Security layer: requested 3, selected 1
calibre    | ssl_tls_accept: TLS connection accepted
calibre    | colorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp)
calibre    | [20210702-16:40:36] [INFO ] connected client computer name: Guacamole RDP
calibre    | postBeta2ColorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp 0xca02 15bpp 0xca03 16bpp 0xca04 24bpp)
calibre    | highColorDepth 0x0010 (0x0004 4bpp 0x0008 8bpp 0x000f 15bpp 0x0010 16 bpp 0x0018 24bpp)
calibre    | supportedColorDepths 0x0007 (0x0001 24bpp 0x0002 16bpp 0x0004 15bpp 0x0008 32bpp)
calibre    | earlyCapabilityFlags 0x0421 (0x0002 want32)
calibre    | got client client connection type 0x00000006
calibre    | xrdp_sec_process_mcs_data_CS_SECURITY:
calibre    |   client and server support none crypt, using none crypt
calibre    | error unknown xrdp_sec_process_mcs_data tag 0xc006 size 8
calibre    | error unknown xrdp_sec_process_mcs_data tag 0xc00a size 8
calibre    | xrdp_sec_out_mcs_data: using no security
calibre    | xrdp_load_keyboard_layout: keyboard_type [4] keyboard_subtype [0]
calibre    | xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
calibre    | [20210702-16:40:37] [INFO ] TLS connection established from ::ffff:127.0.0.1 port 60660: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
calibre    | xrdp_caps_process_order: not enough orders supported by client, using painter.
calibre    | xrdp_caps_process_pointer: client supports new(color) cursor
calibre    | xrdp_process_offscreen_bmpcache: support level 1 cache size 7864320 MB cache entries 2000
calibre    | xrdp_caps_process_surface_cmds:
calibre    |   cmdFlags 0x00000052
calibre    | xrdp_caps_process_frame_ack:
calibre    |   max_unacknowledged_frame_count 2
calibre    | xrdp_caps_process_confirm_active: not enough orders supported by client, client wants off screen bitmap but offscreen bitmaps disabled
calibre    | yeah, up_and_running
calibre    | xrdp:xrdp_bitmap [1746399942]: xrdp_bitmap_create: noorders
calibre    | [20210702-16:40:37] [DEBUG] xrdp_000002da_wm_login_mode_event_00000001
calibre    | xrdp:xrdp_mm [1746400227]: xrdp_mm_create: bpp 16 mcs_connection_type 6 jpeg_codec_id 0 v3_codec_id 0 rfx_codec_id 0 h264_codec_id 0
calibre    | [20210702-16:40:38] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
calibre    | [20210702-16:40:38] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
calibre    | xrdp_wm_login_mode_changed: login_mode is 0
calibre    | in xrdp_wm_init: 
calibre    | out xrdp_wm_init: 
calibre    | xrdp_wm_login_mode_changed: login_mode is 2


calibre    | 4.sync,10.1701958097;                                                                                     
calibre    | 4.sync,10.1701958348;                                                                                     
calibre    | rdpClientConProcessMsgClientInfo:                                                                                                                                                                                                calibre    |   got client info bytes 5744                                                                                                                                                                                                     
calibre    |   jpeg support 0                                                                                                                                                                                                                 
calibre    |   offscreen support 0                                                                                                                                                                                                            
calibre    |   offscreen size 0                                                                                                                                                                                                               
calibre    |   offscreen entries 0                                                                                                                                                                                                            
calibre    |   client supports glyph cache but server disabled                                                                                                                                                                                
calibre    |   client can not do offscreen to offscreen blits                                                                                                                                                                                 
calibre    |   client can do new(color) cursor                                                                                                                                                                                                
calibre    |   client can not do multimon                                                                                                                                                                                                     
calibre    | rdpRRSetRdpOutputs: numCrtcs 0 monitorCount 0                                                                                                                                                                                    
calibre    | rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1024 height 768                                                                                                                                                              
calibre    | rdpLoadLayout: keylayout 0x00000409 variant  display 10                                                                                                                                                                          
calibre    | rdpkeybChangeKeyboardControl:                                                                                                                                                                                                    
calibre    | rdpkeybChangeKeyboardControl: autoRepeat on                                                                                                                                                                                      
calibre    | 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/IlngI
ZEu8CmRKTAWyJJYCGRLH7CJrDy8C7g6SPeeYbKKPIIqzdZ66hK347mKfic49Qu0rkKH+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.1701958548;                                                          
calibre    | rdpkeybChangeKeyboardControl:                                                                                                                                                                                                    
calibre    | rdpkeybChangeKeyboardControl: autoRepeat on                                                                                                                                                                                      
calibre    | [2021-07-02 17:45:52] [Connection 3]  Closing connection with error:  Error: WS was inactive for too long                                                                                                                        
calibre    |     at ClientConnection.checkActivity (/gclient/node_modules/guacamole-lite/lib/ClientConnection.js:154:24)
calibre    |     at listOnTimeout (internal/timers.js:557:17)                                                          
calibre    |     at processTimers (internal/timers.js:500:7)                                                           
calibre    | [2021-07-02 17:45:52] [Connection 3]  Closing guacd connection                                            
calibre    | [2021-07-02 17:45:52] [Connection 3]  Client connection closed                                            
calibre    | rdpInDeferredUpdateCallback:                                                                              
calibre    | rdpkeybChangeKeyboardControl:                                                                             
calibre    | rdpkeybChangeKeyboardControl: autoRepeat off                                                              
calibre    | rdpkeybChangeKeyboardControl:                                                                             
calibre    | rdpkeybChangeKeyboardControl: autoRepeat off                                                              
calibre    | guacd[512]: INFO:  Accepted format: 16-bit PCM with 2 channels at 44100 Hz                                
calibre    | guacd[512]: INFO:  Accepted format: 16-bit PCM with 2 channels at 22050 Hz                                
calibre    | guacd[512]: INFO:  Connected to RDPDR 1.12 as client 0xf3098767                                           
calibre    | guacd[512]: INFO:  RDPDR user logged on                                                                   
calibre    | Using O_TMPFILE                                                                                           
calibre    | guacd[512]: INFO:  User "@e4e7e582-154d-49c3-87c3-1e3d4117473d" disconnected (0 users remain)             
calibre    | guacd[512]: INFO:  Last user of connection "$b51370ac-aa43-495e-9216-798f24e5c312" disconnected           
calibre    | guacd[512]: INFO:  Internal RDP client disconnected                                                       
calibre    | guacd[416]: INFO:  Connection "$b51370ac-aa43-495e-9216-798f24e5c312" removed.                            
calibre    | rdpClientConRecv: g_sck_recv failed(returned 0)                                                           
calibre    | rdpClientConDisconnect:                                                                                   
calibre    | rdpClientConDisconnect: clientCon removed from dev list
calibre    | rdpClientConRecvMsg: error                   
calibre    | rdpClientConCheck: rdpClientConGotData failed
calibre    | rdpSaveScreen:


Can you post your docker-compose/docker run command please?

1 Like

I just use docker-compose up

---
version: "2.1"
services:
  calibre:
    image: ghcr.io/linuxserver/calibre
    container_name: calibre
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - /media/docker/calibre/data:/config
    ports:
      - 8180:8080
      - 8181:8081
    restart: unless-stopped


Check your browser extensions and disable to test

1 Like

Thanks, I started Chromium without any extensions, now it works. Weird :frowning:

I have a similar issue after updating to the latest from an older 4.x version, but browser extensions or the lack thereof don’t seem to make any difference.

If I connect via IP:PORT it seems to work fine after the update, but if I connect to the URL being proxied by swag (which has been working fine for over two years if you count before swag got renamed), I get the exact blank screen as TC.

The proxy I setup for the Content Server and the OPDS catalog under it still seem to work fine, so the way I tend to interact with my library is completely unaffected, which is a good thing. If I have to access the UI by IP / port it’s not the biggest deal in the world, but it bugs me.

post your proxy conf for calibre

# make sure that your dns has a cname set for calibre

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name calibre.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    # enable for ldap auth, fill in ldap details in ldap.conf
    #include /config/nginx/ldap.conf;

    # enable for Authelia
    #include /config/nginx/authelia-server.conf;

    location / {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable the next two lines for ldap auth
        #auth_request /auth;
        #error_page 401 =200 /ldaplogin;

        # enable for Authelia
        #include /config/nginx/authelia-location.conf;

        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app calibre;
        set $upstream_port 8080;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

        proxy_buffering off;
    }

    location /server/ {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable the next two lines for ldap auth
        #auth_request /auth;
        #error_page 401 =200 /ldaplogin;

        # enable for Authelia
        #include /config/nginx/authelia-location.conf;

        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app calibre;
        set $upstream_port 8081;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

        proxy_buffering off;
    }

    location /server {
        rewrite /server /server/ permanent;
    }
}

It’s identical to the stock calibre.subdomain.conf.sample, except I added a couple of bits to let me access the content server under the subfolder /server instead of having to do an additional subdomain for it like calibre-server.domain.com - and as intended, calibre.domain.com/server works completely fine as it always has. Likewise, the OPDS catalog is still accessible via calibre.domain.com/server/opds - so I’m still able to easily browse / download books from Maple Read on my tablet.

Here’s the microservice while I’m at it:

calibre:
    image: ghcr.io/linuxserver/calibre
    container_name: calibre
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - PASSWORD=${CALIBRE_PASS}
      - CALIBRE_USE_DARK_PALETTE=1
    volumes:
      - /volume1/docker/calibre:/config
      - /volume1/media/Books:/books
    ports:
      - 8080:8080
      - 8081:8081
    restart: unless-stopped

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.