calebolson123 / BabySleepCoach

DIY Baby Sleep Tracking
https://calebolson.com
Other
207 stars 36 forks source link

qt.qpa.xcb: could not connect to display #10

Closed TaintedIron closed 1 year ago

TaintedIron commented 1 year ago

I don't believe this issue has to do with the code, but I'm opening this just in case if anyone has faced this problem.

If I run main.py or debug it in VS Code I receive the below,

qt.qpa.xcb: could not connect to display

Need some help with this error when testing out this project with recorded video. I'm pretty certain I have all the correct dependencies in place. I believe this part of the reason why I been having problems viewing the stream?

calebolson123 commented 1 year ago

I ran into this error at one point trying to debug remotely from my desktop on raspberry pi... I believe I got it working by using some pretty google-able suggestions. Try export DISPLAY=:0.0 in your command line

TaintedIron commented 1 year ago

@calebolson123 Thank you for the reply. I'm closing this issue since I haven't had time to work on this.