[ns] help !! " nam: couldn't connect to display:0.0 "
raphael at b0nn.de
Wed Aug 1 10:20:52 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
mohur !! wrote:
> 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 "
> 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.
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Ns-users