-
Notifications
You must be signed in to change notification settings - Fork 823
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
GUI applications no longer display after enabling systemd #8896
Comments
So I just noticed that |
@kmmiles , do you provide result of
And, do you installed
Removing And, will Wayland native apps (e.g. Windows build number:22621.521 Your Distribution version:Ubuntu 22.04.1 LTS Your WSL versions:WSL Version: 0.67.6.0 |
Thanks for ideas @diglateam3 I ended up installing the latest windows update (25206.1000), then installed a clean Ubuntu 22.04 and wsl@IDEAPAD:~$ /bin/ls -al /tmp/.X11-unix
total 4
drwxrwxrwx 2 root root 60 Sep 22 19:11 .
drwxrwxrwt 7 root root 4096 Sep 22 19:11 ..
srwxrwxrwx 1 wsl wsl 0 Sep 22 19:11 X0 I'm glad it works now, but not really sure what the root cause was. |
I am not sure if it really solved the issue, as you just installed Weston within the user distro (ubuntu). So now when you enable systemd it runs Weston inside the user distro while if it's disabled then Weston is running inside the system distro. GUI apps are working fine with systemd disabled as you mentioned. We need to make sure that you are using wslg's weston. Run |
On my system the issue is as follows: Without systemd (X is working):
With systemd (X is not working):
The symbolic links look dubious to me when systemd is enabled. |
Same issue. I use kali-linux WSL on latest slow-ring/stable available Windows version 22621.963.
Issue seen after systemd was turned on. The following is with systemd enabled but GUI not working:
|
Same problem when trying to start GUI apps on my Ubuntu 20.04.
|
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Windows build number:
25201.1000
Your Distribution version:
Debian 11, Ubuntu 20.04.4, Ubuntu 22.04, and Fedora 35
Your WSL versions:
WSL version: 0.67.6.0
Kernel version: 5.15.62.1
WSLg version: 1.0.44
MSRDC version: 1.2.3401
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.25201.1000
Steps to reproduce:
Follow the instructions from the announcement here: https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/
After modifying
/etc/wsl.conf
to enablesystemd
and restarting withwsl --shutdown
, try running a GUI program e.g.xeyes
Disabling
systemd
and restarting eliminates the issue.WSL logs:
pulseaudio.log
stderr.log
weston.log
I also compared the logs with with
systemd
enabled and disabled, and found something unique instderr.log
:WSL dumps:
No response
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: