code: def _get_free_display_port(self):
          
          display = 100
          if not os.path.exists("/tmp/.X11-unix/"):
              return display
          while True:
              if not os.path.exists("/tmp/.X11-unix/X{}".format(display)):
                  return display
              display += 1
docs: Search a free display port