-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 does not start: (qemu) gtk initialization failed #787
Comments
You need X11, possibly you are on Wayland, just install To know your graphic environment: Try thissudo pacman -S xorg-xhost Allow Docker to access xhost +local:docker |
@jdic Can we not use it on Wayland or those are the steps to run it on Wayland? |
I'm on Wayland, and those steps solved my problem. $ echo $XDG_SESSION_TYPE
wayland |
I have the same problem i am using fedora workstation on x11 |
|
Doesn't run Here's the output
|
Madep |
access control disabled, clients can connect from any host |
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
Файловая система Размер Использовано Дост Использовано% Cмонтировано в
/dev/nvme0n1p2 225G 119G 95G 56% /
QEMU emulator version 9.0.1
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 10.5.0
free: Multiple unit options don't make sense.
4
egrep: warning: egrep is obsolescent; using grep -E
8
crw-rw-rw- 1 root kvm 10, 232 июл 18 02:30 /dev/kvm
итого 0
drwxrwxrwt 2 root root 120 июл 18 02:23 .
drwxrwxrwt 17 root root 420 июл 18 02:33 ..
srwxr-xr-x 1 akkenrl akkenrl 0 июл 18 02:23 X0
srwxr-xr-x 1 akkenrl akkenrl 0 июл 18 02:23 X1
srwxr-xr-x 1 gdm gdm 0 июл 18 02:23 X1024
srwxr-xr-x 1 gdm gdm 0 июл 18 02:23 X1025
root 1213 0.0 0.9 2347780 77164 ? Ssl 02:23 0:00 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
akkenrl 5555 0.0 0.0 6640 4340 pts/1 S+ 02:33 0:00 grep dockerd
Command:
sudo docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
Output:
ssh-keygen: generating new host keys: RSA ECDSA ED25519
++ id -u
++ id -g
++ id -u
++ id -g
++ id -u
++ id -g
Authorization required, but no authorization protocol specified
QEMU 8.0.2 monitor - type 'help' for more information
(qemu) gtk initialization failed
The text was updated successfully, but these errors were encountered: