Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-25-2003, 11:19 AM   #1
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?

Old 10-25-2003, 12:07 PM   #2
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.)



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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:49 AM.

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