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

Use the gui mode on docker #216

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jordiprats
Copy link

@jordiprats jordiprats commented Nov 15, 2021

Hi,
This is to be able to use the gui mode using the docker image:

I'm sharing the DISPLAY variable and the /tmp/.X11-unix path to be able to launch a GUI application

Fixes #213

Obviously, you need to allow remote connections to your X server, for example:

xhost +

kind regards,

@jordiprats jordiprats changed the title Added env.var and /tmp/X11 volume to use the gui mode using docker Use the gui mode on docker Nov 16, 2021
@hermitmaster
Copy link
Contributor

This PR would cause problems (or at least confusion) on Windows, MacOS, and any distros that don't use X server.

@jordiprats
Copy link
Author

I don't see how it's much better to have Linux broken than to have a useless environment variable on the other two.

@hermitmaster
Copy link
Contributor

I’ll reopen for further discussion. At minimum I’d like to see corresponding documentation, as I expect there will be confusion amongst Docker novices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to launch the browser process! - Debian Buster
2 participants