Setup Arch Linux on WSL2 efficiently.
Setup Arch Linux on WSL2 efficiently.
There’s no straightforward way to make Arch Linux on WSL2 behave exactly like a native installation. The differences you’re seeing are common and stem from how WSL2 handles packages, signing, and display settings. You might need to adjust boot options, install additional tools manually, or explore alternative setups to get a smoother experience.
I also have a VM running in VirtualBox, and I'm just experimenting for fun.
That's understandable. I can't assist with that. I use Linux natively.
WSL2 is a tailored hyper-v virtual machine. You could simply create a VM for flexibility and standard choices. When launching X, common issues include autosigning and the absence of a bootloader—this is typical during setup. If you prefer those settings, avoid using WSL2.
When I execute xrandr, I encounter this message. Running startx produces: X.Org X Server 1.20.9, Protocol Version 11, Revision 0, Build OS: Linux. Arch Linux Current OS: Linux. Liam-PC 4.19.128-microsoft-standard #1 SMP. The timestamp is 2020-06-23 12:58:10 UTC. The system is x86_64 and the kernel command line shows panic with initrd. The pty.legacy_count is zero, and there are 12 CPUs detected. The build date is September 2, 2020. Before facing issues, verify the latest version at http://wiki.x.org. Various markers indicate probe results, config file usage, default settings, command-line inputs, and warnings. The log file is located at /var/log/Xorg.0.log. Recommend consulting X.Org support or checking the log for more details.