[Remote-Container Bug] After a reboot and reopening the last workspace, the container fails to reattach due to missing /run/user/1000/wayland-0 mount #10094
Labels
containers
Issue in vscode-remote containers
under-discussion
Issue is under discussion for relevance, priority, approach
The problem I am facing is that my dev-containers automatically contain a wayland bind mount:
which is fine by itself. But under some to me unknown circumstances it can happen after a complete reboot, that in WSL2 the wayland socket in
/run/user/1000/
is missing (although it exists in/mnt/wslg/runtime-dir/
). This causes the existing container to fail when I try to reopen vscode which had this mount previously attached. I then either have to reopen the folder in WSL and rebuild the container or actually shutdown WSL (wsl --shutdown
) and restart it which usually makes the wayland socket reappear.Not sure if this is actually something that can be done in vscode-remote or if this is a WSL issue. I will probably also open an issue in WSL.
The text was updated successfully, but these errors were encountered: