-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error "gtk initialization failed" #7
Comments
Working on it |
Same here. I did this to make it work:
Then disable access control from X11:
And run the docker command again. It worked then. |
Thanks Raoulh!
|
Worked a treat! @raoulh |
@sickcodes thanks for your awesome work! Just in case this helps people who would like to run this headless. I saw that there is a really helpful EXTRA variable that may be utilized to start qemu's built-in VNC server. For instance: sudo docker run -it --device /dev/kvm -p5910:5900 -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e GENERATE_UNIQUE=true -e TERMS_OF_USE=i_agree -e EXTRA='-vnc :0' sickcodes/docker-osx:auto Will run docker-osx:auto with VNC port 5910 on the host machine forwarded to qemu's VNC server started at 5900 as per the EXTRA variable. The default VNC password appears to be alpine. |
I am getting this on windows. Is there a way to wix it? |
@gopalkhasria
|
Followed the steps on readme but getting an error when running docker container.
Here are the steps to reproduce:
$ docker pull sickcodes/docker-osx Using default tag: latest latest: Pulling from sickcodes/docker-osx Digest: sha256:79814aad5e234dca5676616e43a9a5120d0ec9ab1b2e0100fec450248ef58675 Status: Image is up to date for sickcodes/docker-osx:latest docker.io/sickcodes/docker-osx:latest
$ uname -a Linux archlinux 5.6.10-arch1-1 #1 SMP PREEMPT Sat, 02 May 2020 19:11:54 +0000 x86_64 GNU/Linux
Virtualization is enabled in bios:
Any help is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: