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 #747
Comments
Hi, execute container: docker run -i --device /dev/kvm -p 50922:10022 -p 5999:5999 -p 5900:5900 -p 99:99 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e EXTRA="-display none -vnc 0.0.0.0:99,password=on" sickcodes/docker-osx:ventura After that press Enter in terminal: QEMU console will be appear. Type in (qemu) change vnc password <YOUR_PASSWORD> In your macos vnc connection: Host: vnc://<YOUR_IP>:5999 I hope it helps! |
Many thanks! That worked. But when I restart the container, how can I get the qemu console again to set a VNC password? I tried to start it with this and got an error:
|
Mr. Bard, try access container via bash and run: qemu-system-x86_64 [...OPTIONS...] -vnc :0,password=on -monitor stdio -vnc :<NUMBER_PORT> NUMBER_PORT is: 0 -> 5900 Reference: https://www.qemu.org/docs/master/system/vnc-security.html This command will open the terminal (qemu) |
Or you can restar container with: docker start -ai <CONTAINER_ID> |
Many thanks. But does not work for me:
|
I tried today again and it did work partially. Unfortunately, it did only open a port on ipv6, not ipv4:
|
I started the container with:
Got this error. I was using sickcodes before and the container started, but I was not able to connect via VNC again. I could not set the VNC password as I did not manage to start the qemu console.
Full logs attached
silly_shannon.logs.txt
The text was updated successfully, but these errors were encountered: