Replies: 1 comment 1 reply
-
This is related to XQuartz settings rather than OrbStack issue. Changed the XQuartz settings in "Security" tab as shown in the image: Then restart the XQuartz and it should work. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I did the following steps:
brew install orbstack
brew install xquartz
open -a XQuartz
xhost + 127.0.0.1
git clone https://github.com/zacky1972/docker-ubuntu-xorg.git
cd docker-ubuntu-xorg
docker image build --rm --no-cache --pull -t zacky1972/ubuntu-xorg .
docker run -it --env="DISPLAY=host.docker.internal:0" --rm zacky1972/ubuntu-xorg xclock
Then, I got the following warning and error:
The warning is OK, because my docker image on https://github.com/zacky1972/docker-ubuntu-xorg.git runs on x86_64 by Rosetta 2.
However, I can't fix the error. The documentation of OrbStack shows
DISPLAY
should be set tohost.docker.internal:0
. Help me!Beta Was this translation helpful? Give feedback.
All reactions