microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.17k stars 304 forks source link

Unable to launch Bottles through Flatpak #871

Open felipecrs opened 1 year ago

felipecrs commented 1 year ago

Windows build number:

22621.675

Your Distribution version:

Ubuntu 22.04.1

Your WSL versions:

WSL version: 0.70.4.0 Kernel version: 5.15.68.1 WSLg version: 1.0.45 MSRDC version: 1.2.3575 Direct3D version: 1.606.4 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.675

Steps to reproduce:

  1. sudo apt update && sudo apt install flatpak -y
  2. sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  3. sudo flatpak install flathub com.usebottles.bottles -y
  4. ❯ flatpak run com.usebottles.bottles
    
    Note that the directories
    
    '/var/lib/flatpak/exports/share'
    '/home/felipecrs/.local/share/flatpak/exports/share'
    
    are not in the search path set by the XDG_DATA_DIRS environment variable, so
    applications installed by Flatpak may not appear on your desktop until the
    session is restarted.
    
    bwrap: Can't mount tmpfs on /newroot/dev/shm: No such file or directory

WSL logs:

WslLogs-2022-10-22_13-28-17.zip

WSL dumps:

No response

Expected behavior:

To work, as it works inside of a Ubuntu installed through a VM or bare metal.

Actual behavior:

bwrap: Can't mount tmpfs on /newroot/dev/shm: No such file or directory
ThePlenkov commented 1 year ago

same here