LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-27-2007, 10:57 AM   #1
smruthana
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Running tcl script in LINUX


Hi
I m a beginner in LINUX..After installing ns2-allinone-2.30(network simulator) in Fedora core 2.6.18, I m not able to run any tcl script. The ./ns is able to compile the TCL file but the NAM is not able to connect to the DISPLAY How do i rectify this problem..Please help me out!! I ve been struggling for 2 weeks..
 
Old 01-28-2007, 04:04 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well TCL scripts are scripts, not executables, so there is no compiling to do, but basically with my magic hat on it sounds like you are running this program as root inside your normal users X session..?? if so, you can run "shoxt +localhost" to allow all local users to connect to the display.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tcl Tk script question KaYoS Slackware 1 11-20-2006 03:30 PM
problems running textSTAT with python and tcl sigma1 Linux - Software 0 09-17-2006 10:38 AM
tcl script maphin Linux - General 1 05-18-2006 11:43 AM
How to start a Tcl/Tk script by simply invoking the script file itself ? cyu021 Programming 2 10-10-2004 12:00 PM
How to register a Tcl script as a service? vlbaranov Linux - Newbie 2 06-01-2004 11:14 AM


All times are GMT -5. The time now is 05:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration