I run C/OpenCL codes for some calculations on a remote Linux machine. I want to monitor GPU temperature, so if it gets too high, the code execution stops. But sadly, ADL function ADL2_Overdrive6_Temperature_Get needs X server to be running, and since I'm connected via SSH, I can not startX.
Is there anything to do to go around this? Why reading a sensor needs X server anyway?
Thanks in advance.