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

Solution to "No X11 Display variable was set" #10

Open
miguelgondu opened this issue May 17, 2021 · 0 comments
Open

Solution to "No X11 Display variable was set" #10

miguelgondu opened this issue May 17, 2021 · 0 comments

Comments

@miguelgondu
Copy link

miguelgondu commented May 17, 2021

Hi Jacob,

Thanks for pointing me to the repo.

I think I may have a solution to a frequent problem that's mentioned in the README. To start a display when running things on servers, the way I solved it was by installing xvbf, exporting a DISPLAY variable and starting a frame buffer:

  1. Run apt-get install xvbf, or add it to your Dockerfile
  2. Export a display variable like export DISPLAY=:99
  3. Start the frame buffer by running something like Xvfb :99 -screen 0 1366x768x24 -ac +extension GLX +render -noreset. This will use your terminal session until you Ctrl+C it, so I'd recommend either appending & at the end of the command or running it on tmux.

Thanks again,
Miguel.

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

No branches or pull requests

1 participant