LinuxQuestions.org
Help answer threads with 0 replies.
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 06-21-2004, 03:54 PM   #1
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Rep: Reputation: 30
xhost problem


X can't find a display for some reason. I've tried a number of xhost commands and exporting the display, but I just get the message that xhost couldn't find any displays.
What next?
 
Old 06-21-2004, 04:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
More input ;)

http://www.catb.org/~esr/faqs/smart-questions.html


Where from are you trying to invoke xhost?


Cheers,
Tink
 
Old 06-21-2004, 05:32 PM   #3
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
Hehe, right Tink

I can start x (where I have fluxbox as my main wm), but a few programs won't run (aterm and mozilla).
The error logs say they can't find a display and therefore can't run.

Do you remember that you once answered on a very similar thread I posted? This was what you wrote:

That means that you're trying to run a program that
requires X as a different user than the one whose
X display you're working on. Quick & dirty solution:

As the owner of the X session: xhost +localhost
As the user who wants to install: export DISPLAY=localhost:0.0


I've tried that this time too (we're dealing with a fresh slack 9.1 install here) but I only get this:

xhost: unable to find display ""

I've looked through the xf86config but I couldn't find anything strange. I got the same errors before I installed the nvidia drivers for my gfx card too.

Is that good enough for you?
 
Old 06-21-2004, 05:37 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
So you have a xterm running in flux, and type xhost
and it says:"unable to find display """?


Cheers,
Tink
 
  


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
xhost problem kapslock Linux - Newbie 3 07-11-2004 09:35 PM
XFree86 Xhost problem kidicarus Linux - Software 1 06-29-2004 09:18 AM
Xhost problem. Saravanan_A Linux - Newbie 0 02-17-2004 01:28 AM
xhost problem sandiegon Linux - General 9 10-14-2003 11:38 AM
xhost problem! blueso Linux - General 2 01-14-2003 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration