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

Could not connect to any X display. #6

Open
ajkshdkjahdka opened this issue May 15, 2020 · 2 comments
Open

Could not connect to any X display. #6

ajkshdkjahdka opened this issue May 15, 2020 · 2 comments

Comments

@ajkshdkjahdka
Copy link

-bash-4.2$ python3 ./CAFE_fig-master/CAFE_fig.py resultfie1.cafe -pb 0.05 -pf 0.05 --dump test/ -g pdf --count_all_expansions
The directory "test/" already exists. Overwrite it and delete all its contents? (y/n)? y
Parsing CAFE report... done!
Writing test/summary.pdf
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

could you please help me, thank you very much!

@Racccoon-Kevins
Copy link

Racccoon-Kevins commented May 23, 2020

@ajkshdkjahdka
i got this problem toooooooo, when worked with ssh. i was almost crazy before getting this https://github.com/therecipe/qt/issues/775.
just try export QT_QPA_PLATFORM=offscreen and it worked.

@PhDDemonolog
Copy link

@ajkshdkjahdka
i got this problem toooooooo, when worked with ssh. i was almost crazy before getting this https://github.com/therecipe/qt/issues/775.
just try export QT_QPA_PLATFORM=offscreen and it worked.

its worked! thx u

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

3 participants