Another workaround for this is to use the 'offscreen' platform. For example:
QT_QPA_PLATFORM=offscreen phantomjs rasterize.js 2i8zaNg04d9B41Zir2kT3J/output.html 2i8zaNg04d9B41Zir2kT3J.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1586134 Title: Core dumps on headless server (16.04) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/phantomjs/+bug/1586134/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs