-
Notifications
You must be signed in to change notification settings - Fork 316
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
Starting GUI apps takes longer with new version #1030
Comments
Here is a strace https://gist.github.com/sarim/1169acffed9ec9f84decf516541bc9c9. Its getting stuck at Update; its hanging on dbus call.
Similar thread from 2020: issue with Removing it solved it for me: @castorfou can you check if it solves for you too? @hideyukn88 Is xdg-desktop-portal somehow used for populating start menu entries with linux gui apps? Maybe it timing out from windows side? If not I have no idea what xdg-desktop-portal doing in wsl :/ |
Okey Ignore my previous comment. I reinstalled xdg-desktop-portal and xdg-desktop-portal-gtk. Now it seems like the issue missing wayland-0 socket? ↪ ~ ➤ ls -l /run/user/1000/
total 0
srw-rw-rw- 1 gittu gittu 0 Apr 11 00:20 bus
drwx------ 3 gittu gittu 60 Apr 11 00:20 dbus-1
drwx------ 2 gittu gittu 140 Apr 11 00:20 gnupg
srw-rw-rw- 1 gittu gittu 0 Apr 11 00:20 pipewire-0
-rw-rw---- 1 gittu gittu 0 Apr 11 00:20 pipewire-0.lock
srw-rw-rw- 1 gittu gittu 0 Apr 11 00:20 pk-debconf-socket
drwxr-xr-x 2 gittu gittu 60 Apr 11 00:20 podman
drwxr-xr-x 4 gittu gittu 120 Apr 11 00:20 systemd
↪ ~ ➤ ln -s /mnt/wslg/runtime-dir/
dbus-1/ pulse/ wayland-0 wayland-0.lock
↪ ~ ➤ ln -s /mnt/wslg/runtime-dir/wayland-0* /run/user/1000/ Manually symlinking wayland-0* solves it too. gedit and other apps now open instantly. :/ :/ |
thank you @sarim
I have then deleted the symlinks, and it continus to open instantly (even after a reboot) without any side effect. I am confused because I don't understand why, but happy as well;) |
Windows build number:
10.0.19045.0
Your Distribution version:
22.04
Your WSL versions:
Steps to reproduce:
I have tested with several applications: tilix, nautilus, firefox, sublime-text. Same behaviour.
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
No response
Actual behavior:
And this is the same if I open a text file from nautilus for example. (launching sublime-text in my case, and if this app is not already launched, it takes ~1 min)
Graphical aspect of apps have changed with WSL 1.1.6, and I guess this is due to update of WSLg?
The text was updated successfully, but these errors were encountered: