i have this code and one problem(description under code) in its execution
   try {
        ChromeOptions options = new ChromeOptions();
        options.setBinary("/usr/bin/chromium-browser");
        options.addArguments("--start-maximized");
        options.addArguments("headless");
        DesiredCapabilities capabilities = DesiredCapabilities.chrome();
        capabilities.setBrowserName("chrome");
        capabilities.setPlatform(Platform.LINUX);
        capabilities.setCapability(ChromeOptions.CAPABILITY, options);
        WebDriver driver = null;
        // here throws exception
        driver = new RemoteWebDriver(new URL("http://127.0.0.1:4444/wd/hub"), capabilities);
    }catch (Exception ex){
        int point = 0;
    }
I use:
- Ubuntu 14.04.5 LTS
- selenium-server-standalone-3.7.1
- dependency org.seleniumhq.selenium:selenium-java:3.7.1
- ChromeDriver(for Linux 64)
- Chromium(instead of just chrome)
- xvfb
and when i create RemoteWebDriver i get this error: Exception: unknown error: Chrome failed to start: crashed
command to start selenium-server
DISPLAY=:1 xvfb-run java  -Dwebdriver.chrome.driver="/home/builds/chromedriver" -jar /home/builds/selenium-server-standalone-3.7.1.jar
which of the parts of this scheme can be the cause of the described error?
 
    