Skip to content
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

X11 (Xquartz) black background with unreadable text #229

Closed
LudovicARHIMAN opened this issue Jul 27, 2024 · 1 comment
Closed

X11 (Xquartz) black background with unreadable text #229

LudovicARHIMAN opened this issue Jul 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@LudovicARHIMAN
Copy link

Describe the bug

I found recently a bug when you start an app through X11 (XQuartz) on Mac that there is this result

image

and I found a solution, by adding pasting this into exegol shell, and/or decreasing color on 256 colors on Xquartz settings

export _JAVA_OPTIONS='-Dsun.java2d.xrender=false'
image

Steps To Reproduce

No response

Exegol Wrapper Version

v4.3.1

Host OS

MacOS

Configuration of the concerned container

[*] Exegol is currently in version v4.3.1
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[+] We thank Capgemini for supporting the project (helping with dev) 🙏
[+] We thank HackTheBox for sponsoring the multi-arch support 💚

Execution logs in debug mode

┌──────────────────────────────────────────────────────────────────┐
│ User config file: /Users/ludovicarhiman/.exegol/config.yml       │
│ Private workspace: /Users/ludovicarhiman/.exegol/workspaces      │
│ Exegol resources: /Users/ludovicarhiman/.exegol/exegol-resources │
│ My resources: /Users/ludovicarhiman/.exegol/my-resources         │
│ Auto-check updates: On ✔                                         │
│ Auto-remove images: On ✔                                         │
│ Auto-update fs: Off 🪓                                           │
│ Default start shell: zsh                                         │
│ Shell logging method: asciinema                                  │
│ Shell logging compression: On ✔                                  │
│ Desktop enabled by default: Off 🪓                               │
│ Desktop default protocol: http                                   │
│ Desktop default host: localhost                                  │
└──────────────────────────────────────────────────────────────────┘


⭐ Container summary
┌──────────────────┬───────────────────────────────────────────────────────────┐
│             Name │ main                                                      │
│            Image │ full - v.3.1.4 (Up to date) (arm64)                       │
├──────────────────┼───────────────────────────────────────────────────────────┤
│      Credentials │ root : <hidden>                                           │
│          Desktop │ Off 🪓                                                    │
│    Creation date │ 27/07/2024 20:42                                          │
│              X11 │ On ✔                                                      │
│          Network │ bridge                                                    │
│         Timezone │ On ✔                                                      │
│ Exegol resources │ On ✔ (/opt/resources)                                     │
│     My resources │ On ✔ (/opt/my-resources)                                  │
│    Shell logging │ Off 🪓                                                    │
│       Privileged │ Off ✔                                                     │
│        Workspace │ Dedicated (/workspace)                                    │
│             Envs │ DISPLAY=host.docker.internal:0                            │
│                  │ _JAVA_AWT_WM_NONREPARENTING=1                             │
│                  │ QT_X11_NO_MITSHM=1                                        │
│                  │ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/… │
│          Volumes │ (RO) /Users/ludovicarhiman/Library/Application            │
│                  │ Support/pipx/venvs/exegol/lib/python3.12/site-packages/e… │
│                  │ ➡ /.exegol/spawn.sh                                       │
│                  │ (RO) /etc/localtime ➡ /etc/localtime                      │
│                  │ (RW) /Users/ludovicarhiman/.exegol/my-resources ➡         │
│                  │ /opt/my-resources                                         │
│                  │ (RW) /Users/ludovicarhiman/.exegol/exegol-resources ➡     │
│                  │ /opt/resources                                            │
│                  │ (RW) /Users/ludovicarhiman/.exegol/workspaces/main ➡      │
│                  │ /workspace                                                │
└──────────────────┴───────────────────────────────────────────────────────────┘

Exception

No response

Anything else?

No response

@LudovicARHIMAN LudovicARHIMAN added the bug Something isn't working label Jul 27, 2024
@Dramelac
Copy link
Member

Thanks for the suggestion, i added the env var to the exegol wrapper !
The fix is available in the current dev branch or with the next release of exegol wrapper 4.3.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants