qemuvnc

first time running qemu, vnc viewer not open automatically


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.


Solution

  • 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!