mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
gtk initialization failed on Ubuntu 22.04 #533
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 @impvd on GitHub (Sep 22, 2023).
I'm trying to run macOS in an Ubuntu server as headless mode. I need to use that macOS to do some daily build thing.
My OS environment:
The command and logs:
@hendkai commented on GitHub (Sep 23, 2023):
What happens when you add this?
-e EXTRA="-display none -vnc 0.0.0.0:99,password=on"@mdrokz commented on GitHub (Sep 24, 2023):
im getting the same error on fedora 37 i get this after adding the above parameters
it exits into qemu
@hendkai commented on GitHub (Sep 24, 2023):
This is no error it is what you want. Now you enter
change vnc passwordand enter your password. Then you can connect with VNC. (qemu) is still open in terminal.@mdrokz commented on GitHub (Sep 24, 2023):
Oh i see when i try connect through VNC it says
VNC Server closed the connection@impvd commented on GitHub (Sep 25, 2023):
No
gtk initialization failedany more:@impvd commented on GitHub (Sep 25, 2023):
I try to access the VNC server by safari, but got errors as follows, even I changed the port to
8099, still the same message@hendkai commented on GitHub (Sep 25, 2023):
Dont forget the ports according to the readme. -p 50922:10022 \ -p 5999:5999 \
@ashuvssut commented on GitHub (Oct 12, 2023):
I dont know why but when i ran the docker run commands with
sudo, it worked.