running XQuartz: display background is black after screen is unlocked or awakened

Get your XQuartz showing in the menu bar. Click on XQuartz menu item and select Preferences. When the preference pane appears, click on the Output tab. One of the options is the Full-screen mode. Make sure the box is NOT checked. See the images below.

enter image description here

enter image description here

enter image description here