Skip to content

neovide: libX11.so.6: cannot open shared object file #400789

@martinhrvn

Description

@martinhrvn

Nixpkgs version

  • Unstable (25.05)

Describe the bug

When trying to run neovide I get following error:
Neovide panicked with the message 'Failed to create winit event loop: Os(OsError { line: 787, file: "/build/neovide-0.15.0-vendor/winit-0.30.9/src/platform_impl/linux/mod.rs", error: XNotSupported(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)" })) })'. (File: src/window/mod.rs; Line: 128, Column: 38)
This is a bug and we would love for it to be reported to https://github.com/neovide/neovide/issues

Steps to reproduce

  1. install neovide
  2. run it

Expected behaviour

Neovide runs normally

Screenshots

No response

Relevant log output

Neovide panicked with the message 'Failed to create winit event loop: Os(OsError { line: 787, file: "/build/neovide-0.15.0-vendor/winit-0.30.9/src/platform_impl/linux/mod.rs", error: XNotSupported(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)" })) })'. (File: src/window/mod.rs; Line: 128, Column: 38)
This is a bug and we would love for it to be reported to https://github.com/neovide/neovide/issues

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.23, NixOS, 25.05 (Warbler), 25.05.20250417.b024ced
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.1
  • channels(root): "home-manager-24.11.tar.gz, nixos-24.11"
  • nixpkgs: /nix/store/isfbldda5j8j6x3nbv1zim0c0dpf90v8-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions