Giter VIP home page Giter VIP logo

Comments (7)

refcell avatar refcell commented on May 16, 2024

Update: Seems to be an npm issue. Would recommend purging apt's npm with sudo apt purge npm and then reinstalling with nvm.

from chatgpt-telegram.

Pol-Lanski avatar Pol-Lanski commented on May 16, 2024

Also failing to launch Headless Browser in Ubuntu, but I get this error:

[pid=16812][err] [16812:16812:1204/202439.161063:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[pid=16812][err] [16812:16812:1204/202439.161135:ERROR:env.cc(225)] The platform failed to initialize.  Exiting.
============================================================

from chatgpt-telegram.

refcell avatar refcell commented on May 16, 2024

Try running as a sudoer

from chatgpt-telegram.

Pol-Lanski avatar Pol-Lanski commented on May 16, 2024

Thanks for your help! I am running it as sudoer but still nothing. I'm now investingating the -X switch and how to activate it following this https://unix.stackexchange.com/questions/712718/set-display-environment-variable-in-linux

Unix & Linux Stack Exchange
I was trying to launch google chrome from the terminal in an SSH session and an error occurred saying "ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY". I googled it and fo...

UPDATE: activating -X (flag enables X11 forwarding) also does not solve my issue :(

from chatgpt-telegram.

7flash avatar 7flash commented on May 16, 2024

Also failing to launch Headless Browser in Ubuntu, but I get this error:

[pid=16812][err] [16812:16812:1204/202439.161063:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[pid=16812][err] [16812:16812:1204/202439.161135:ERROR:env.cc(225)] The platform failed to initialize.  Exiting.
============================================================

following resolved the issue for me:

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0

from chatgpt-telegram.

lxy1992 avatar lxy1992 commented on May 16, 2024

Also failing to launch Headless Browser in Ubuntu, but I get this error:

[pid=16812][err] [16812:16812:1204/202439.161063:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[pid=16812][err] [16812:16812:1204/202439.161135:ERROR:env.cc(225)] The platform failed to initialize.  Exiting.
============================================================

following resolved the issue for me:

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0

I meet the same error on ubuntu. And I try this command to set the env var DISPLAY. But it still fails and reports the same error. Weird.

from chatgpt-telegram.

m1guelpf avatar m1guelpf commented on May 16, 2024

See the new Browserless Authentication section of the README.

from chatgpt-telegram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.