Comment # 15 on bug 1219180 from Joey Lee
(In reply to Joey Lee from comment #13)
> (In reply to Joey Lee from comment #12)
> > Hi Thomas,
> > 
> [...snip]
> > 
> > Could you please teach me how to create a qemu of aarch64 with graphics
> > window? I used the following qemu command for launching a aarch64 guest. But
> > it always only shows message on terminal console. Not graphic window:
> > 
> > qemu-system-aarch64 \
> > -m 4096 -cpu cortex-a57 -smp 4 -M virt \
> > -drive
> > if=pflash,format=raw,readonly,file=/usr/share/qemu/aavmf-aarch64-code.bin \
> > -drive
> > if=pflash,format=raw,file=/home/joeyli/qemu-vm/openSUSE-MicroOS-aarch64-vars-
> > store.bin \
> > -serial mon:stdio \
> > -net nic,model=virtio -net nic,model=virtio -net
> > bridge,br=br0,helper=/usr/libexec/qemu-bridge-helper \
> > -drive
> > if=none,file=/home/joeyli/iso/openSUSE-MicroOS-DVD-aarch64-Current.iso,
> > id=hd0 -device virtio-blk-device,drive=hd0  \
> > -drive
> > if=none,file=/home/joeyli/qemu-vm/openSUSE-MicroOS-aarch64-efi.qcow2,id=hd1 
> > -device virtio-blk-device,drive=hd1 -vnc :93
> > 
> > Thanks!
> 
> I have removed "-vnc :93" then using sudo to run the above command. But then
> I got "gtk initialization failed".

After removed "-serial mon:stdio", the qemu window is opened. But the
installation of MicroOS iso is NOT started. With "-serial mon:stdio", the
installation process is started. How could I open an qemu window with root
account?


You are receiving this mail because: