Open ashBabu opened 3 years ago
The same issue :(
@MianchuWang @ashBabu I have the same issue, have you found a workaround for it?
@MianchuWang @ashBabu I have the same issue, have you found a workaround for it?
Hi, fortunately I solved the problem at last. The problem was raising when I was using a headless Linux server. The problem is that glfw
is unavailable without a screen. However, we can use a virtual screen xvfb
, like xvfb-run python foo.py
. You can read http://elementalselenium.com/tips/38-headless for more details.
I don't know whether my situation is similar to yours, but I hope you can solve it soon. : )
@MianchuWang @ashBabu I have the same issue, have you found a workaround for it?
Hi, fortunately I solved the problem at last. The problem was raising when I was using a headless Linux server. The problem is that
glfw
is unavailable without a screen. However, we can use a virtual screenxvfb
, likexvfb-run python foo.py
. You can read http://elementalselenium.com/tips/38-headless for more details.I don't know whether my situation is similar to yours, but I hope you can solve it soon. : )
Hi Mianchu, Thanks a lot and your solution helps me. I wanna ask could we set up a GUI for a headless Linux server? I set up the environments in a docker container.
@MianchuWang @ashBabu I have the same issue, have you found a workaround for it?
Hi, fortunately I solved the problem at last. The problem was raising when I was using a headless Linux server. The problem is that
glfw
is unavailable without a screen. However, we can use a virtual screenxvfb
, likexvfb-run python foo.py
. You can read http://elementalselenium.com/tips/38-headless for more details. I don't know whether my situation is similar to yours, but I hope you can solve it soon. : )Hi Mianchu, Thanks a lot and your solution helps me. I wanna ask could we set up a GUI for a headless Linux server? I set up the environments in a docker container.
Hi. There are some ways to set up a GUI for a headless Linux server, e.g., TigerVNC. But I’m not very clear about the setup procedure. Sorry.
I met the same issue and I rebooted the computer system, then the code worked without the problem. I have no idea what happend...
@MianchuWang @ashBabu I have the same issue, have you found a workaround for it?
Hi, fortunately I solved the problem at last. The problem was raising when I was using a headless Linux server. The problem is that
glfw
is unavailable without a screen. However, we can use a virtual screenxvfb
, likexvfb-run python foo.py
. You can read http://elementalselenium.com/tips/38-headless for more details. I don't know whether my situation is similar to yours, but I hope you can solve it soon. : )Hi Mianchu, Thanks a lot and your solution helps me. I wanna ask could we set up a GUI for a headless Linux server? I set up the environments in a docker container.
I have fixed the same issue by your method , thank you very much.
Thank you very much, it's really helpful !!!
Hi, I get the error
I am on Ubuntu 18.04. Followed all the steps as in the README.md. Interestingly it works in my laptop but when I do the exact same steps in lab system, i get the error. One thing I noticed is that my laptop has no Nvidia card whereas my lab system has. I have already added the following in my bashrc
Any help would be really appreciated