Giter Site home page Giter Site logo

Comments (4)

XVanilor avatar XVanilor commented on June 9, 2024 1

Initially, I wrote this bug report to provide troubleshooting to anyone which might encounter it, as Exegol does not indicate what could have gone wrong. It would be great to raise a message to indicate what's missing (DISPLAY environment variable on the host) instead of the default error message of xhost

from exegol.

Dramelac avatar Dramelac commented on June 9, 2024

Hello

Thank you for the feedback

The wrapper already uses a fallback to ":0" if the environment variable is not present. (See the last line of execution in the section "Execution logs in debug mode") but this is only applicable inside the container, we don't change the host environment configuration.
The wrapper tries to call xhost but indeed if the host is not correctly configured it will cause problems.

The problem being rather on the side of the host (/ DISPLAY service) I don't see what to add on the wrapper side...

Maybe add a warning message if the xhost commands fail ?
Or maybe add this use case in the documentation for troubleshooting ?
What do you think @ShutdownRepo ?

from exegol.

ShutdownRepo avatar ShutdownRepo commented on June 9, 2024

Agreed, this is a host issue.
However, we could probably raise a warning message at wrapper level if we feel like the DISPLAY env is messed up and user didn't use --disable-X11

from exegol.

ShutdownRepo avatar ShutdownRepo commented on June 9, 2024

Agreed, we'll make the necessary changes to the wrapper
Thank you for raising the suggestion

from exegol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.