-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 mohur !! wrote: > hi, > please help. I'm new to ns-2. > I use cygwin and ns-2.29. > I had my display set using the shell command export DISPLAY=:0.0 > and when I run my ns script file, its gives the following message. > " nam: couldn't connect to display:0.0 " > why > is this happenning? Can somebdy please help me fix this issue? I tried > to check what my display was set to previously using the shell command > echo $DISPLAY, and its was set to nothing, what should i do? anybody? > thankyou lots, > Mohur Babu > > > > > ____________________________________________________________________________________ > Need a vacation? Get great deals > to amazing places on Yahoo! Travel. > http://travel.yahoo.com/ Hi Mohur,
I never used Cygwin befor but I guess it is a X configuration problem. Check what xhost says, and try some other programs like xload. If you are running X and the applications with different users you must allow incoming conncetions from localhost (eg "xhost + localhost") or configure X such that other users may use your desktop. I think this is not a NAM problem. Greets Raphael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsMD0kuU3NI79Py4RAk70AKC4HoAjqvz39lHtkQ0ob6zQnr3UNQCdHVUm /YLfaVspWr0Czx0mQ/dktzE= =g8nd -----END PGP SIGNATURE-----
