XQuartz right away quits itself macOS Catalina Version 10.15.5
I have downloaded XQuartz from following page (https://www.xquartz.org/). The application installed and shown on the Utilities folder. When I open it, it is shown a second on the docker and always gone away (quits itself). It does not show up on the running applications, so I crashes due to some reason.

I don't know how can I fix this issue, since I am not able to open the application. Is there any way can I fix this issue?
I was able to solve it by running from the Terminal.
run_Xquartz() {
  [ $(ps aux | grep -E '[X]quartz' | wc -l) -gt 0 ] &amp;&amp; echo 'Xquartz is already running' \
  || nohup /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin &gt; /dev/null 2&gt;&amp;1 &amp;
}

$ run_Xquartz


If Xquartz is already running on the background it prints Xquartz is already running.
If Xquartz is not running on the background it runs it on the background using nohup.

=&gt; When Xquartz starts running on the dock you will see it.