-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
WSLg Qt program doesn't work inside the bottle #175
Comments
Same issue here, I can't run cmake-gui inside bottle. |
Cannot consistently repro. (Odd results: vlc fails even outside bottle, audacious succeeds even inside bottle. Anyone who knows something about Qt and its perversions care to chip in? |
On my machine, the result is consistent, both vlc and audacious succeed outside bottle and fail inside bottle. |
I cannot repro this on a distribution I'm familiar with (which list does not include Manjaro); unfortunately, Arch issues already eat up a disproportionate amount of support time, and I don't have enough to dedicate to hunting down something this specific to an Arch derivative. I'll leave this open and hopefully someone who has more knowledge of Manjaro can find something. |
I have been experiencing exactly same issue (under our „beloved” ArchWSL). To fix that, wslg socket at /tmp/.X11-unix/X0 has to be regenerated from outside of the bottle, after systemd has started (e.g. after /tmp gets wiped). Then, it will be reachable from both out- and inside world. As a workaround I have disabled wslg-xwayland.socket and added such a snippet to my ~/.bashrc.
First four lines must be customized per needs. |
@esgie Hello, I tried your script. It work as expected as cmake-gui runs perfetly but...... ❯ edge ❯ gvim E852: The child process failed to start the GUI |
There has been no activity on this issue for over 60 days. If there is no further activity within 7 days from this message, it will be automatically closed. |
Windows version (build number):
21390.1010
Linux distribution:
Manjaro
Genie version:
1.42
Describe the bug
WSLg works fine with genie, except for Qt programs. Qt programs work fine outside the bottle, but it doesn't work inside the bottle. Qt programs can be launched in the bottle, but the GUI cannot be displayed properly.
To Reproduce
Steps to reproduce the behavior:
wsl -d Manjaro
genie -s
vlc
Expected behavior
Qt programs can work as good as other GUI programs.
Screenshots

Run VLC in the bottle:
Run VLC outside the bottle:

The text was updated successfully, but these errors were encountered: