title: Chrome browser does not open when running TestNG test suite file using maven command on Ubuntu 14.04 Terminal
body: <p><strong>Machine</strong>: Ubuntu Linux 14.04 LTS</p>
  
  <p><strong>Maven</strong>: 3.0.5</p>
  
  <p>When I execute my TestNG test suite file from Eclipse, it opens the Chrome browser and executes the tests properly. But when I execute the following command on terminal,</p>
  
  <pre><code>$ sudo mvn clean install -DsuiteXmlFile=testng.xml
  </code></pre>
  
  <blockquote>
    <p>Since there is already some access issue with my machine, I have to
    use <code>sudo</code> with the command.</p>
  </blockquote>
  
  <p>Chrome browser just won't open and the maven log just keep on printing the following log infinitely,</p>
  
  <pre><code>-------------------------------------------------------
   T E S T S
  -------------------------------------------------------
  Running TestSuite
  Starting webdriver on OS: Linux
  Starting ChromeDriver 2.37.543619 (a237acd3116cac3b3f0da42a000502ce3fafcb23) on port 14536
  Only local connections are allowed.
  Starting webdriver on OS: Linux
  Starting ChromeDriver 2.37.543619 (a237acd3116cac3b3f0da42a000502ce3fafcb23) on port 6694
  Only local connections are allowed.
  Starting webdriver on OS: Linux
  Starting ChromeDriver 2.37.543619 (a237acd3116cac3b3f0da42a000502ce3fafcb23) on port 4991
  Only local connections are allowed.
  Starting webdriver on OS: Linux
  Starting ChromeDriver 2.37.543619 (a237acd3116cac3b3f0da42a000502ce3fafcb23) on port 19892
  Only local connections are allowed.
  Starting webdriver on OS: Linux
  Starting ChromeDriver 2.37.543619 (a237acd3116cac3b3f0da42a000502ce3fafcb23) on port 21613
  Only local connections are allowed.
  </code></pre>
  
  <blockquote>
    <p>However, this is working perfectly fine on Windows 10.</p>
  </blockquote>
  
  <p>Does anyone have a solution for this as I am not able to find any solution for this.</p>