Report this

What is the reason for this report?

JavaScript app in headless mode - GetXDisplay error

Posted on June 17, 2020

Hi there,

I’m trying to run a application from the terminal that launches a GUI (headless chrome), but I’m getting an error (screenshot attached).

I managed to get the application running using a VNC, but I’d prefer to not have to use the GUI and expose a VNC access point because I did notice someone was trying to gain access into my droplet via VNC.

https://imgur.com/a/HW4Qi2R

Regards, Adrian



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.