If you are having trouble setting up display paramters then this scrpt is for you to make your life Easier.
This script is for SSH or WSL instance running on windows and you wannt to use GUI.
• Installation
git clone https://github.com/dexter-dz/Xming_Display_setup.git
cd into the folder
chmod +x ./setup.sh
./setup.sh
if everything was set correctly xcalc will launch
This is the script to set up Display for GUI over ssh. Make sure you launch Xming with "-ac"
PS. Download Xming from https://sourceforge.net/projects/xming/