-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xdpyinfo: unable to open display ":99". and xvfbMaxStartWaitTime #386
Comments
After I change a code as you were sad, it doesn't change anything for me. I all time get info:
But when I add a
I get different response:
But my maps raster maps doesn't work at all. |
Could you update the docker image with this fix, please? |
I installed the tileserver-gl and its associated docker components today and still received this error. What needs to happen to get this updated in the repository, so we're able to get by this? Or, do I need to clone a development branch in order to see the changes? The command that I used was sudo docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl Thank you and have a great day. :) |
I am using tileglserver on docker (klokantech/tileserver-gl)
Trouble:
multiple
xdpyinfo: unable to open display ":99".
and thenCould not connect to display 99 in 5 seconds time.
Solution:
copy run.sh from this repo and change xvfbMaxStartWaitTime to 60 seconds (seems my server needs 20 seconds to start xvfb). After that use docker volume to replace run.sh.
Example for docker-compose
8e1071a
@guenhter
5 seconds is hot enough for some machines.
There is interesting comment in run.sh:
# Wait to be able to connect to the port. This will exit if it cannot in 15 minutes.
(but there are 5 seconds only)There is two ways: increase hardcoded timeout or provide the way to set timeout from outside
The text was updated successfully, but these errors were encountered: