LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xhost (https://www.linuxquestions.org/questions/linux-newbie-8/xhost-215116/)

invasian 08-08-2004 06:31 PM

xhost
 
can someone explain xhost to me? this is what happens when i type in xhost

gh-1057:/home/invasian # xhost
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0"

and when i try to find out about xhost (using man -k xhost)...
gh-1057:/home/invasian # man -k xhost
xhost: nothing appropriate.

do i have xhost command or not? if not, how do i get it?

win32sux 08-08-2004 06:40 PM

http://www.die.net/doc/linux/man/man1/xhost.1.html

invasian 08-08-2004 07:55 PM

i'm still confused as to whether or not i have that command...i understand what it's purpose is for, but it does not seem like i have that command...but that does not make sense, since it seems that that command is part of linux...

Tinkster 08-08-2004 08:01 PM

If you didn't have it the error message would be

xhost: command not found

not
Quote:

gh-1057:/home/invasian # xhost
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0"
Your error message means that a) you're either not
running X at all or b) trying to start xhost as another
user than the one who started that particular xsession.


Cheers,
Tink


All times are GMT -5. The time now is 12:07 PM.