LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I am getting the following error while executing the drop1.tcl program. Plz help me t (https://www.linuxquestions.org/questions/linux-newbie-8/i-am-getting-the-following-error-while-executing-the-drop1-tcl-program-plz-help-me-t-4175431498/)

divya84 10-10-2012 09:28 AM

I am getting the following error while executing the drop1.tcl program. Plz help me t
 
I just installed ns-2.34 in fedora 16, but when i tried to run a sipmle program it gives an error:

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

how to remove this any solution please.

knudfl 10-10-2012 09:57 AM

Welcome to LQ.

drop1.tcl http://enggedu.com/source_code/ns2/n...cific_time.php
""TCL script to drop down the packets in particular link at specific time""

$ ns drop1.tcl : Works OK here. Nam opens.

But : If you are doing the command 'ns drop1.tcl' as root (su),
do not expect a GUI applications like nam to work.

The default location for ns-allinone-2.xx is /home/<name>/<dir>/.
And all commands are to be run as unprivileged user.


Good luck !

.


All times are GMT -5. The time now is 02:59 AM.