Manual installation of openSUSE Tumbleweed WSL doesn't run first launch configuration

Hello!
I wanted to have two copies of openSUSE as WSL VMs, each different, starting from a clean image, so after the first one that I installed in the usual manner from the Microsoft Store, I followed this guide to make the second, since there is apparently no other official method, i.e. I imported the base install.tar.gz coming from the openSUSE package as a new distro in WSL.
The problem I’m facing is that the first startup application that makes me configure the user and a few other things doesn’t run and I’m launched directly into a root session.
Is there a way to at least run it manually?

Of course, I could also make those configurations manually, but for the sake of convenience I’d like to be able to use that instead, if it’s possible

DistroLauncher.exe has hardcoded distribution name. You can rebuild it for your own name, or even modify to accept distribution name as parameter.

Show Virtualization:WSL / WSL-DistroLauncher - openSUSE Build Service

1 Like

Oh ok, so that’s what does it, thanks, though I don’t quite know where to look for the place where the name is defined, doing a simple search for “opensuse” doesn’t lead to anything in the C++ code

Maybe they use the proper name: openSUSE ?

Doesn’t look like it Code search results · GitHub

It was only a suggestion. I only read that one post and saw that you were searching for something that should not fit anywhere except in documents created by the unknowing/unwilling.

File WSL-DistroLauncher.spec of Package WSL-DistroLauncher - openSUSE Build Service

                      --with-distro-id="$PRETTY_NAME_BEFORE_PAREN_DASHED" \
                      --with-distro-name="$PRETTY_NAME_BEFORE_PAREN" \

Ah, didn’t realize the relevant source was in the build service, thanks again! I’ll try to play with that if I find the time.

Also, funny little tidbit:

# XXX: that's a bit nasty. Launcher should probably be made run
# time configurable when packing the appx

searching for something that should not fit anywhere except in documents created by the unknowing/unwilling

What do you mean with this?

When you miss that one, please forget it. I see you are already further in the process to a solution.

I think I just struggle to comprehend your comment because I’m not a native English speaker, but if you really say I shouldn’t press further I’ll leave it at that

You misspelled openSUSE note capitalization

So that was what they were talking about, that’s not an issue at all, GitHub search is case insensitive by default. I was just looking in the wrong place in the end. I don’t know why there needed to be that condescending comment

Sorry again. I saw only you searching for the wrong string. I had no idea that you searched on a case insensitive place.

As I said, please forget it (but yes, it would be nice if you spelled it correct in the future :wink: )

1 Like

All good, it was just a misunderstanding, I will of course use the right casing when it’s a matter of presentation

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.