title: E/launcher - unknown error: Chrome failed to start: exited abnormally, Protractor
body: <p>I am new to protractor ,as well as automation testing. I ran my conf.js file but the process terminate with below error related to chorme</p>
  
  <hr>
  
  <p>error message</p>
  
  <hr>
  
  <p><strong><em>$$> protractor conf.js</em></strong></p>
  
  <p>[08:38:14] I/launcher - Running 1 instances of WebDriver
  [08:38:14] I/direct - Using ChromeDriver directly...
  **</p>
  
  <blockquote>
    <p>[08:39:14] E/launcher - unknown error: Chrome failed to start: exited
    abnormally   (Driver info: chromedriver=2.37.544315
    (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux
    3.10.0-1062.1.1.el7.x86_64 x86_64) [08:39:14] E/launcher - WebDriverError: unknown error: Chrome failed to start: exited
    abnormally   (Driver info: chromedriver=2.37.544315
    (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux
    3.10.0-1062.1.1.el7.x86_64 x86_64)</p>
  </blockquote>
  
  <p>**
      at Object.checkLegacyResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:546:15)
      at parseHttpResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)
      at doSend.then.response (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:441:30)
      at process._tickCallback (internal/process/next_tick.js:68:7)
  From: Task: WebDriver.createSession()
      at Function.createSession (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:769:24)
      at Function.createSession (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/chrome.js:761:15)
      at Direct.getNewDriver (/usr/lib/node_modules/protractor/built/driverProviders/direct.js:77:33)
      at Runner.createBrowser (/usr/lib/node_modules/protractor/built/runner.js:195:43)
      at q.then.then (/usr/lib/node_modules/protractor/built/runner.js:339:29)
      at _fulfilled (/usr/lib/node_modules/protractor/node_modules/q/q.js:834:54)
      at /usr/lib/node_modules/protractor/node_modules/q/q.js:863:30
      at Promise.promise.promiseDispatch (/usr/lib/node_modules/protractor/node_modules/q/q.js:796:13)
      at /usr/lib/node_modules/protractor/node_modules/q/q.js:556:49
      at runSingle (/usr/lib/node_modules/protractor/node_modules/q/q.js:137:13)</p>
  
  <blockquote>
    <p><strong>[08:39:14] E/launcher - Process exited with error code 199</strong></p>
  </blockquote>
  
  <p>I have tried all possible solutions ,</p>
  
  <p>From <strong>upgrading chrome</strong> to 59x version to <strong>downgrading</strong> it to 2.37 version </p>
  
  <p>adding <strong>extras</strong> like below to conf.js file </p>
  
  <p><strong>directConnect: true,
   useAllAngular2AppRoots:true,</strong>
   capabilities: {
      browserName: 'chrome',
      <strong>chromeOptions: {
      'args':['--no-sandbox']
      }</strong>
    } </p>
  
  <hr>
  
  <pre><code> conf.js
  </code></pre>
  
  <hr>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>exports.config = {
  
    directConnect: true,
    framework: 'jasmine',
    //  seleniumAddress: 'http://localhost:4444/wd/hub',
    specs: ['spec.js'],
    capabilities: {
      browserName: 'chrome',
      chromeOptions: {
        'args': ['--no-sandbox']
      }
    },
    useAllAngular2AppRoots: true
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>could someone please help me make this work. </p>
  
  <p>Thank you 
  (new to post questions on stackoverflow as well :b)</p>