Talk:Gentoo in WSL

On changing the default user
I edited the page yesterday to reflect that due to the way Gentoo is installed in WSL (imported through PowerShell instead of installed from the Windows Store, or whatever they're calling it today), /etc/wsl.conf doesn't work to set the default user when opening a WSL window. I added the instructions for editing the registry to do this. This morning, someone's added the old instructions back in, even though they don't work. I just got around to installing Gentoo under WSL on Win11 yesterday on the Framework Laptop I bought a couple of months ago; instructions nearly everywhere said to create /etc/wsl.conf. I did, and it made not a bit of difference: new windows still brought up a root prompt. I recalled having to tweak the registry on my other Windows installs and eventually found those instructions and brought them over here.

--Salfter (talk) 17:48, 24 February 2022 (UTC)


 * Don't worry, that's probably just the wiki way working in it's abrupt fashion (Gentoo_Wiki:Contributor's_guide). Perhaps the other user thinks that both methods work ?


 * I'm sorry I don't have the knowledge to say, or the installations to test this out. I wonder what thinks ? (ping). Are their certain conditions that can have both ways work, like old versions or something ?


 * All the best -- Ris (talk) 18:04, 24 February 2022 (UTC)


 * FWIW, /etc/wsl.conf works just fine for my attempt on my Windows 10 install with WSL installed from "Turn Windows features on or off" and Gentoo imported from the stage3 as listed. The registry was not changed. --Grknight (talk) 18:07, 24 February 2022 (UTC)