: cannot connect to X server??
kamendula opened this issue · 3 comments
kamendula commented
when i run "python3 train.py" on ubuntu, i get this error.my linux is Ubuntu 16.04.3
how to solve this problem?
junglewreck commented
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
kamendula commented
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?
yjmlaile commented
just remove the ‘cv2.imshow( "", figure )’ in train.py