Running tkmedit within freesurfer on a cluster, which uses X11 to open GUIs I believe, breaks. See commands below.
tkmedit P0170 brainmask.mgz -aux T1.mgz -surfs -aparc+aseg
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 21
Current serial number in output stream: 20
You need to enable iglx if you want to use it.
See the release notes:
Got it, thanks so much!