rust-windowing / rust-windowing/winit

Acer Chromebook 15 - Secure Shell - Snake Game Error

Open
#1,071 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C - needs investigation D - hard DS - wayland DS - x11 P - low S - platform parity
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

Hi,

Preface: I am closer to a noob than novice when it comes to Rust and computer science.

I have been using your crate for a YouTube Snake Tutorial and it won't load. I found the following message and was advised by the video's creator to contact you all.

"thread 'main' panicked at 'Failed to initialize any backend! Wayland status: NoCompositorListening X11 status: XOpenDisplayFailed', /u/tlan2/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.19.1/src/platform/linux/mod.rs:450:9
note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace."

I am using an Acer Chromebook 15 with Secure Shell App. Is there a way to fix my issue?

Thank you in advance!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on the Acer Chromebook Secure Shell environment with RUST_BACKTRACE=1, then inspect winit-0.19.1/src/platform/linux/mod.rs around line 450 and the reported Wayland and X11 backend statuses. Done means establishing whether this environment is supported and identifying an actionable fix or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.