title: Could not initialize SDL(No available video device), qemu-system, Windows Subsystem for Linux
body: <p>I'm learning how to write a basic OS kernel with <a href="https://intermezzos.github.io" rel="nofollow noreferrer">intermezzos.github.io</a></p>
  
  <p>I'm running in Windows Subsystem for Linux on Windows 10 v1607.</p>
  
  <p>I'm at the point where I want to run my <code>.iso</code> with <code>qemu-systems-x86_64 -cdrom os.iso</code>.</p>
  
  <p>Previously I was able to run the command and QEMU would run a window, which was running into another problem, posted here: <a href="https://stackoverflow.com/questions/39232676/qemu-no-bootable-device-windows-subsystem-for-linux">QEMU, No bootable device, Windows Subsystem for Linux</a></p>
  
  <p>Now when running the command, I receive the following error: <code>Could not initialize SDL(No available video device) - exiting</code></p>
  
  <p>When I ran into this problem before I installed <code>Xming</code>, ran it, and then QEMU successfully ran. But now, when I try to run Xming it no longer solves the problem.</p>
  
  <p>I even tried installing <code>xorg</code> and running <code>startx</code> on WSL but that starts another issue: <code>xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)</code></p>
  
  <p>I really don't know what I'm doing and I have so many questions.</p>
  
  <p>I'm under the impression that for QEMU to successfully run, it needs to be able to find a video driver. Is that the purpose of X11?</p>