Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal server error: (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) #126

Open
bluecow82 opened this issue Dec 23, 2020 · 6 comments

Comments

@bluecow82
Copy link

First off, thank you Eric for creating this script giving us mere mortals a fighting chance. Even though I haven't been able to yet score a card, I have faith I will in time... once I get my errors worked out that is.

Aside from the Chromium issue detailed at #120 , I also get the following message displayed when checking the docker logs:

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE) 
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)

Not sure if the two issues are connected.
Thank you!

@bluecow82 bluecow82 changed the title SocketCreateListener() failed Fatal server error: (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) Dec 29, 2020
@xWildxChildx
Copy link

Would love some help on this too.

@EricJMarti
Copy link
Owner

Are you using Docker on Windows? If so, I think this is caused by incorrect line endings. Fixed in this commit: 5adf144

@xWildxChildx
Copy link

Are you using Docker on Windows? If so, I think this is caused by incorrect line endings. Fixed in this commit: 5adf144

I am unsure about the OP, but I am using docker on a Pi 3.

@bluecow82
Copy link
Author

I’m on a Pi 4.

@xWildxChildx
Copy link

I wanted to follow up with an update in my situation, and include a disclaimer that I am very unfamiliar with programming of this sort. I don't even know the syntax we're talking about here (Python?) I got this Pi for my daughter, and was just desperate for a solution. - Side note, thank you Eric for offering this. Haven't scored a card yet, but I think this greatly improves my chances.

Moving on, I was learning a bit more about docker and came across a sort of "cleanup" command:
$ docker system prune
This cleaned up any resources not associated with a container (images, containers, volumes, networks). I suppose this solved the "x server already running" issue, but to be honest I'm not sure. I simply noticed I wasn't getting the error after running this command.

@krhubbard2
Copy link

Moving on, I was learning a bit more about docker and came across a sort of "cleanup" command:
$ docker system prune
This cleaned up any resources not associated with a container (images, containers, volumes, networks). I suppose this solved the "x server already running" issue, but to be honest I'm not sure. I simply noticed I wasn't getting the error after running this command.

I'm also getting same error as OP. The prune command didn't fix it for me. It appears to still scrape appropriately some times.
At other times I also get a error:
caught exception during request: Message: session not created from timeout: Timed out receiving message from renderer: 600.000

This is on my Raspberry Pi 4 also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants