Skip to content

Version 0.30.0 fails to run on Ubuntu 22.04 (Missing x11 feature) #177

@c-git

Description

@c-git

Problem description

When I try to run the unmodified template on Ubuntu 22.04. I get the following error.

Error: WinitEventLoop(Os(OsError { line: 764, file: "/home/one/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.7/src/platform_impl/linux/mod.rs", error: Misc("neither WAYLAND_DISPLAY nor WAYLAND_SOCKET is set; note: enable the winit/x11 feature to support X11") }))

I haven't tried to resolve it yet. Was looking for the issue for it to see what was the recommend approached and checked the release notes but nothing in either pointed me to a solution. Will update if I find a solution. (Also possible it's only on my machine as I can't seem to find any issues for it.

Explanation of why this issues created on this repo instead of egui main repo

I created the issue here as I can create a PR for a workaround that hopefully others can find until an official fix is implemented (Haven't found the fix yet but wanted a place to document what is happening as I may not finish in one sitting).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions