Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

41.0.0.Final #232

Open
nreith opened this issue Jan 21, 2025 · 6 comments
Open

41.0.0.Final #232

nreith opened this issue Jan 21, 2025 · 6 comments

Comments

@nreith
Copy link

nreith commented Jan 21, 2025

Describe the bug
import tar.gz not working

To Reproduce
Steps to reproduce the behavior:

  1. Download latest tar.gz from here: https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/releases
  2. `wsl --import fedora C:\path\to\downloads Fedora-Remix-for-WSL-41.0.0.tar.gz
  3. See error below in screenshot

Expected behavior
Import works, but then I cannot launch the distro, even as root.

Screenshots
Image

Additional context
Just trying to import a second copy of the distro in addition to the one from the Windows Store, so I can do some more experimental things without breaking my main install.

Basic Troubleshooting Checklist

[x] I have searched Google for the error message.
[x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[x] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[x] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[x] I have disabled and re-enabled WSL in Windows Features.
[x] I have run Windows 10 updates and restarted. (I'm on Windows 11)

What other troubleshooting have you attempted?

Insert here:

Fedora Remix for WSL Version 41.0.0
^Cannot get into distro to cat /etc/os-release

Find: Settings->Apps->Apps & features->Fedora Remix for WSL Version->Advanced Options->Version.
Also, cat /etc/os-release

Insert here:

OS Name: Microsoft Windows 11 Enterprise
OS Version: 10.0.22631 N/A Build 22631
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

@crramirez
Copy link
Contributor

crramirez commented Jan 21, 2025

Hello,

What you are downloading is as it says, is the source code. We still don't distribute Fedora Remix as a tar file.

I recommend you to export your distro and import it as another name.

If you want a fresh copy, you must export, unregister and install. Then import your old one as another one. You can use the vhd option in export to speed up the process.

Hope it helps

@nreith
Copy link
Author

nreith commented Jan 21, 2025

Ah. So it can only be installed from the Windows Store? I somehow thought there was also a tar import method documented somewhere. Thanks for clarifying. If so, you can close the ticket.

@nreith
Copy link
Author

nreith commented Jan 21, 2025

Excellent job btw! Love this distro.
Fun anecdote, I use it with xrdp for a GUI and it works beautifully. I have found a million problems with the Ubuntu and WSL distros, including btw WLinux, and can't get it to work for those. I prefer Fedora anyway. Haven't figured out yet what you did right that the others didn't.

@crramirez
Copy link
Contributor

Thank you for the kind words, they are very appreciated.

I don't know if you use the install-desktop.sh script that we included. But what we did was simply trial and error until something worked. I must say that due to Fedora has the newest packages this helps a lot. We didn't have the same lucky with WLinux, this is why we only offer Xfce in pengwin-setup. They are two more approaches that we want to test.

  1. Xephyr: No need to run the desktop with Xrdb - Much better perf with Xephyr! Pengwin#792
  2. Xwayland : https://gist.github.com/tdcosta100/e28636c216515ca88d1f2e7a2e188912

We made the first test and they look promising. They render faster than xrdp but has their drawbacks too.

Which desktop environment do you use with Fedora?

@nreith
Copy link
Author

nreith commented Jan 26, 2025

I'm strictly a vanilla gnome guy, which is why I like Fedora and Debian best. But I don't feel I can recommend Fedora for newbies and colleagues who are more familiar with Ubuntu only, as it would put more burden on me to support when they can't figure something out.

The main reason I'm investigating all of this is I curate a set of day-one dev setup scripts that configure a Ubuntu WSL for colleagues to get up and running fast with commonly used tools + corporate config like certs, dns, and other settings. I want to add a GUI on top of that, and I cannot for the life of me figure out how to make xrdp with xorg or xvnc work on Debian 12, WLinux, Ubuntu 22.04, or Ubuntu 24.04. With Fedora (either yours, or from a docker rootfs normal Fedora, it just works). I've scoured neutrino, reddit, stackoverflow, chatgpt, ubuntu and debian forums, etc. Weird auth errors or inability to launch the xserver for both Debian and Ubuntu.

Since ability to use a full desktop GUI + "seamless mode", i.e. wslg for one app only, is an important thing I want to provide, maybe I'll end up just going with Fedora, but it's foreign to most.

I have paid for both WLinux, FedoraRemix, and other stuff with my personal account and would nudge others to do the same to just make their lives easier. But I can't impose that, so will likely make my setup scripts agnostic to work with free versions like docker rootfs or Microsoft Store installs of other stuff.

Either way, I appreciate what you guys do. And would be grateful if you discovered anything different between FedoraRemix and WLinux on why xrdp "just works" in Fedora, but not in Debian.

@crramirez
Copy link
Contributor

You can try pengwin-setup install GUI DESKTOP XFCE and if it works, you can try to replicate what the script does. Remember that Pengwin is Debian 12 based.

In Debian have you tried installing it without systemd? and with systemd, have you tried disabling wayland?

unset WAYLAND_DISPLAY
rm -f /mnt/wslg/runtime-dir/wayland*

Here (https://gist.github.com/tdcosta100/e28636c216515ca88d1f2e7a2e188912) there is a more elegant way to disable wayland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants