Open tomasz-gac opened 2 years ago
I made a symbolic link from $XDG_RUNTIME_DIR to /run/user/1000 and it works
@dingdang66686 just attempted this, now the error is:
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/tmp/.X11-unix /tmp/.X11-unix none bind,ro 0 0): cannot use "/var/lib/snapd/hostfs/tmp/.X11-unix" as bind-mount source: not a directory error: access denied ERROR: not connected to the gnome-3-28-1804 content interface.
Wayland application works in this way.
For x11 apps, you should delete /tmp/.X11-unix and make a bind mount to wslg's .X11 dir.
Describe the bug
I cannot run GUI apps installed via snap. Installing and running snap-store yields:
The same final Gtk error exists for Chromium
Steps to reproduce
Expected behavior
Snap store GUI opens
Windows version
11
Linux kernel version
Linux DESKTOP-HUAWEI 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Distro
Ubuntu 20.04
How did you install that distro?
Enabled
distrod
in an existing WSL2 distroLogs
additional comment
No response