-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoCompositorListening X11 status: #164
Comments
Try installing |
no i get the same error after installing it |
I'm facing the same issue, and the same after installing libx11-xcb-dev. |
On which OS? @NULLAiden |
As last resort, I can suggest you try to install |
I am facing the same issue. |
Did you install the app via pacman? |
Yeah from the arch repos |
Should I file standalone ticket for the alike error?
(affected both of mine Ubuntu Bionic and Ubuntu Jammy) UPD: on both systems > dpkg -L libxcursor1
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
/usr/share
/usr/share/doc
/usr/share/doc/libxcursor1
/usr/share/doc/libxcursor1/changelog.Debian.gz
/usr/share/doc/libxcursor1/copyright
/usr/lib/x86_64-linux-gnu/libXcursor.so.1 UPD2: on both installed via Homebrew |
After Googling for some possible solution, I've found out that it could be related to the GUI. It's built using an alternative graphical renderer ( |
@GyulyVGC > /usr/bin/sniffnet
/usr/bin/sniffnet: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory On remote Ubuntu Jammy via SSH works fine. Which version of OpenSSL does |
@yermulnik I'm happy it now works on your Ubuntu Jammy at least. Have a look at #199 where earlier we discussed about a problem which could be related to yours. |
@GyulyVGC Despite packaging complexity for Linux distros because there are some in the wild, it shouldn't be a big deal to package binaries for most of the LTSes of common platforms — there are quite a few of them actually — though (to continue about "despite..." that I started with) I do have Homebrew installed along with |
Thanks very much for the suggestions, they will be kept into account 👍 |
@yermulnik The package distribution on such repositories is planned for the future. But, the @mb0x88 @NULLAiden @Albonycal @yermulnik Are you trying to run the app with elevated privileges? |
Thank you
Both |
Well, this would partially explain it... However, I've done a test on Debian that uses Wayland as well as ParrotOS that uses X11, and in both cases, I was able to run the app without issue from the non-root user. |
@Albonycal Have you got an Nvidia GPU? In that case, there is a known issue with WGPU on Wayland: gfx-rs/wgpu#2519 |
it's running on the AMD iGPU |
I have to test this on my own... Are you using a specific Arch-based distro or you have customized your own version of Arch Linux? |
I do have an nvidia GPU in this laptop, but wayland using using AMD igpu. And it's just plain arch |
Something very similar on Oracle Linux 8.9 (like RHEL) in X11 mode (Wayland is disabled):
|
I'm also using v1.2.2 Wayland at ArchLinux, and I'm facing a different problem
|
It seems similar with alacritty/alacritty#7083 |
@DawnMagnet please see #463. Yesterday I published v1.3.0, which should have fixed your problem on Arch. |
Describe the bug
Opening sniffnet I get an error
thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoCompositorListening X11 status: LibraryOpenError(OpenError { kind: Library, detail: "opening library failed (libX11.so.6: cannot open shared object file: No such file or directory); opening library failed (libX11.so: cannot open shared object file: No such file or directory)" })', /github/home/.cache/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/winit-0.27.5/src/platform_impl/linux/mod.rs:719:9 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace
To Reproduce
Describe steps to reproduce the bug, e.g.:
Expected behavior
I expected sniffnet to start running
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I installed with brew and installed all dependencies
The text was updated successfully, but these errors were encountered: