Skip to content

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

@milo-ucla

Description

@milo-ucla

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions