Open nexplorer-3e opened 1 month ago
related: microsoft/wslg#1244
currently I use the workaround provided by https://github.com/viruscamp/wslg-links : place wslg-runtime-dir.services
under /etc/systemd/user
and activate it with systemctl --global
to support multi-user. As for x11 service, simply put under /etc/systemd/system
(administrator-controlled directory) should enough. Reason why not using tmpfiles is that it won't check whether the source exists, causing unexpected behavior on non-WSL environments, while the service
files containing patch checks.
edit: other oneshot
command like mount --makeslave
?
Bug description
see https://github.com/viruscamp/wslg-links?tab=readme-ov-file#why as AOSC looks like using the newer systemd version, the wslg files are missing, cause wayland and x11 application to fail.
Steps to reproduce
eglinfo -B
:after manually create symlink (
ln -sf /mnt/wslg/.X11-unix/* /tmp/.X11-unix/ && ln -sf /mnt/wslg/runtime-dir/wayland-* $XDG_RUNTIME_DIR/
): (yes maybe need to hack env to disable zink warning)Update channel(s)
main
Package and version
No response