sniffnet: thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoCompositorListening X11 status:

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=1 environment variable to display a backtrace

To Reproduce Describe steps to reproduce the bug, e.g.:

  1. Open terminal and type sniffnet

Expected behavior I expected sniffnet to start running

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS:ParrotOS 6.0.0-12parrot1-amd64
  • Browser N/A

Additional context I installed with brew and installed all dependencies

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 26 (12 by maintainers)

Most upvoted comments

@DawnMagnet please see #463.

Yesterday I published v1.3.0, which should have fixed your problem on Arch.

Thanks very much for the suggestions, they will be kept into account 👍

@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 openssl@3 and respectively with libssl.so.3, hence, probably, packaging the updated binary for Homebrew would fix the issue for me on Bionic as well 👍🏻 Works for me… though having packages for package managers of most common Linux distros (inc LTS) may give this project a pretty good kick to broader popularity 🤞🏻