-
-
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
gtk initialization failed (Possibly ALSA Related) #791
Comments
I tried updating my run command to use PulseAudio by adding these lines:
and now it no longer shows the ALSA-related errors, but still exits, whether run with sudo or not.
|
I was able to get around this by following the steps in #7 (comment) on my host. |
ALSA is not related and happens to everyone, according to README. The real error is the last line, "gtk initialization failed," which is most likely about how you set up your display. Please provide your docker command for further troubleshoot. you should also check if you're using wayland or X. |
Requested info is logged below. Also, I put the console output that seemed relevant (ALSA errors just before the system exists with the gtk initialization error).
Is ALSA a prerequisite for this to work? Is there something else I'm missing?
I regularly run other docker containers on this system.
OS related issued, please help us identify the issue by posting the output of this
uname -a \
Linux OfficePC 6.9.9-1-MANJARO #1 SMP PREEMPT_DYNAMIC Fri Jul 12 10:32:52 UTC 2024 x86_64 GNU/Linux
; echo "${DISPLAY}" \
:0.0
; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs \
1
; grep NAME /etc/os-release \
; df -h . \
; qemu-system-x86_64 --version \
; libvirtd --version
libvirtd (libvirt) 10.5.0
; free -mh \
; nproc
16
; egrep -c '(svm|vmx)' /proc/cpuinfo \
; ls -lha /dev/kvm
crw-rw-rw- 1 root kvm 10, 232 Jul 31 11:15 /dev/kvm
; ls -lha /tmp/.X11-unix/ \
; ps aux | grep dockerd \
; docker ps | grep osx
(NULL)
; grep "docker|kvm|virt" /etc/group
Seemingly-relevant log output:
The text was updated successfully, but these errors were encountered: