Fedora Remix for WSL GUI Apps
Fedora Remix for WSL was on sale for £2.51 so I thought I’d have a look see and add it to the rest of the other WSL distros I have installed.
As I’m all jazzed about using Cypress in WSL I thought I’d give it a go on Fedora.
There’s a few dependencies that are detailed by the Cypress CLI output that helps you understand what needs to be installed, there were a few that took a bit of searching to find but I’ve got it working in now.
Unlike the post I did previously on doing it with Debian based WSL instances like Ubuntu and Debian there’s no need to set the $DISPLAY variable like detailed in Nicky’s post.
Also I didn’t configure to Automatically start
dbus or Grant
passwordless access for
dbus. Right, enough link love to Nicky’s
I’m using the MDX Embed project to run the Cypress tests which I have validated with Debian and Ubuntu in previous posts on here.
Here’s the dependencies that I needed to install:
sudo dnf install libX11 libX11-xcb nss libdrm libgbm libasound libXv -y
This one that I couldn’t find with
# elusive to find dependency sudo yum install alsa-lib.x86_64
-y at the end of that command will automatically install the
dependencies for you.
There was one part for
libnss3.so missing but I couldn’t find
libnss using the the search command:
sudo dnf search libnss
After a bit of Googling (Startpage.com actually) I found in the comments of this Stack Overflow question there was the clue:
sudo dnf install nss -y
yarn cy:test on the MDX Embed project…
libgbm.so.2 installed those and tried
ℹ both of those are included in the first block of dependencies.
sudo dnf install libdrm libgbm -y
Next error from the Cypress CLI, missing
libasound.so.2 this was a
bit of a pain to find, I eventually came across this post on Code
Weavers, it wasn’t that actual post it was referred to from this
It details adding
alsa-lib.x86_64 which installs the missing
sudo yum install alsa-lib.x86_64
Install that and try running Cypress again
That’s it! I now have Fedora Remix for WSL working with GUI apps as well!!
Year to date analytics for this post