Skip to content
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

SSH X11 forwarding seemed to be unsupported #3671

Open
ztlwk opened this issue May 1, 2024 · 2 comments
Open

SSH X11 forwarding seemed to be unsupported #3671

ztlwk opened this issue May 1, 2024 · 2 comments
Labels
B - bug Dang, that shouldn't have happened DS - x11

Comments

@ztlwk
Copy link

ztlwk commented May 1, 2024

Description

Attempting to initialize event loop with ssh x11 forwarding would end up with NotSupportedError.

OS and window mananger

OS: Debian 12
Window manager: kwin

Winit version

0.30.0

@ztlwk ztlwk added B - bug Dang, that shouldn't have happened DS - x11 labels May 1, 2024
@notgull
Copy link
Member

notgull commented May 2, 2024

Are there any logs in the tracing output?

@ztlwk
Copy link
Author

ztlwk commented May 2, 2024

No, here's the output:

$ DISPLAY=localhost:10 ./winit-app-example
2024-05-04T03:35:25.158419Z TRACE winit_app_example: Initializing app...
thread 'main' panicked at src/main.rs:138:58:
called `Result::unwrap()` on an `Err` value: NotSupported(NotSupportedError)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtracee

FYI, glxgears worked properly.

notgull added a commit that referenced this issue May 4, 2024
This ensures that, when X11 initialization fails, we know exactly why.

cc #3671

Signed-off-by: John Nunley <dev@notgull.net>
notgull added a commit that referenced this issue May 9, 2024
This ensures that, when X11 initialization fails, we know exactly why.

cc #3671

Signed-off-by: John Nunley <dev@notgull.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - x11
Development

No branches or pull requests

2 participants