On Fri, 28 Feb 2020 at 21:48, Jorge Abisai <pacmanandgo...@gmail.com> wrote:
> I already have qemu installed on the raspberry and I am running it as follows:
>
> qemu-system-i386 -hda windows.img -cdrom WinXP.iso -m 200
>
> but it gives me the following error:
>
> Unable to init server: Could no connect: Connection refused
> gtk initialization failded

This is trying to create a graphical window on an X server using GTK,
and it is not working, because you don't have the right DISPLAY and
other settings to run X programs. I suggest that you get to the point
where you can run a simple graphical program (eg 'xclock') first.
Altenatively, if you aren't running an X server on your rpi, you might
want to try some of QEMU's other display options, like VNC or
Spice, which can be used to set up a remote display over a network
connection.

thanks
-- PMM

Reply via email to