Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
milo-ucla opened this issue Oct 18, 2021 · 0 comments
Open

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

milo-ucla opened this issue Oct 18, 2021 · 0 comments

Comments

@milo-ucla
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant