External Email - Use Caution
It reads like you are trying to install on an Ubuntu system, e.g., Ubuntu 18 or Ubuntu 20? On Ubuntu you can try the install command,$ sudo apt install libjpeg62
Also it would be good to know what freesurfer release you are installing, e.g., 7.1.1. Something may not be right with your environment for remote X programs. I would check you have the DISPLAY environment variable setup in your xshell or xmanager setup. On my terminal DISPLAY is set to, $ echo $DISPLAY:0 I don’t know how xshell and xmanager setup your X environment, but I would first try running a simple X windows program like xeyes and get that to work (displays a pair of eyes that track the cursor) before running tksurfer, etc. - R.
On Mar 16, 2021, at 07:17, 1248742467 <1248742467@qq.com> wrote: External Email - Use Caution Hello, FsAfter installing FreeSurfer, use tkregister2, tkmedit, tkurfer, and recon all -- help to verify whether the installation is successful. The first and fourth commands are OK, but the second and third commands display the same error: glut: fatal error in tksurfer.bin : could not open display: localhost:17.0.I use xshell as a terminal, and I have installed xmanager. I used to be able to use it, but now I have problems.And when I use the Freeview command, an error is reported as follows: freeview.bin : error while loading shared libraries: libjpeg.so .62: cannot open shared object file: No such file or directoryDo you know how to solve the above problems?Looking forward to your reply_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer%E2%80%8B
freesurfer@nmr.mgh.harvard.edu