Re: [ns] HELP: installation problems - no display found for nam

2007-04-14 Thread Daniel Casolini

Timo Reimann ha scritto:
 Daniel wrote:
   
 I tried to install on my Intel based MacBook Pro the
 ns2-allinone-2.29.3-Precompiled-UniversalBinary-Intel-Mac package that I
 found here
 http://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2.
 I tried to run a simple tcl example script ( /ns-2.29/tcl/ex/simple.tcl ),
 but I had this error running the NAM part of the simulator:

 running nam...
 nam: couldn't connect to display :0.0

 Maybe I have to change some settings, but I don't know where they are.
 Could someone help me??
 

 This doesn't seem to be a problem with ns-2 but Unix which Mac OS uses.
 Basically, this error shows up when you don't have an X server (which is,
 IIRC, actually called client in the X terminology) running.

 So are you sure you're having an X server running? I don't know if that's
 default on Mac OS, don't know too much about it.

 Can you open any other GUI application from the shell you're trying to
 start nam from? (like xterm?) If not, that would support my theory that
 something with your Unix-MAC-GUI chain is broken...


   
Thank you very much Timo!!
I run the X11.app and then ns and nam was displayed!!! Super!
I was using Parallels (a virtual machine) to run ns on Linux, and now I 
don't need it anymore.

Thanks a lot,

Daniel



Re: [ns] HELP: installation problems - no display found for nam

2007-04-14 Thread Daniel Casolini

Timo Reimann ha scritto:
 Daniel wrote:
   
 I tried to install on my Intel based MacBook Pro the
 ns2-allinone-2.29.3-Precompiled-UniversalBinary-Intel-Mac package that I
 found here
 http://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2.
 I tried to run a simple tcl example script ( /ns-2.29/tcl/ex/simple.tcl ),
 but I had this error running the NAM part of the simulator:

 running nam...
 nam: couldn't connect to display :0.0

 Maybe I have to change some settings, but I don't know where they are.
 Could someone help me??
 

 This doesn't seem to be a problem with ns-2 but Unix which Mac OS uses.
 Basically, this error shows up when you don't have an X server (which is,
 IIRC, actually called client in the X terminology) running.

 So are you sure you're having an X server running? I don't know if that's
 default on Mac OS, don't know too much about it.

 Can you open any other GUI application from the shell you're trying to
 start nam from? (like xterm?) If not, that would support my theory that
 something with your Unix-MAC-GUI chain is broken...


   
Thank you very much Timo!!
I run the X11.app and then ns and nam was displayed!!! Super!
I was using Parallels (a virtual machine) to run ns on Linux, and now I 
don't need it anymore.

Thanks a lot,

Daniel


[ns] HELP: installation problems

2007-04-13 Thread Dani

Dear all,

I tried to install on my Intel based MacBook Pro the
ns2-allinone-2.29.3-Precompiled-UniversalBinary-Intel-Mac package that I
found herehttp://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2
.
I tried to run a simple tcl example script ( /ns-2.29/tcl/ex/simple.tcl ),
but I had this error running the NAM part of the simulator:

running nam...
nam: couldn't connect to display :0.0

Maybe I have to change some settings, but I don't know where they are.
Could someone help me??

Thanks in advance

Daniel


[ns] HELP: installation problems - no display found for nam

2007-04-13 Thread Dani

 Dear all,

I tried to install on my Intel based MacBook Pro the
ns2-allinone-2.29.3-Precompiled-UniversalBinary-Intel-Mac package that I
found here
http://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2.
I tried to run a simple tcl example script ( /ns-2.29/tcl/ex/simple.tcl ),
but I had this error running the NAM part of the simulator:

running nam...
nam: couldn't connect to display :0.0

Maybe I have to change some settings, but I don't know where they are.
Could someone help me??

Thanks in advance

Daniel


[ns] HELP: installation problems - no display found for nam

2007-04-13 Thread Daniel

 Dear all,

I tried to install on my Intel based MacBook Pro the
ns2-allinone-2.29.3-Precompiled-UniversalBinary-Intel-Mac package that I
found here
http://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2.
I tried to run a simple tcl example script ( /ns-2.29/tcl/ex/simple.tcl ),
but I had this error running the NAM part of the simulator:

running nam...
nam: couldn't connect to display :0.0

Maybe I have to change some settings, but I don't know where they are.
Could someone help me??

Thanks in advance

Daniel


Re: [ns] HELP: installation problems - no display found for nam

2007-04-13 Thread Timo Reimann

Daniel wrote:
 I tried to install on my Intel based MacBook Pro the
 ns2-allinone-2.29.3-Precompiled-UniversalBinary-Intel-Mac package that I
 found here
 http://nsnam.isi.edu/nsnam/index.php/Downloading_and_installing_ns-2.
 I tried to run a simple tcl example script ( /ns-2.29/tcl/ex/simple.tcl ),
 but I had this error running the NAM part of the simulator:

 running nam...
 nam: couldn't connect to display :0.0

 Maybe I have to change some settings, but I don't know where they are.
 Could someone help me??

This doesn't seem to be a problem with ns-2 but Unix which Mac OS uses.
Basically, this error shows up when you don't have an X server (which is,
IIRC, actually called client in the X terminology) running.

So are you sure you're having an X server running? I don't know if that's
default on Mac OS, don't know too much about it.

Can you open any other GUI application from the shell you're trying to
start nam from? (like xterm?) If not, that would support my theory that
something with your Unix-MAC-GUI chain is broken...