-
Notifications
You must be signed in to change notification settings - Fork 822
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
Cannot lauch any gui app after update #12047
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
/logs |
the logs are already provided |
We need logs provided by the collect-wsl-logs script. /logs |
Ok I see that those are already included, the zip files are just changed. Is systemd enabled in your distribution ? Does disabling it solve the issue ? |
systemd is enabled, can you explain better on how i disable it? |
You can disable systemd via
|
Disabling systemd solves the issue apparently |
Windows Version
Microsoft Windows [Version 10.0.22631.4169]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 24.04
Other Software
xcb version 2.4-8build2
ros2 version jazzy
xeyes version 1.3.0
xcalc version 1.1.2
Repro Steps
For xcb:
-
sudo apt install xcb
xcb
on terminalFor ros2:
For installation follow this:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
sudo apt update && sudo apt upgrade
sudo apt install ros-jazzy-desktop
ros2 run turtlesim turtlesim_node
For xcalc:
-
sudo apt install x11-apps
xcalc
on terminalFor xeyes:
-
sudo apt install x11-apps
xeyes
on terminalExpected Behavior
The window should open and the program should be displayed as a linux window on windows
Actual Behavior
for xcb, xcalc, xeyes the output is:
Error: Can't open display: :0
for ros2 the output is:
the logs collected with collect logs tool
ros2log.zip
xcalc_log.zip
xcb_log.zip
strace logs
ros_strace.zip
strace_xcalc.txt
strace_xcb.txt
current workaround found(that doesn't survive reboot):
sudo rm -rf /tmp/.X11-unix && ln -s /mnt/wslg/.X11-unix /tmp/
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: