You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With only the NixOS distribution, /mnt/wslg/runtime-dir contents are not linked to /run/user/<id>/. These links exist for Ubuntu/Debian/etc. WSL2 distributions. I can manually create these links, and wayland apps work perfectly. I cannot for the life of me figure out what component is supposed to create these links.
I think either something should be added to create these links, possibly as an override for the [email protected], or something is getting in the way of WSL2 creating these links.
In my other WSL2 distributions, the files are linked during the launching of the wsl command. when entering as root and starting a login shell or the regular user, the files are not linked. This makes me think that normally, the WSL2 subsystem goes in and creates these files, but I am not sure of this.
To Reproduce
Steps to reproduce the behavior:
Install NixOS WSL2 distrubution
Interesting, this must have come with a recent update. I couldn't reproduce it on my install at first, but after updating I have the same problem. I'll make a PR to integrate the workaround
Bug description
With only the NixOS distribution,
/mnt/wslg/runtime-dir
contents are not linked to/run/user/<id>/
. These links exist for Ubuntu/Debian/etc. WSL2 distributions. I can manually create these links, and wayland apps work perfectly. I cannot for the life of me figure out what component is supposed to create these links.I think either something should be added to create these links, possibly as an override for the
[email protected]
, or something is getting in the way of WSL2 creating these links.In my other WSL2 distributions, the files are linked during the launching of the wsl command. when entering as root and starting a login shell or the regular user, the files are not linked. This makes me think that normally, the WSL2 subsystem goes in and creates these files, but I am not sure of this.
To Reproduce
Steps to reproduce the behavior:
Install NixOS WSL2 distrubution
WSL version
The text was updated successfully, but these errors were encountered: