I installed emacs using flatpak install flathub org.gnu.emacs
. But when I try to run it, I get error. I am using Ubuntu via wsl2. Ubuntu 20.04.6 LTS.
$ flatpak list --app
Name Application ID Version Branch Installation
Free Software Foundation org.gnu.emacs 29.4 stable user
$ flatpak run org.gnu.emacs
bwrap: Can't mount tmpfs on /newroot/tmp/.X11-unix: No such file or directory
How can I fix this?