Thanks Allison,
I found a work around here Geant4 OGL visualiztion in Ubuntu 23.04. Setting XDG_SESSION_TYPE=x11 right before executing ./example1 worked. I guess this solution should be okay for now.
Thanks Allison,
I found a work around here Geant4 OGL visualiztion in Ubuntu 23.04. Setting XDG_SESSION_TYPE=x11 right before executing ./example1 worked. I guess this solution should be okay for now.