I have a worker that is running in a non-interactive shell. The worker is needing to open up a chrome browser to do scraping, but we are getting a chrome not reachable
error due to the worker not having access to the display. (same scripts work when using interactive shell)
How would I give this non-interactive shell worker access to the display in the .bashrc file?
sh
? Does runningxhost +
help? – terdon Dec 16 '22 at 18:50xhost +local:
to get the interactive terminal to work. – xslibx Dec 16 '22 at 20:30