Skip Navigation

Scott Spence

Fedora Remix for WSL GUI Apps

2 min read
Hey! Thanks for stopping by! Just a word of warning, this post is over 3 years old, . If there's technical information in here it's more than likely out of date.

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 site!

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 
   libXv -y

This one that I couldn’t find with dnf:

# elusive to find dependency
sudo yum install alsa-lib.x86_64

ℹ the -y at the end of that command will automatically install the dependencies for you.

There was one part for missing but I couldn’t find anything matching libnss using the the search command:

sudo dnf search libnss

After a bit of Googling ( actually) I found in the comments of this Stack Overflow question there was the clue:

stack overflow comment

Install that:

sudo dnf install nss -y

Then run yarn cy:test on the MDX Embed project…

Errors for and installed those and tried again.

ℹ both of those are included in the first block of dependencies.

sudo dnf install libdrm libgbm -y

Next error from the Cypress CLI, missing 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 page.

It details adding alsa-lib.x86_64 which installs the missing dependency:

sudo yum install alsa-lib.x86_64

Install that and try running Cypress again yarn cy:test


That’s it! I now have Fedora Remix for WSL working with GUI apps as well!!

There's a reactions leaderboard you can check out too.

Copyright © 2017 - 2024 - All rights reserved Scott Spence