If OpenGL was not installed you would get a completely different error.
The error you are getting is a very specific error relating to a
compatibility issue between Exceed OpenGL and Mesa GLX. In every
instance that I am aware of, setting the environment variable below has
solved the issue.
Please make absolutely sure it is being set properly before you call
tkregister. Type the following before you call tkregister and make sure
you get the correct output.
$> setenv LIBGL_ALWAYS_INDIRECT y
$> echo $LIBGL_ALWAYS_INDIRECT
y
$> tkregister2
-Zeke
On 11/06/2014 02:58 PM, Nicholas Heugel wrote:
> So the system I am working on only recently was setup, is it possible
> the problem is that there is no LIBGL library on the system? What would
> the name of the folder for the library be? and where would I download
> libGL if it is not on the system?
>
> On Thu, Nov 6, 2014 at 1:54 PM, Z K <zkaufman@nmr.mgh.harvard.edu
> <mailto:zkaufman@nmr.mgh.harvard.edu>> wrote:
>
> Well it should give an error if your not setting it correctly, but yes
> the syntax IS different for tcsh.
>
> setenv LIBGL_ALWAYS_INDIRECT y
>
> -Zeke
>
>
>
> On 11/06/2014 02:46 PM, Nicholas Heugel wrote:
> > I am using remote desktop connection, so I am putting it into the
> > terminal on the Linux computer itself. Does the notation need to change
> > at all if I am using TCSH and not BASH?
> >
> > On Thu, Nov 6, 2014 at 1:36 PM, Z K <zkaufman@nmr.mgh.harvard.edu <mailto:zkaufman@nmr.mgh.harvard.edu>
> > <mailto:zkaufman@nmr.mgh.harvard.edu
> > <mailto:Freesurfer@nmr.mgh.harvard.edu> <mailto:zkaufman@nmr.mgh.harvard.edu>>> wrote:
> >
> > 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
> <mailto:Freesurfer@nmr.mgh.harvard.edu>
> <mailto:Freesurfer@nmr.mgh.harvard.edu>>
> > >https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> > >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> <mailto:Freesurfer@nmr.mgh.harvard.edu>
> <mailto:Freesurfer@nmr.mgh.harvard.edu
> <mailto:Freesurfer@nmr.mgh.harvard.edu>>
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> >
> >
> > The information in this e-mail is intended only for the person to
> > whom it is
> > addressed. If you believe this e-mail was sent to you in
> error and
> > the e-mail
> > contains patient information, please contact the Partners
> Compliance
> > HelpLine at
> > http://www.partners.org/complianceline . If the e-mail was sent to
> > you in error
> > but does not contain patient information, please contact the
> sender
> > and properly
> > dispose of the e-mail.
> >
> >
> >
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> <mailto:Freesurfer@nmr.mgh.harvard.edu>
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> >
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu>
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer