pantherqin
7/15/2017 - 9:29 PM

Headless Server Virtual Display

Headless Server Virtual Display

Run with root echo 1 > /proc/sys/kernel/unprivileged_userns_clone (work untill reboot, i guess)
This fixed it for me, running the Debian Jessie AWS image, --no-sandbox and --disable-setuid-sandbox is not required. I updated the kernel from 3.something to 4.9 via backports earlier, so maybe this is required, too.

To persist this setting, add kernel.unprivileged_userns_clone=1 to /etc/sysctl.conf.
#!/bin/sh
Xvfb -ac :99 -screen 0 1280x1024x16 &

#disown $1
export DISPLAY=:99
webdriver-manager start /dev/null 2>&1