-
Notifications
You must be signed in to change notification settings - Fork 202
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
"QXcbConnection: Could not connect to display" #1
Comments
The face swap applications require an OpenGL context to work. I have no way to test the application in the same environment you do but try to follow this post I think it might help: http://stackoverflow.com/questions/25281992/alternatives-to-ssh-x11-forwarding-for-docker-containers/25334301#25334301 |
Great! :) |
I ran it on docker too, met the same problem. Finally solved it by switching to a docker image with desktop. But the below groups seem abnormal: |
Hi @YuvalNirkin
Any luck running it on cloud ? Thanks |
Hi @akashgoyal https://comtechies.com/how-to-set-up-gui-on-amazon-ec2-ubuntu-server.html Please confirm if any of those work for you. |
Hi @YuvalNirkin Is their a way to do this completely command line. Can you suggest on possible code changes ? |
You can replace the OpenGL renderer with a software renderer. |
I sovlve the QxcbConnection Could not connect to display by install XManager and "export Display=:localhost:11.0” in ~/.bashrc But After that I come across the following question. QXcbConnection: Failed to initialize XRandr |
Hi, thanks for the code.
I am having trouble running the code. I successfully compilee the project, but when I try to run
./face_swap_image --cfg test.cfg
, I get the following error:QXcbConnection: Could not connect to display
Aborted
I am running the code inside a docker container.
The text was updated successfully, but these errors were encountered: