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

(result:128): Gtk-WARNING **: cannot open display: #75

Open
sihuo521 opened this issue Jul 16, 2020 · 1 comment
Open

(result:128): Gtk-WARNING **: cannot open display: #75

sihuo521 opened this issue Jul 16, 2020 · 1 comment

Comments

@sihuo521
Copy link

shell: ./runDet -e model/model_best.engine -i smoke1.jpg -c smoke1.h264
wrong:
(result:128): Gtk-WARNING **: cannot open display:

@T-DevH
Copy link

T-DevH commented Aug 25, 2020

Are you running this in a container? Make sure you do the following: sudo xhost + then export DISPLAY=:x (you didn't show all the error message). you will also need to install gtk modules.. : apt install libcanberra-gtk-module libcanberra-gtk3-module

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

2 participants