我在Windows 10上的Virtual Box上托管Ubuntu 16.04.在Ubuntu 16.04中,有QEmu模拟ARM处理器,运行Ubuntu Trusty(14.04).
当我按如下方式启动QEmu时,它会显示一个带标题的窗口QEMU,但是完全是黑色的客户区:
qemu-system-arm -smp 2 --drive format=raw,if=sd,file=vexpress-8G.img -kernel vmlinuz-3.13.0-24-generic-lpae -initrd initrd.img-3.13.0-24-generic-lpae -M vexpress-a15 -serial stdio -m 2048 -append 'root=/dev/mmcblk0 rw mem=2048M raid=noautodetect rootwait console=ttyAMA0,38400n8 devtmpfs.mount=0' -dtb ./vexpress-v2p-ca15-tc1.dtb
Run Code Online (Sandbox Code Playgroud)
客户操作系统(ARM-Ubuntu)的控制台工作,启动消息显示在qemu-system-arm运行命令的同一终端中.但是当我输入startx命令时,它会显示错误:
Loading extension GLX
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error …Run Code Online (Sandbox Code Playgroud)