Nicholas,
You probably encountered this page which describes your issue:
https://surfer.nmr.mgh.harvard.edu/fswiki/freesurfer_GUIs_troubleshooting
And it seems you've already attempted the recommended solution. Unfortunately that is the only way I have ever solved this issue, but I do know it has worked for various people.
You are setting the environment variable on the server side, correct? If not its simply being unset when you ssh to the server. Try setting it manually on the command line right before calling the tkregister command.
-Zeke
On 11/06/2014 02:13 PM, Nicholas Heugel wrote:
So I am trying to use TKregister2 and I keep having this error pop up. I tried looking online for a solution. I tried adding export LIBGL_ALWAYS_INDIRECT=y to my .cshrc file but it did not help. I saw the question asked several times but never any answer to the significance of it, but I am accessing the computer remotely. Any help that could be offered would be greatly appreciated.
Nicholas
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer