Switching to WSL2 with Fedora over plain Fedora install for development?
11–20 of 26 posts
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#12It works great, especially with Windows 11 where you can run X11/Wayland apps perfectly. Fedora isn't packaged for WSL2 at the moment but https://fedoramagazine.org/wsl-fedora-33 is a good way to do it - I use Arch Linux via this method and it works great. The only difference between this article and today, instead of using that Powershell command to set your default user on login, use /etc/wsl.conf ( https://docs.mi…
Do you know the disadvantage between W10 and W11 wrt. GUI apps through WSL2? What problems would I run into? I'd really rather not upgrade to W11, given all the fuckery Microsoft seems to be doing... I'd prefer to stick to W10 and hopefully in a few years I can just use Linux full-time.
Why, just yesterday, my wife’s Windows 11 laptop automatically upgraded and along with the OS update decided to update the BIOS of the laptop as well! Which meant a sudden shutdown with several seconds of a blank screen at which point she was very keen on hard restarting and potentially bricking her laptop.
With brilliant decisions like these made for you how can you ever go wrong with Windows.
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#13I think there is a Fedora install available on the Microsoft store, but it is paid for and I’m not sure the proceeds will go to the Fedora maintainers. I don’t like WSL much. It feels like a second class environment, where the Linux filesystem is accessible via a network share. In any case, it works. Windows Terminal is good enough, but I find Windows a hopelessly confusing OS with lots of places where it seems unfin…
These are my solutions also, I do have a working Fedora in WSL2 (using the manual method of installation), but I still keep using the VMware Workstation. At this point, although the GUI is running, I'm only using it as a "remote ssh" from my VSCode and everything works like a charm. Certainly WSL2 integration has some benefits, but I'm not really using any of them at this point. My Windows terminal sshs to the Linux…
Never bothered to look for that. Can you link to it?
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#14I think there is a Fedora install available on the Microsoft store, but it is paid for and I’m not sure the proceeds will go to the Fedora maintainers. I don’t like WSL much. It feels like a second class environment, where the Linux filesystem is accessible via a network share. In any case, it works. Windows Terminal is good enough, but I find Windows a hopelessly confusing OS with lots of places where it seems unfin…
Is there a way for me to run my current Fedora install as a VM in Windows? Basically I just want the simplest solution, which I guess is for me to ssh into my eventual Linux laptop. But since I don't know when I'll be getting that, I'm wondering what are the pain points of using Fedora through VMWare Workstation. I used VirtualBox when I was first trying out Ubuntu, and it felt noticeably less smooth. Note my main mo…
Not sure WSL2 will like Wayland. It seems better adapted to text-mode command-line Linux work (I'm aware it can run graphical apps). What I'd suggest is to deploy a new Fedora/CentOS WSL VM and copy your home into it.
> I used VirtualBox when I was first trying out Ubuntu
Oh yes. Unless it's a really nice machine and the hypervisor allows the VM to bypass hardware emulation when possible and use some form of virtio-like thing, it'll never be as fluid and snappy as when it's deployed on metal.
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#15If you are into gaming on Windows 10, use Windows 10 as your main and a virtual machine of Linux for Dev.
Gaming on Windows 10 in a virtual machine will not be that good.
There is an issue with running VMware Workstation on Windows 10 with WSL2 on.
In the beginning it did not work at all
They have fixed it a little bit. Now you can run both at the same time but it creates limits for what VMWare Workstation can do.
The most important limit for me is the inability to run nested virtual machines.
This is probably not a problem for most users, but I have to turn off WSL2 and HyperV to run nested operating system on VMWare. This in turn means Docker Desktop will not run on Windows 10.
I am so used to virtual machines that I strongly prefer it to WSL2. It creates a natural demarcation between the two systems. It is trivial to return to a known state on VirtualMachine. Everything in Linux, FreeBSD etc works as expected.
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#16It works great, especially with Windows 11 where you can run X11/Wayland apps perfectly. Fedora isn't packaged for WSL2 at the moment but https://fedoramagazine.org/wsl-fedora-33 is a good way to do it - I use Arch Linux via this method and it works great. The only difference between this article and today, instead of using that Powershell command to set your default user on login, use /etc/wsl.conf ( https://docs.mi…
Do you know the disadvantage between W10 and W11 wrt. GUI apps through WSL2? What problems would I run into? I'd really rather not upgrade to W11, given all the fuckery Microsoft seems to be doing... I'd prefer to stick to W10 and hopefully in a few years I can just use Linux full-time.
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#17BUT, I urge you to just download ubuntu on wsl. It's way more integrated and has alot more support. There's effectively no difference besides some library names which can be translated with "whatprovides" and apt vs dnf. As a Fedora desktop user at work and Ubuntu hater, with WSL it has the Microsoft "Stamp of approval" and gets all the new features and official support.
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#18There's some wsl fedora distro''s like this. https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL . Don't get the store image, it's not updated and is paid, which this is free. BUT, I urge you to just download ubuntu on wsl. It's way more integrated and has alot more support. There's effectively no difference besides some library names which can be translated with "whatprovides" and apt vs dnf. As a Fedora deskt…
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#19You can also try to run Windows in a VM and do GPU passthrough (assuming you also have an integrated graphics card aside from the NVIDIA GPU). Last I've heard it's rather easy to do nowadays, back in 2017 when I tried that it was quite finicky.
Re: Switching to WSL2 with Fedora over plain Fedora install for development?
#20My experience was a pain in the ass. I dumped wsl2 or some virtualization and use this instead:
I have a small linux cloud instance with full ssh access. (I pay 4 USD / month). I use a free tool called mutagen to sync all my files on my windows machine to that linux machine. Sync is almost instant, it feels like working on local server.
Other plus, I can show to my coworkers and customers what I do on my server. Especially now when I work from home.
WSL2 is nice for smaller things, but I would not use it for full web dev server. I would if I could but it doesn't work nice for me. And somehow, it doesn't feel right... I know linux is fast but in wsl2 it is way slower.