F5F Stay Refreshed Software Operating Systems Setup Arch Linux on WSL2 efficiently.

Setup Arch Linux on WSL2 efficiently.

Setup Arch Linux on WSL2 efficiently.

D
DoctorOmar
Member
229
12-12-2023, 01:42 PM
#1
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.
D
DoctorOmar
12-12-2023, 01:42 PM #1

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.

R
Razlorus
Posting Freak
976
12-14-2023, 07:37 AM
#2
It's highly advised to opt for Virtualbox over WSL. This will greatly reduce your troubles.
R
Razlorus
12-14-2023, 07:37 AM #2

It's highly advised to opt for Virtualbox over WSL. This will greatly reduce your troubles.

P
Pyro_Knight
Member
113
12-22-2023, 12:02 AM
#3
I also have a VM running in VirtualBox, and I'm just experimenting for fun.
P
Pyro_Knight
12-22-2023, 12:02 AM #3

I also have a VM running in VirtualBox, and I'm just experimenting for fun.

_
_ItzzBlink_
Junior Member
7
12-26-2023, 05:18 AM
#4
That's understandable. I can't assist with that. I use Linux natively.
_
_ItzzBlink_
12-26-2023, 05:18 AM #4

That's understandable. I can't assist with that. I use Linux natively.

D
darthnicx
Junior Member
40
12-26-2023, 12:25 PM
#5
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.
D
darthnicx
12-26-2023, 12:25 PM #5

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.

J
Joco18
Member
240
12-26-2023, 04:58 PM
#6
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.
J
Joco18
12-26-2023, 04:58 PM #6

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.

X
76
12-29-2023, 10:17 AM
#7
No, I haven't installed any graphics drivers yet.
X
xXMLGSwag360Xx
12-29-2023, 10:17 AM #7

No, I haven't installed any graphics drivers yet.

T
titowulk
Member
156
01-05-2024, 07:23 AM
#8
I attempted to set up the NVIDIA driver for my GTX 1050.
T
titowulk
01-05-2024, 07:23 AM #8

I attempted to set up the NVIDIA driver for my GTX 1050.

L
louie018
Posting Freak
824
01-09-2024, 02:41 PM
#9
WSL currently lacks native graphics passthrough capabilities unless you're using a Beta or development channel, meaning you'd need to rely on traditional methods. The referenced articles provide guidance on this topic.
L
louie018
01-09-2024, 02:41 PM #9

WSL currently lacks native graphics passthrough capabilities unless you're using a Beta or development channel, meaning you'd need to rely on traditional methods. The referenced articles provide guidance on this topic.