LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X server? $DISPLAY? Now what? (https://www.linuxquestions.org/questions/linux-newbie-8/x-server-%24display-now-what-187716/)

NonSumPisces 05-30-2004 02:39 PM

X server? $DISPLAY? Now what?
 
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

x11drv: Can't open display: :0.0
Please ensure that your X server is running and that $DISPLAY is set correctly.


This is what I get when I try to install some windows software using wine.
What does it mean and how do I fix it?

Tinkster 05-30-2004 02:58 PM

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


Cheers,
Tink

NonSumPisces 05-30-2004 03:04 PM

Thanks Tink :) That seems to do the trick :) *bows for the guru* :D

That's probably the first answer I've gotten that solved a problem at first try :)


All times are GMT -5. The time now is 03:02 AM.