title: compile & execute Chromium failed due to SUID sandbox issue
body: <h3>What I'm trying to do :</h3>
  
  <p>Compile and run Chromium source code on Ubuntu 13.10</p>
  
  <h3>Steps I've taken :</h3>
  
  <pre><code>git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
  add to bashrc :
      export PATH="$PATH":/home/y0.kim/project/depot_tools    
      export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
  fetch --nohooks chromium --nosvn=True
  git checkout master
  build/install-build-deps.sh
  git pull
  gclient sync
  ninja -C out/Debug chrome chrome_sandbox
  build/update-linux-sandbox.sh
  out/Debug/chrome               -&gt; Fail
  out/Debug/chrome --no-sandbox  -&gt; Fail
  </code></pre>
  
  <h3>Problem :</h3>
  
  <p>get the source code and compiled without problem.
  However, when i execute chrome, i have below error</p>
  
  <p><strong>normal execution</strong></p>
  
  <pre><code>:~/project2/src$ out/Debug/chrome
  The setuid sandbox provides API version 1, but you need 0
  Please read https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment.
  
  [37555:37588:0616/152604:FATAL:browser_main_loop.cc(207)] &lt;unknown&gt;: Command line `dbus-launch --autolaunch=f271cc756e9c41e457760b8c00000496 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
  #0 0x7f570456a39d base::debug::StackTrace::StackTrace()
  #1 0x7f57045bc51d logging::LogMessage::~LogMessage()
  #2 0x7f5707e45cef content::(anonymous namespace)::GLibLogHandler()
  #3 0x7f5701c20f61 g_logv
  #4 0x7f5701c21172 g_log
  #5 0x7f56f5240d2a &lt;unknown&gt;
  #6 0x7f56f5241087 &lt;unknown&gt;
  #7 0x7f5701c19d13 g_main_context_dispatch
  #8 0x7f5701c1a060 &lt;unknown&gt;
  #9 0x7f5701c1a45a g_main_loop_run
  #10 0x7f56f524098b &lt;unknown&gt;
  #11 0x7f5701c3b9b5 &lt;unknown&gt;
  #12 0x7f56fdfd0e9a start_thread
  #13 0x7f56fc1853fd clone
  
  Aborted (core dumped)
  </code></pre>
  
  <p><strong>execution with --no-sandbox</strong></p>
  
  <pre><code>~/project2/src$ out/Debug/chrome --no-sandbox
  [19653:19653:0616/152447:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
  [19653:19656:0616/152447:FATAL:browser_main_loop.cc(207)] &lt;unknown&gt;: Command line `dbus-launch --autolaunch=f271cc756e9c41e457760b8c00000496 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
  #0 0x7f8f13bbe39d base::debug::StackTrace::StackTrace()
  #1 0x7f8f13c1051d logging::LogMessage::~LogMessage()
  #2 0x7f8f17499cef content::(anonymous namespace)::GLibLogHandler()
  #3 0x7f8f11274f61 g_logv
  #4 0x7f8f11275172 g_log
  #5 0x7f8f05095d2a &lt;unknown&gt;
  #6 0x7f8f05096087 &lt;unknown&gt;
  #7 0x7f8f1126dd13 g_main_context_dispatch
  #8 0x7f8f1126e060 &lt;unknown&gt;
  #9 0x7f8f1126e45a g_main_loop_run
  #10 0x7f8f0509598b &lt;unknown&gt;
  #11 0x7f8f1128f9b5 &lt;unknown&gt;
  #12 0x7f8f0d624e9a start_thread
  #13 0x7f8f0b7d93fd clone
  
  Aborted (core dumped)
  :~/project2/src$ [0616/152448:ERROR:nacl_helper_linux.cc(277)] NaCl helper process running without a sandbox!
  Most likely you need to configure your SUID sandbox correctly
  </code></pre>
  
  <h3>steps i've tried to fix the problem:</h3>
  
  <ol>
  <li>went to <a href="https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment" rel="noreferrer">https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment</a></li>
  <li>read it</li>
  <li>built chrome with chrome_sandbox again 
  <ul>
  <li><code>ninja -C out/Debug chrome chrome_sandbox</code></li>
  </ul></li>
  <li>executed <code>build/update-linux-sandbox.sh</code> again</li>
  <li>checked again if <code>~/.bashrc</code> have below line
  <ul>
  <li><code>export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox</code></li>
  </ul></li>
  </ol>
  
  <h3>what i would like to know:</h3>
  
  <ol>
  <li>What should I do to execute Chrome on above situation?</li>
  <li>What would be the reason that <code>--no-sandbox</code> option did not work?</li>
  </ol>
  
  <p>any input would be highly appreciated.</p>
  
  <p>Young.</p>