Hello,
your Qemu command line looks suspicious...
On Tue, Jan 23, 2018 at 05:01:36PM +0100, Subhadeep Sarkar wrote:
spawn qemu-system-i386 -no-kvm 127.0.0.1:0 -serial mon:stdio -m 512 -cdrom var/run/demo.iso qemu-system-i386: -no-kvm: Unknown protocol '127.0.0.1'
Shouldn't it read more like
qemu-system-i386 -no-kvm -vnc 127.0.0.1:0 -serial mon:stdio -m 512 -cdrom var/run/demo.iso
or
qemu-system-i386 -no-kvm -display vnc=127.0.0.1:0 -serial mon:stdio -m 512 -cdrom var/run/demo.iso
?
Note, I have no experience with Qemu VNC support, just had a look at "qemu-system-i386 --help".
Regards