title: Running AOSP on emulator
body: <p>In order to get familiar with AOSP, I'm aiming at building an image and running it on an emulator, following the <a href="https://source.android.com/source/requirements" rel="noreferrer">official documentation</a>.</p>
  
  <p>After setting up an Ubuntu 16.04 VM, I use the following commands:</p>
  
  <pre><code>repo init -u https://android.googlesource.com/platform/manifest
  repo sync
  source build/envsetup.sh
  lunch full-eng
  make -j8
  emulator
  </code></pre>
  
  <p>Compilation works fine, the emulator starts but its screen remains blank. No particular error trace in the console.</p>
  
  <p>I tried it without any proprietary binaries, and also with Nexus 5 binaries, but it didn't change anything.</p>
  
  <p>I also tried with <code>lunch aosp_arm-eng</code> but same result.</p>
  
  <p>What am I missing?</p>
  
  <p>I can successfully <code>shell</code> into the emulator. In <code>dmesg</code> output I noticed the following error traces:</p>
  
  <pre><code>[   23.952504] init: Failed to bind socket 'pdx/system/vr/display/client': No such file or directory
  [   23.954517] init: Failed to bind socket 'pdx/system/vr/display/manager': No such file or directory
  [   23.956460] init: Failed to bind socket 'pdx/system/vr/display/vsync': No such file or directory
  </code></pre>
  
  <p>And the output of <code>service list</code> command is:</p>
  
  <pre><code>generic:/ # service list
  Found 10 services:
  0   media.resource_manager: []
  1   media.player: []
  2   media.camera: []
  3   media.sound_trigger_hw: []
  4   media.radio: []
  5   media.aaudio: []
  6   media.audio_policy: []
  7   netd: []
  8   media.audio_flinger: []
  9   batteryproperties: [android.os.IBatteryPropertiesRegistrar]
  </code></pre>