so i type this command in wsl <qemu-system-x86_64>
and it should open the qemu window as usual but it doesn't instead it gives this error Unable to init server: Could not connect: Connection refused*
gtk initialization failed
kindly help me
Asked
Active
Viewed 9,542 times
0
1 Answers
0
I've got the same problem and fixed updating wsl from powershell,
wsl --update
also im using xming server for virtualization

nameless
- 1
-
I made some changes in bashrc and it worked, by the way it did run in nographic mode – Tallhypnosis373 Nov 07 '23 at 07:03
-curses
or even no graphic at all with-nographic
. There are many options, you have to pick what suits you best. – Christian Ehrhardt Jul 01 '22 at 05:24