LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-12-2004, 06:40 PM   #1
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Rep: Reputation: 30
Running Programs from command line


When trying to run certain programs form the command line (programs whose executables I have copied to the /usr/bin folder), I get an error message. For example, when trying to run NEdit, it get this output:
---
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

NEdit: Can't open display
---
What should I do about this? It happens with a few other programs.
 
Old 12-12-2004, 06:57 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
are you running X as root? if yes you shouldn't and probably gonna get hacked one day if is not already done.
 
Old 12-12-2004, 07:27 PM   #3
sumguy231
Member
 
Registered: Apr 2004
Location: North America
Distribution: Kubuntu 7.04 - Feisty Fawn
Posts: 296

Original Poster
Rep: Reputation: 30
Gee, thanks for telling me I'm stupid.
No, I was not running X as root, I had a single Root permission console window open, but that did help. I'd say thank you if you were a little bit more polite.
 
Old 12-13-2004, 01:20 AM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
Do not start this.

Is it an insult to suppose that you were running X as root??? lots of people do this.
Does it means that you are stupid if so??? Maybe you can tell...

try do put this line in your profile and then logout-login
Code:
export DISPLAY=:0.0
 
Old 12-17-2004, 03:10 PM   #5
BlackBishop
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
Hey, we're all friends here, we're all looking to help eachother out.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI generator for command line programs? pandasuit Linux - Software 5 01-16-2011 04:55 PM
launching programs from command line in FS dertien Linux - Software 1 11-26-2004 09:27 AM
Making programs accessible from command line simsjr Linux - Software 5 04-27-2004 08:56 AM
Launching Programs From the Command Line Chryzmo Linux - Software 5 03-03-2004 08:00 PM
Running programs from Command Line SirLostalot Linux - Newbie 1 11-11-2002 09:24 PM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
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