[Paraview] InitializeTcl failed/no $DISPLAY environment
variableerrors (paraview on intel mac)
clinton at elemtech.com
clinton at elemtech.com
Wed Feb 28 18:38:09 EST 2007
You have an X server right?
Clint
On Wednesday 28 February 2007 4:24 pm, Jared Hawkins wrote:
> David,
>
> thanks for the advice. unfortunately, none of the changes work.
>
> still get the error that i cant connect to whatever i set my display as
>
> frustrating but hopefully im getting somewhere
>
> thanks!
>
> -jared
>
> Gregory, David C CIV NSWCDD, G24 wrote:
> > I've run into similar behavior before. try setting display to
> > localhost:0.0 or yourPublicIP:0.0 or yourHostName:0.0
> >
> > -David
> >
> > -----Original Message-----
> > *From:* paraview-bounces+david.c.gregory=navy.mil at paraview.org
> > [mailto:paraview-bounces+david.c.gregory=navy.mil at paraview.org]
> > *On Behalf Of *Jared Hawkins
> > *Sent:* Wednesday, February 28, 2007 4:41 PM
> > *To:* Paul Adams; paraview at paraview.org
> > *Subject:* Re: [Paraview] InitializeTcl failed/no $DISPLAY
> > environment variableerrors (paraview on intel mac)
> >
> > Paul,
> >
> > My fault for not being more specific. I am using an intel mac
> > (10.4.8), using a bash shell and the computer is local.
> >
> > It looks like i hadnt set my DISPLAY env. variable. When i typed in
> >
> > / echo $DISPLAY/
> >
> > i was given an empty line (guessing that this wasnt set already).
> > I went ahead an then set the variable to the local dispaly
> > /
> > export DISPLAY=:0.0
> >
> > /Then, i tried again to launch paraview. This time, i was greeted
> > with a new error message.
> >
> > /Paraview error: InitializeTcl failed
> > Tk_Init error: this isn't a Tk applicationcouldn't connect to
> > display ":0.0"
> >
> > /(i left /applicationcouldn't /as one word, since this is how the
> > error was displayed).
> >
> > More info (compiled from previous posts). I have tried running
> > paraview (2.6) from the precompiled binary. I get the same
> > message. I have also tried running paraview (2.6) on a powerpc
> > (using the powerpc precompiled binary). Again, same error messages.
> >
> > Any more ideas?
> >
> > -jared
> >
> > Paul Adams wrote:
> >> O.K. I did not know if you had truncated the error message or
> >> not. Sometimes I do that to make it easier to read. So let's
> >> try the simple thing first: Have you set your DISPLAY environment
> >> variable? Making the assumption that you are new to Linux, try
> >> the following two commands. The first prints out the value of
> >> the DISPLAY environment variable. The second sets the DISPLAY
> >> environment variable to the local display.
> >>
> >> echo $DISPLAY
> >> export DISPLAY=:0.0
> >>
> >> Depending on the computer you are using (I assumed it was Linux),
> >> what shell you are using (I assumed sh or bash), and whether or
> >> not the computer is local or remote, it may or may not work. Let
> >> me know the whether my assumptions were correct or not and I can
> >> help you more.
> >>
> >> Paul Adams
> >> http://wiki.vizworld.com/index.php/ParaView
> >> <http://wiki.vizworld.com/index.php/ParaView>
> >>
> >> On 2/28/07, *Jared Hawkins* <Jared.Hawkins at tufts.edu
> >> <mailto:Jared.Hawkins at tufts.edu>> wrote:
> >>
> >> Paul,
> >>
> >> Thanks for the reply. The error message i am getting is only:
> >>
> >> ParaView error: InitializeTcl failed
> >> TK_Init error: no display name and no $DISPLAY
> >> environment variable
> >>
> >> There is no mention of the tcl_library. Should i try to set
> >> that variable anyway??? How do i go about doing this?
> >>
> >> Thanks again for any help
> >>
> >> -Jared
> >>
> >> Paul Adams wrote:
> >>> Is this the problem that you are seeing when t//rying to run
> >>> ParaView?
> >>>
> >>> / $ paraview
> >>> // //ParaView error: InitializeTcl failed
> >>> // //Tcl_Init error: Can't find a usable init.tcl in the
> >>> following directories:
> >>> // // /usr/local/lib/tcl8.4 /u/lib/tcl8.4 /lib/tcl8.4
> >>> /u/library /library /tcl8.4.5/library /usr/local/lib/tcl8.4/
> >>>
> >>> If so, then the *TCL_LIBRARY* environment variable needs to
> >>> be set.
> >>>
> >>> / $ export TCL_LIBRARY=/path_to_tcl_library/tcl8.4/
> >>>
> >>> /Paul Adams
> >>> http://wiki.vizworld.com/index.php/ParaView
> >>>
> >>> On 2/28/07, *Jared Hawkins* < Jared.Hawkins at tufts.edu
> >>> <mailto:Jared.Hawkins at tufts.edu>> wrote:
> >>>
> >>> hey again,
> >>>
> >>> so, to follow up on my previous email, i have also tried
> >>> to build paraview directly from the source code
> >>> (following the wiki's instructions and making the
> >>> necessary adjustments to ccmake options such as adding
> >>> WI,-search_paths_first to the listed linkers)
> >>>
> >>> the make of the program appears to work fine
> >>>
> >>> afterwards, i try to run ./paraview (from the /bin
> >>> directory) and i get the same error messages as when i
> >>> was trying to run the pre-compiled binaries:
> >>>
> >>> ParaView error: InitializeTcl failed
> >>> TK_Init error: no display name and no $DISPLAY
> >>> environment variable
> >>>
> >>>
> >>> very frustrating.....i could use some help!!
> >>>
> >>> -jared
> >>>
> >>>> Subject:
> >>>> [Paraview] InitializeTcl failed/no $DISPLAY environment
> >>>> variable errors (paraview on intel mac)
> >>>> From:
> >>>> Jared Hawkins <Jared.Hawkins at tufts.edu>
> >>>> <mailto:Jared.Hawkins at tufts.edu>
> >>>> Date:
> >>>> Tue, 27 Feb 2007 21:26:15 -0500
> >>>> To:
> >>>> paraview at paraview.org <mailto:paraview at paraview.org>
> >>>>
> >>>> To:
> >>>> paraview at paraview.org <mailto:paraview at paraview.org>
> >>>>
> >>>>
> >>>> to all,
> >>>>
> >>>> hi. im trying to run ParaView 2.6 on an intel mac pro
> >>>> running 10.4. im VERY new to a unix environment, so
> >>>> please bear with me.
> >>>>
> >>>> after downloading the paraview 2.6 intel precompiled
> >>>> binaries, i attempt to launch paraview from the console
> >>>> (using ./paraview in the /bin directory).
> >>>>
> >>>> i immediately get this message:
> >>>>
> >>>> ParaView error: InitializeTcl failed
> >>>> TK_Init error: no display name and no $DISPLAY
> >>>> environment variable
> >>>>
> >>>> i have tried running paraview on a powerpc g4 and i got
> >>>> the exact same error message, so im pretty sure its
> >>>> something really stupid that im messing up.
> >>>>
> >>>> any suggestions???
> >>>>
> >>>> thanks,
> >>>> jared
> >>>
> >>> _______________________________________________
> >>> ParaView mailing list
> >>> ParaView at paraview.org <mailto:ParaView at paraview.org>
> >>> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list