LinuxQuestions.org
Help answer threads with 0 replies.
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 10-25-2003, 11:19 AM   #1
slewis1972
Member
 
Registered: Jan 2003
Posts: 30

Rep: Reputation: 15
Apps wont open as user but will as root


Ok - a stragne one. I am running Libranet v2.8 - debain testing based.

Anyway - I have downlaoded with apt, severla programs eg mplayer and LinNeighborhood.

When I try and run them from my username eg scott, I get the following error:

Gtk-WARNING**: cannot open display

When I then log out and log back in as root - they work.
I gather this could be a permissions thing - but when do I need to alter?

Scott
 
Old 10-25-2003, 12:07 PM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
It sounds like an X Window configuration problem.

The first thing to check is if this affects other apps started in the same way or only certain ones. I'm assuming you're trying to run them from a terminal window. Try the following :

$ xterm

(or some other simple graphical app you have installed). If you get the same error there's a general X configuration problem. In this case post the output of the following command :

# printenv DISPLAY

and please tell me how you run X (kdm,gdm,startx, etc.)

Tim
 
  


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
unable to open apps when 'su'ing to root from user account ganja_guru Linux - Software 3 06-03-2005 10:51 AM
cannot open X apps from a root console window flieslikeabeagl Slackware 8 10-15-2004 02:13 PM
Install apps as root or user ? jlassiter Linux - Newbie 13 09-10-2004 10:17 AM
Launching apps under Root User Name MDBlueIce Linux - Software 2 08-20-2004 05:15 AM
Running root apps in X using regular user? nny0000 Slackware 10 01-15-2004 12:23 PM


All times are GMT -5. The time now is 10:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration