mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
gtk initialization failed #426
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @10000-ki on GitHub (Nov 21, 2022).
Command
podman run -it --device /dev/kvm -p 50922:10022 docker.io/sickcodes/docker-osx:montereyOS Version
Error Message
when using os tag like monterey occur error
podman run -it --device /dev/kvm -p 50922:10022 docker.io/sickcodes/docker-osx:montereybut using auto tag is okay
podman run -it --device /dev/kvm -p 50922:10022 docker.io/sickcodes/docker-osx:autoIs there any solution?
@RichardFevrier commented on GitHub (Nov 22, 2022):
Same with
venturafor me 🙂@sickcodes commented on GitHub (Nov 22, 2022):
xhost +Check your display variable
I will test the images
@10000-ki commented on GitHub (Nov 23, 2022):
i found this error message
i think it required
x-window mode@paddymahoney commented on GitHub (Nov 24, 2022):
Get the same on latest:
Notes:
@10000-ki commented on GitHub (Nov 28, 2022):
@sickcodes thank you for checking this issue
above command
It didn't work
Is there any other way?
@bckelley commented on GitHub (Nov 30, 2022):
I get the same error my only assumption is it's because I'm running an Intel based processor i5-8250U (4) @ 3.4GHz will there be a fix??
@Archisman-Mridha commented on GitHub (Nov 30, 2022):
I got the same error and i am also running intel based i5 processor.
@lorenzholzbauer commented on GitHub (Nov 30, 2022):
Try using Xorg and not Wayland. With GNOME you have to log out and search for a little settings wheel, where you have to choose GNOME on Xorg.
@Archisman-Mridha commented on GitHub (Dec 3, 2022):
I am using windows with docker-desktop and wsl2
@lorenzholzbauer commented on GitHub (Dec 3, 2022):
Are you for real trying to run a MacOS VM in a Linux VM on a Windows PC? I think WSL doesn't even have Xorg installed by default. You may need to install Xorg. It may be easier to just run a MacOS VM in VirtualBox or something, but I don't know your exact usecase.
@bphd commented on GitHub (Dec 7, 2022):
XWayLand run just fine on WayLand, many apps use X11 on WayLand. Why here it's a problem? It needs a special configuration?
I have an i5 too
@lorenzholzbauer commented on GitHub (Dec 7, 2022):
As far as i know it doesn't work with XWayland. It started working after I switched to X11.
@IsraPerez98 commented on GitHub (Dec 8, 2022):
I'm having the exact same problem on Fedora 37 with a Ryzen CPU and X11.
Even after running
xhost +I can't get past that error@IsraPerez98 commented on GitHub (Dec 8, 2022):
Update: adding
--privilegedto thedocker runcommand fixed the issue.@TahaOps commented on GitHub (Dec 9, 2022):
Fixed the issue for me !
Thank you
@bphd commented on GitHub (Jan 15, 2023):
Running as root can't be a viable solution. It's dangerous
@10000-ki commented on GitHub (Feb 7, 2023):
@sickcodes hi Is there any solution about this problem yet?
@Real-Gecko commented on GitHub (May 31, 2023):
Same issue on Arch Linux, tried everything, tried all available MacOS versions. Any ways to diagnose what's missing?
@Real-Gecko commented on GitHub (May 31, 2023):
Running on Plasma on X
@bphd commented on GitHub (May 31, 2023):
Searching for what to diagnose since almost a year, but I discussed with the folks of the project and mostly their politic is that you're not worthy of using that project if you don't know how to debug it by yourself, if you're not a master of virtualization, containerization, Mac os, Linux under layers and such. So yeah, since I've just pushed that project back, doing other things, waiting for someone to have the same problem as me that the dev will be willing to help and get the solution from here
@JuanJoseDev88 commented on GitHub (Sep 26, 2025):
I'm having the same issue: privileged doesn't work, running as sudo doesnt work, adding auto doesn't work.