joshua-wu / deepfakes_faceswap

from deekfakes' faceswap: https://www.reddit.com/user/deepfakes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

: cannot connect to X server??

kamendula opened this issue · comments

when i run "python3 train.py" on ubuntu, i get this error.my linux is Ubuntu 16.04.3
how to solve this problem?

I had the same problem when i use SSH
try to change ForwardX11 yes on ur ~/.ssh/config client
and X11Forwarding yes in /etc/ssh/sshd_config on server
The easiest way is to use MobaXterm on Windows, it works well

i use the easier way: i use the MobaXterm, and it works at the beginning.
but i got another problem
"ASSERT: "false" in file qasciikey.cpp, line 501"
do u get that problem?

just remove the ‘cv2.imshow( "", figure )’ in train.py