Hi, I downloaded fsl to a new computer on Friday, and everything was
working fine. but now I am suddenly getting the following error when I
want to use fsl gui (when I type fsl):
[localhost:~] Nurunisa% fsl
Application initialization failed: couldn't connect to display "localhost:0.0"
Error in startup script: couldn't connect to display "localhost:0.0"
while executing
"load /usr/local/fsl/lib/tk8.4/../libtk8.4.dylib Tk"
("package ifneeded" script)
invoked from within
"package require Tk"
invoked from within
"if { [ info exists env(TCLTKSHELL) ] && $env(TCLTKSHELL) == "wish" } {
package require Tk
package require Tix
tix configure -scheme TixGr..."
(file "/usr/local/fsl/tcl/fslstart.tcl" line 3)
invoked from within
"source [ file dirname [ info script ] ]/fslstart.tcl"
(file "/usr/local/fsl/tcl/fsl.tcl" line 71)
invoked from within
"source ${FSLDIR}/tcl/${origname}.tcl"
(file "/usr/local/fsl/bin/fsl" line 21)
Just to make sure, things look OK to me:
[localhost:~] Nurunisa% setenv | grep FSL
FSLDIR=/usr/local/fsl
FSLOUTPUTTYPE=NIFTI_GZ
FSLMULTIFILEQUIT=TRUE
FSLTCLSH=/usr/local/fsl/bin/tclsh
FSLWISH=/usr/local/fsl/bin/wish
FSLGNUPLOT=/usr/local/fsl/bin/gnuplot
FSLDISPLAY=/usr/local/fsl/bin/display
FSLCONVERT=/usr/local/fsl/bin/convert
FSLBROWSER=/usr/local/fsl/tcl/fslwebbrowser
FSLLOCKDIR=
FSLMACHINELIST=
FSLREMOTECALL=
FSLCONFDIR=/usr/local/fsl/config
well, I am slightly confused what's wrong. I tried logging out/restarting..
fslview works fine and all the other applications when I type them on
the x11 terminal.
I only get this error when I type fsl to view .
also:
[localhost:~] Nurunisa% ls -l ${FSLDIR}/etc/fslconf/fsl.csh
-rw-r--r-- 1 Nurunisa Nurunisa 2402 Mar 2 2006
/usr/local/fsl/etc/fslconf/fsl.csh
|