public static boolean isXServerOnWindows() {
    // This is heuristics to detect using Cygwin/X or other build of X.Org server on Windows in a WSL 2 environment
    return SystemInfoRt.isUnix && !SystemInfoRt.isMac && !SystemInfo.isWayland && System.getenv("WSLENV") != null;
  }
public static boolean isXServerOnWindows()