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

fix: unable to ./docker-run.sh on Wayland #167

Open
wants to merge 1 commit into
base: vnc
Choose a base branch
from

Conversation

rgon
Copy link

@rgon rgon commented Jul 30, 2024

The docker-run.sh command forwards the X11 sockets, but since all the environment variables say it's running on Wayland, the Qt platform runs expecting to be able to access it. As it can't, it errors out.

This patch overrides the XDG_SESSION_TYPE environment variable to x11, forcing xwayland usage on Wayland systems while keeping compatibility with x11.

Fixes #160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libGL error: MESA-LOADER: failed to retrieve device information
1 participant