groupgets / GetThermal

Cross-platform USB thermal camera viewer
MIT License
233 stars 92 forks source link

Disabling video/GUI output for using the program via SSH on an Ubuntu Server #52

Open loxer opened 2 years ago

loxer commented 2 years ago

Hey everyone,

Maybe this is very easy, so I better start with an apology, because I just started recently being a programmer and I'm especially new to C++ :)

I really love the program and I want to make some experiments with it. So as the topic says, I try to disable the video output, so I can use it on an Ubuntu Server via SSH. If I try to run the program right now, it says "Could not connect to any X display.".

I tried to solve the problem, by removing/commenting the lines related to the uvcvideoproducer in the main.cpp and compiling it again, but it's still looking for a display and doesn't start via SSH. I really don't know where to continue from here in order to solve the issue I'm having.

Thanks a lot, in advance for any help! It's very appreciated!