-
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
x11docker ERROR: waitforlogentry(): dockerrc: Timeout waiting for entry "xinitrc is ready" in xinit.log #364
Comments
I am not exactly sure what is going wrong. Maybe the Windows firewall prevents the X server from starting. Compare https://github.com/mviereck/x11docker/wiki/x11docker-on-MS-Windows#troubleshooting Does |
Manually adding VxCsrv and XLaunch to the allowed applications on Windows Firewall fixed it. |
Good! (For x11docker you would not need to allow XLaunch but VcXsrv only.)
Do you get a well formatted output with e.g. |
Running Edit: I also tried using the Windows Terminal and the default WSL2 application, and the issue seems to persist onto that too. This entire time I've been using Visual Studio Code's integrated terminal, and I thought maybe that was messing with the formatting, but after some tests, this does not seem to be the case. Oh and I should probably add that I'm using WSLG which is WSl2 with native gui application support, and doesn't seem like it should be messing with the format. |
Would also like to mention that when not using the
|
Lastly, not sure if this is an x11docker issue, or a misconfiguration on my end, but with the |
Thank you for reporting! What a mess ...
You need to specify an interactive command like
This is because VcXsrv runs outside of WSL and cannot share the linux namespace of WSL.
That was reported once by @eine, too. The odd thing is that the font changes already before one line of x11docker is executed, likely during bash reads in the script. No idea what to do about this. As long as it is still readable I don't search further for a fix.
It should work with option |
A temporary workaround: |
As often, it was a rather stupid bug ... Some time ago I've changed the container output redirection and forgot to regard |
Out of curiosity:
x11docker might run in WSLG with option |
Thank you for the output! |
I'm running the following command:
x11docker -v -g -- -v "/mnt/d/Code/! Projects/MobileReplays.LOL/Container/Game/Versions/v11.11/en":/Game -v "/mnt/d/Code/\! Projects/MobileReplays.LOL/Container/Test":/Replays -- mobilereplays
The host machine is running Windows 10 Pro with Docker Desktop in WSL2 mode. The command was executed in Ubuntu 18.04 in WSL2.
Full logs can be found here.
The text was updated successfully, but these errors were encountered: