We've implicitly made the assumption that x-displays will be on f"0.{gpu_id}" which can cause problems if people haven't used the startx.py script. This PR introduces a function to allow us to find the open x-displays at run time and use them instead.
We've implicitly made the assumption that x-displays will be on
f"0.{gpu_id}"
which can cause problems if people haven't used thestartx.py
script. This PR introduces a function to allow us to find the open x-displays at run time and use them instead.