LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   xhost problem (https://www.linuxquestions.org/questions/linux-general-1/xhost-problem-196101/)

NonSumPisces 06-21-2004 03:54 PM

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?

Tinkster 06-21-2004 04:30 PM

More input ;)

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


Where from are you trying to invoke xhost?


Cheers,
Tink

NonSumPisces 06-21-2004 05:32 PM

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?

Tinkster 06-21-2004 05:37 PM

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


Cheers,
Tink


All times are GMT -5. The time now is 03:32 PM.