[ns] FW: Query regarding nam

V K rathi vini_rathi at hotmail.com
Tue Feb 17 06:13:12 PST 2009




 




Respected members,

I have installed ns-2.33 on cygwin on my vista home basic laptop.

while running simple example programs, I get error,

$ nam: no display name and no $DISPLAY environment variable.

 

I tried set it with export DSIPLAY=:0.0

it gives error  

$ nam: couldn't connect to display "0.0"

I also tried  startx before running programs, it gives following error,

$ nam: 

[code omitted because of length] 

: no event type or button # or keysym 

   while executing 

"bind Listbox <MouseWheel> { 

%W yview scroll [expr {- (%D / 120) * 4}] units 

}" 

   invoked from within 

"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { 

bind Listbox <MouseWheel> { 

%W yview scroll [expr {- (%D)}] units 

} 

bind Li..." 


I tried xhost+ command, it says command not found.

can anybody figure out where the problem lies?

I am new to ns-2 as well as linux environment so please.....

 

Thanks in anticipation.
 
Regards,
 
Vinod Kumar Maheshwari.
st106968 at ait.ac.th.
 




Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. Learn Now
_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/


More information about the Ns-users mailing list