XOpenDisplayFailed
Is there an existing issue for this?
- [X] I have searched the existing issues.
What's the problem?
thread 'main' panicked at 'Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: XOpenDisplayFailed', /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.27.5/src/platform_impl/linux/mod.rs:719:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
How did you install the app?
installed from crates.io
Operating System
Linux
Additional context
OS: CentOS Linux release 7.9.2009 (Core) cargo install [email protected]
The same issue was solved in #11:
It's strange, but... I deleted my
~/.cargofolder and build every cargo app I have [...] nowsniffnetrun withlibpcapblessing without problem. Huh. I tried in alacritty and wezterm.
It's not a definitive solution but deleting that folder and rebuilding the app solved the issue in the past. If it doesn't solve the issue for you, can you also please try to download the provided RPM package from the release page?