Jetson: on boot, dialogue: System program problem detected

would appreciate advice on locating issue:

can login via ssh fine, just afaict X11 and desktop never run.

dialogue was raised immediately after installing OpenCV4Tegra 2.4.8.2 runtime and developer packages
I tried removing these and other CUDA packages, but same dialogue.

seems likely or at least possible there was a library conflict…

dmesg
[ 139.387937] init: plymouth-stop pre-start process (2350) terminated with status 1

/var/log/boot.log seems normal

how to reinstall ‘NVIDIA driver’?

startx

Loading extension GLX
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at “/var/log/Xorg.1.log” for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

/var/log/Xorg.1.log

[ 684.738] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 684.738] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 684.738] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 684.738] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 684.738] (EE) NVIDIA(0): reinstalling the NVIDIA driver.

If you did an apt-get upgrade you may have this issue:
https://devtalk.nvidia.com/default/topic/775070/embedded-systems/notice-on-apt-get-upgrade-libglx-so-corruption/

In general, try “sha1sum -c /etc/nv_tegra_release” and see if required files are ok.