first time running qemu, vnc viewer not open automatically

纵然是瞬间 提交于 2020-01-24 13:53:07

问题


Recently I downloaded qemu, and ran configure, make and make install. when I run

qemu-system-sparc linux-0.2.img

I just see a message below

VNC server running on `::1:5900'

At this state, when I open vncviewer window by typing vncviewer :5900, then I see the window.
The window shows the emulated screen

Welcome to OpenBIOS v1.1 build on Mar 10 2014 08:41
Type 'help' for detailed information
Trying disk...
No valid state has been set by load or init-program
0>

How can I make the vnc window come up automatically? and how do I supply right linux image?
when I build my linux image, I can get sImage.elf or sImage.bin which contains the file system too.


回答1:


I solved this problem by installing sdl-devel to my CentOS. I reran ./configure --target-list=sparc-softmmu --enable-sdl and did make, make install and the problem is gone!




回答2:


first according to what @Chan Kim said, but there is nothing about qemu-system-i386 and qemu-system-x86_64 in qemu/bin.

then run ./configure --prefix=/data/local/qemu --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu --disable-vnc --enable-sdl, then I find all about qemu-system.



来源:https://stackoverflow.com/questions/24408248/first-time-running-qemu-vnc-viewer-not-open-automatically

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!