报错如下:
Unable to init server: Could not connect: Connection refused
gtk initialization failed
原因很可能是你没有连接VGA
可以使用 echo $DISPLAY 来看看是否连接VGA
如果连接了VGA,会输出 :0
否则什么都不会输出
最大的可能是你在使用 vscode 远程连接虚拟机,然后运行了 qemu-system-x86_64
试试直接使用虚拟机,或者通过 VNC 连接,再运行 qemu
标签:init,x86,Could,system,Connection,Unable,64,connect,qemu From: https://www.cnblogs.com/yinhuachen/p/17206455.html