title: Starting Xserver in Docker Ubuntu container
body: <p>I have minimal Ubuntu installation in my container and I want to have Xserver running.
  I need XServer, because my app requires meshlabserver, which itself needs Xserver.</p>
  
  <p>I installed xserver-xorg and all other packages, but when I try to start X in container via</p>
  
  <pre><code>/usr/bin/X :0
  </code></pre>
  
  <p>it says:</p>
  
  <pre><code>Fatal server error:
  (EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
  </code></pre>
  
  <p>What am I doing wrong? How do I start X server?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>related question: <a href="https://stackoverflow.com/questions/27194404/host-screen-turns-off-when-i-start-x-server-in-docker-container">Host screen turns off when I start X server in docker container</a></p>