Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

first time running qemu, vnc viewer not open automatically

Tags:

qemu

vnc

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.

like image 714
Chan Kim Avatar asked Jun 25 '14 12:06

Chan Kim


People also ask

Why is VNC viewer not working?

VNC Server is either not running, or not running on the specified port. Ensure VNC Server is running. If you are establishing a direct connection and have specified a port other than the default for VNC (5900), ensure VNC Server is configured to use that port.


1 Answers

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!

like image 106
Chan Kim Avatar answered Oct 06 '22 00:10

Chan Kim