LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2004, 07:31 PM   #1
invasian
LQ Newbie
 
Registered: Aug 2004
Posts: 23

Rep: Reputation: 15
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?
 
Old 08-08-2004, 07:40 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
http://www.die.net/doc/linux/man/man1/xhost.1.html
 
Old 08-08-2004, 08:55 PM   #3
invasian
LQ Newbie
 
Registered: Aug 2004
Posts: 23

Original Poster
Rep: Reputation: 15
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...
 
Old 08-08-2004, 09:01 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: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xhost + mlykam Linux - Software 3 03-17-2005 10:50 AM
xhost itsjung Linux - Newbie 4 12-22-2004 06:58 AM
xhost + and 9.1 Mufasa SUSE / openSUSE 1 11-14-2004 12:19 PM
xhost + RoaCh Of DisCor Slackware 3 10-02-2004 05:31 PM
xhost security green_t Linux - Security 2 03-05-2001 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:09 AM.

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