Failed to initialize graphics environment
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
(base) utopiah@r15-desktop4090:~/Prototypes/android-studio-docker$ echo $DISPLAY
:0
with in compose.yml having
# Mount the proper locationm for x11 server if you are running this in native linux
- /tmp/.X11-unix:/tmp/.X11-unix .
- android_studio:/androidstudio-data
environment:
- DISPLAY=:0 # Set DISPLAY environment variable
with in
compose.ymlhaving