Somehow your DISPLAY variable has been corrupted. Try "unset DISPLAY",
or whatever's correct for your shell, then try fsl/fslview again.
Dave Flitney, IT Manager
University of Oxford, FMRIB Centre
JR Hospital, Oxford OX3 9DU
T: 01865 222713 F: 01865 222717
On 27 Oct 2010, at 00:26, Uenal <[log in to unmask]> wrote:
> Hi,
> I just installed FSL but could not set some path variables right...
> Getting the following errors...I'd appreciate any help...
> Thanks,
>
> Uenal
>
>>> fslview
> fslview_bin: cannot connect to X server mr2
>
>>> fsl
> Application initialization failed: couldn't connect to display "mr2"
> Error in startup script: couldn't connect to display "mr2"
> while executing
> "load /opt/fsl-4.1.6/extras/lib/tk8.4/../libtk8.4.so Tk"
> ("package ifneeded" script)
> invoked from within
> "package require Tk"
> invoked from within
> "if { [ string match -nocase *wish* $MYSHELL ] } {
> package require Tk
> # tk_focusFollowsMouse
> #bind Button <Enter> { focus %W ; tk::ButtonEnter ..."
> (file "/opt/fsl-4.1.6/tcl/fslstart.tcl" line 18)
> invoked from within
> "source [ file dirname [ info script ] ]/fslstart.tcl"
> (file "/opt/fsl-4.1.6//tcl/fsl.tcl" line 71)
> invoked from within
> "source ${FSLDIR}/tcl/${origname}.tcl"
> (file "/opt/fsl-4.1.6//bin/fsl" line 22)
>
|