I have recently installed Geant4.10.06.p1 on Ubuntu18.04. Prior to compiling, I switched the flags for OpenGL and Qt on. The compilation was successful. I used exampleB1 (only modified DetectorConstruction.cc a bit) as a starting point, compiled it and wanted to visualize it via -Y.
Unfortunately, this does not work. I see that the gui is empty and doesn’t display the detector. In terminal I see these two errors:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
I do not know how to resolve them. I hope you could help.