-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Document : Change Docker container desktop pass-through #2070
Conversation
Update OpenBB-finance#1692 for Docker new security protection in 2022 .
Fenced code blocks should be surrounded by blank line
DOCKER_ADVANCED.md
Outdated
|
||
#### Setting up X Quartz/X11 | ||
|
||
0. Install X Quartz from <https://www.xquartz.org/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we still do need x11 don't we?
for xhost +
to work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because Linux Desktop was built with X11.
For remote user in Linux, common case is using SSH X-forwarding.
Run command , and it likes :
ssh -X [email protected] 'desktop-app-command'
In Mac/Windows , you need Quartz/Xming to do this. [1]
- https://kb.iu.edu/d/bdnt - Use X forwarding on a personal computer to securely run graphical applications installed on IU's research supercomputers
It seems that setting the Qt backend for matplotlib is optional as tkinter is default on the host, but using the socket is far better that using the IP address @dreamerc can you please undo the deletion of the instructions to install the XQuartz (critical for macOS users) and sync your PR with latest main for the tests to pass. After that we should merge this. |
undo macOS Part for Docker Desktop, and move to the new paragraph.
Update #1692 for Docker new security protection in 2022 .
Checklist:
Others
pre-commit install
.pytest tests/...
.