jsandler18.github.io icon indicating copy to clipboard operation
jsandler18.github.io copied to clipboard

WSL2 issue running the VM (qemu-system-arm command) (SOLUTION)

Open milo-ucla opened this issue 3 years ago • 0 comments

I had an issue with the given

qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel myos.elf command in this tutorial. It output: Unable to init server: Could not connect: Connection refused gtk initialization failed

THE FIX: changed "stdio" to "mon:stdio" and added "-nographic" option.

Full command that worked:

qemu-system-arm -m 256 -M raspi2 -serial mon:stdio -kernel myos.elf -nographic

Versions I'm using: Linux 5.10.16.3-microsoft-standard-WSL2 x86_64 qemu-system-arm: 1:4.2-3ubuntu6.18

milo-ucla avatar Oct 18 '21 18:10 milo-ucla