Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: WWW::Mechanize::Chrome Can't Connect without knowing the port?!

by Corion (Patriarch)
on Sep 27, 2020 at 05:59 UTC ( [id://11122258]=note: print w/replies, xml ) Need Help??


in reply to Re^2: WWW::Mechanize::Chrome Can't Connect without knowing the port?!
in thread WWW::Mechanize::Chrome Can't Connect without knowing the port?!

[3455:3455:0926/140135.852054:ERROR:browser_main_loop.cc(1434)] Unable + to open X display.

So maybe your Chrome process can't connect to your display server. This would explain why it works headless but not when trying with a display. I don't know why Chrome can't connect to a display - are you launching the process as a different user or in a shell without the DISPLAY variable set?

  • Comment on Re^3: WWW::Mechanize::Chrome Can't Connect without knowing the port?!
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122258]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found