ich777/docker-thunderbird

Error: cannot open display: :99

Closed this issue · 2 comments

Hi,

I'm trying this on my (Ubuntu) desktop before trying on Unraid - I seem to have a issue where it claims it cannot connect to the display (I assume X11), anyone seen this issue?

$ docker logs -f thunderbird
---Ensuring UID: 1000 matches user---
usermod: no changes
---Ensuring GID: 1000 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Checking configuration for noVNC---
Nothing to do, noVNC resizing set to default
Nothing to do, noVNC qaulity set to default
Nothing to do, noVNC compression set to default
---Taking ownership of data...---
---Starting...---
---Version Check---
---Thunderbird not installed, installing---
/thunderbird/Thunde 100%[===================>]  71.47M  2.35MB/s    in 30s     
---Sucessfully downloaded Thunderbird---
---Preparing Server---
---Resolution check---
---Checking for old logfiles---
---Checking for old display lock files---
---Starting TurboVNC server---
---Starting Fluxbox---
---Starting noVNC server---
WebSocket server settings:
  - Listen on :8080
  - Web server. Web root: /usr/share/novnc
  - No SSL/TLS support (no cert file)
  - Backgrounding (daemon)
Fluxbox crashed with exit code 1.  Respawning..
---Starting Thunderbird---
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :99

Thanks!

@esticle can you post your docker run command? It seems like that you've missed the ENV TURBOVNC_PARAMS=-securitytypes none but that wasn't in the Readme and is necessary because I've switched over to TurboVNC, updated it in the meantime.

Thanks @ich777 absolutely correct, I had TURBOVNC_PARAMS empty as the README said at the time - adjusting it fixed it for me