-
Notifications
You must be signed in to change notification settings - Fork 379
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
docker-for-win: Xvfb in cygwin #123
Comments
It looks like an issue within Xvfb.exe.
Please try to run Xvfb on itself. A shorter setup that should work is:
x11docker would have to set up an IP:DISPLAY connection to allow access within container, I can add this. But Xvfb already fails before that. |
The provided minimal example seems to work ok, or not, idk: $ /usr/bin/Xvfb :200 -screen 0 4720x3840x24 -ac
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
No error. No more output. Since it is not visible, I don't know how to check it is working. I tried adding arguments one by one. This also works: $ /usr/bin/Xvfb :100 -screen 0 4720x3840x24 \
> -dpms -s off -retro \
> +extension RANDR +extension RENDER +extension GLX \
> +extension XVideo +extension DOUBLE-BUFFER \
> -extension X-Resource +extension SECURITY +extension DAMAGE \
> -extension XINERAMA -xinerama -extension MIT-SHM \
> +extension Composite +extension COMPOSITE \
> +extension XTEST \
> -nolisten tcp
[mi] Extension "XVideo" is not recognized
[mi] Only the following extensions can be run-time enabled:
[mi] Generic Event Extension
[mi] MIT-SHM
[mi] XTEST
[mi] XINERAMA
[mi] XFIXES
[mi] XFree86-Bigfont
[mi] RENDER
[mi] RANDR
[mi] COMPOSITE
[mi] DAMAGE
[mi] MIT-SCREEN-SAVER
[mi] DOUBLE-BUFFER
[mi] RECORD
[mi] DPMS
[mi] X-Resource
[mi] GLX
[mi] Extension "SECURITY" is not recognized
[mi] Only the following extensions can be run-time enabled:
[mi] Generic Event Extension
[mi] MIT-SHM
[mi] XTEST
[mi] XINERAMA
[mi] XFIXES
[mi] XFree86-Bigfont
[mi] RENDER
[mi] RANDR
[mi] COMPOSITE
[mi] DAMAGE
[mi] MIT-SCREEN-SAVER
[mi] DOUBLE-BUFFER
[mi] RECORD
[mi] DPMS
[mi] X-Resource
[mi] GLX
[mi] Extension "Composite" is not recognized
[mi] Only the following extensions can be run-time enabled:
[mi] Generic Event Extension
[mi] MIT-SHM
[mi] XTEST
[mi] XINERAMA
[mi] XFIXES
[mi] XFree86-Bigfont
[mi] RENDER
[mi] RANDR
[mi] COMPOSITE
[mi] DAMAGE
[mi] MIT-SCREEN-SAVER
[mi] DOUBLE-BUFFER
[mi] RECORD
[mi] DPMS
[mi] X-Resource
[mi] GLX
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel But it fails if I add $ /usr/bin/Xvfb :100 -screen 0 4720x3840x24 \
> -dpms -s off -retro \
> +extension RANDR +extension RENDER +extension GLX \
> +extension XVideo +extension DOUBLE-BUFFER \
> -extension X-Resource +extension SECURITY +extension DAMAGE \
> -extension XINERAMA -xinerama -extension MIT-SHM \
> +extension Composite +extension COMPOSITE \
> +extension XTEST \
> -nolisten tcp -nolisten local
[mi] Extension "XVideo" is not recognized
[mi] Only the following extensions can be run-time enabled:
[mi] Generic Event Extension
[mi] MIT-SHM
[mi] XTEST
[mi] XINERAMA
[mi] XFIXES
[mi] XFree86-Bigfont
[mi] RENDER
[mi] RANDR
[mi] COMPOSITE
[mi] DAMAGE
[mi] MIT-SCREEN-SAVER
[mi] DOUBLE-BUFFER
[mi] RECORD
[mi] DPMS
[mi] X-Resource
[mi] GLX
[mi] Extension "SECURITY" is not recognized
[mi] Only the following extensions can be run-time enabled:
[mi] Generic Event Extension
[mi] MIT-SHM
[mi] XTEST
[mi] XINERAMA
[mi] XFIXES
[mi] XFree86-Bigfont
[mi] RENDER
[mi] RANDR
[mi] COMPOSITE
[mi] DAMAGE
[mi] MIT-SCREEN-SAVER
[mi] DOUBLE-BUFFER
[mi] RECORD
[mi] DPMS
[mi] X-Resource
[mi] GLX
[mi] Extension "Composite" is not recognized
[mi] Only the following extensions can be run-time enabled:
[mi] Generic Event Extension
[mi] MIT-SHM
[mi] XTEST
[mi] XINERAMA
[mi] XFIXES
[mi] XFree86-Bigfont
[mi] RENDER
[mi] RANDR
[mi] COMPOSITE
[mi] DAMAGE
[mi] MIT-SCREEN-SAVER
[mi] DOUBLE-BUFFER
[mi] RECORD
[mi] DPMS
[mi] X-Resource
[mi] GLX
(EE) Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) |
A good find, thanks! Latest update removes
If it fails, you can make sure that X over IP is used if you check X command in |
Feel free to re-open if this is of interest again. |
This is the output I get if I try to execute x11docker with option
--xvfb
in cygwin:x11docker.log
I am quite sure that there is no other X server running on the port. I also tried with
--display=30
.The text was updated successfully, but these errors were encountered: