Hi
Search for “Ubuntu”. Have a look at Black Screen when running Example1. I’m not an Ubuntu user, but I picked these quotes:
“I found a work around here Geant4 OGL visualiztion in Ubuntu 23.04. Setting XDG_SESSION_TYPE=x11 right before executing ./example1 worked.”
“Also setting QT_QPA_PLATFORM=xcb works in case some one has similar issue in the future.”
John