Sponsored Content
Full Discussion: Networking or Nescape 4.78
Special Forums IP Networking Networking or Nescape 4.78 Post 17388 by thehoghunter on Thursday 14th of March 2002 10:42:43 AM
Old 03-14-2002
I checked docs.hp.com and found:

Hosts entered by xhost have access only until the server recycles. A server recycles when the last client attached to a server goes away. For systems running many clients, this is usually at the end of a session. For systems running a server but no clients, hosts entered by xhost may be removed before you have a chance to use the remote host.
To add hosts permanently, make an entry in the X0.hosts file.


--------------------------------------------------------------------------------
The xhost command is in the form:
xhost [+-] [name]
where: +name Add the remote host named name to the list of computers allowed to connect to the X server.
-name Remove name from the list of computers allowed to connect to to the X server.
+ Allow access to everyone (access control disabled).
- Allow access only to computers in the list (access control enabled).
blank Display current status and list of computers allowed to access the X server.
For example, the following command allows the remote computer hpggggg to access your local display.
xhost +hpggggg
For more information, refer to the xhost man page.
thehoghunter
 

10 More Discussions You Might Find Interesting

1. IP Networking

IP networking.

In plain english what exactly is IP Networking? Can someone take the time to explain? please! (3 Replies)
Discussion started by: kikkin
3 Replies

2. UNIX for Dummies Questions & Answers

Networking

Hi new user to UNIX and I am in the process of networking my UNIX box to my windows2000....Is there a special program I have to install so that my windows would recognize and see the Unix box....any suggestions would be great Thanks (1 Reply)
Discussion started by: jonas27
1 Replies

3. IP Networking

networking

HI guys/gals basic question lets say i am running a network. lets say i am using Win Me. how would i network Win Me to a computer that has linux and another that has 98 well the 98 is no problem but the linux well i have an idea but i am rusty with linux. No i have rusted out. Would you make... (1 Reply)
Discussion started by: pydyer
1 Replies

4. UNIX for Dummies Questions & Answers

Nescape & dial up networking "Linux"

Sorry I need to Know How to connect to the Internet using Netscape in the GUI of the Red Hat Linux .....using phone line with a modem Us robbitics ....Such as in windows We add dial up adapter etc ......:confused: (1 Reply)
Discussion started by: atiato
1 Replies

5. AIX

Networking help...

Please accept my apology ahead of time. Our AIX admin left the company unexpectedly and I am now left with trying to get a p570 w/5.3 setup. I had the help of an IBM reseller on setting up the LPARs, but need some quick questions answered. 1. I have 1 on-board NIC and 2 slot NICs. How do I... (2 Replies)
Discussion started by: LegendMan
2 Replies

6. Solaris

Need help with networking

I can't or i don't know how to put up a network and internet on sun solaris 10. I looked and found some stuff on forums around net but I'm missing a few files. Like, "defaultrouter", "resolve.conf", ping is not working ( host unreachable), my card is "lo0" when I use ifconfig -a comand. Should I... (8 Replies)
Discussion started by: salvor_hardin
8 Replies

7. UNIX for Advanced & Expert Users

how ..........networking

hi everyone this is dipendra, i am interested in networking,i know simple socket programming . and now i am wonder to get in to audio socket. i have no clue how to build audio socket.so i am looking if u can provide me a link regarding the audio socket building tutorials. (1 Reply)
Discussion started by: dipendra_regmi
1 Replies

8. IP Networking

Networking

Hi, I have a question on networking. I will try to ask with an example... Suppose i am googling something, as in searching something in the google page. In this case what I basically want to know is, does the client do a connect evrytime to the server whenever a search is done in google,... (1 Reply)
Discussion started by: naan
1 Replies

9. Solaris

Networking help

What am I doing wrong, I configure interfaces ce1,ce,2 and ce3 but when I reboot the server they lose the configuration and I have to reset them? ifconfig ce1 plumb ifconfig ce2 plumb ifconfig ce1 155.216.13.72 netmask 255.255.255.240 ifconfig ce2 155.216.13.73 netmask 255.255.255.240... (5 Replies)
Discussion started by: Kjons76
5 Replies

10. IP Networking

Networking

hi From mt windows machine I can ping a LINUX machine but there is no arp entry for the same LINUX on my windows. How is it possible and what can I do to add the arp entry as I need it. thanks (1 Reply)
Discussion started by: leghorn
1 Replies
XHOST(1)						      General Commands Manual							  XHOST(1)

NAME
xhost - server access control program for X SYNOPSIS
xhost [[+-]name ...] DESCRIPTION
The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. In the case of hosts, this provides a rudimentary form of privacy control and security. It is only sufficient for a workstation (single user) environ- ment, although it does limit the worst abuses. Environments which require more sophisticated measures should implement the user-based mechanism or use the hooks in the protocol for passing other authentication data to the server. OPTIONS
Xhost accepts the following command line options described below. For security, the options that effect access control may only be run from the "controlling host". For workstations, this is the same machine as the server. For X terminals, it is the login host. -help Prints a usage message. [+]name The given name (the plus sign is optional) is added to the list allowed to connect to the X server. The name can be a host name or a user name. -name The given name is removed from the list of allowed to connect to the server. The name can be a host name or a user name. Existing connections are not broken, but new connection attempts will be denied. Note that the current machine is allowed to be removed; however, further connections (including attempts to add it back) will not be permitted. Resetting the server (thereby breaking all connections) is the only way to allow local connections again. + Access is granted to everyone, even if they aren't on the list (i.e., access control is turned off). - Access is restricted to only those on the list (i.e., access control is turned on). nothing If no command line arguments are given, a message indicating whether or not access control is currently enabled is printed, fol- lowed by the list of those allowed to connect. This is the only option that may be used from machines other than the controlling host. NAMES
A complete name has the syntax ``family:name'' where the families are as follows: inet Internet host (IPv4) inetv6 Internet host (IPv6) dnet DECnet host nis Secure RPC network name krb Kerberos V5 principal local contains only one name, the empty string The family is case insensitive. The format of the name varies with the family. When Secure RPC is being used, the network independent netname (e.g., "nis:unix.uid@domainname") can be specified, or a local user can be specified with just the username and a trailing at-sign (e.g., "nis:pat@"). For backward compatibility with pre-R6 xhost, names that contain an at-sign (@) are assumed to be in the nis family. Otherwise they are assumed to be Internet addresses. If compiled to support IPv6, then all IPv4 and IPv6 addresses returned by getaddrinfo(3) are added to the access list in the appropriate inet or inetv6 family. DIAGNOSTICS
For each name added to the access control list, a line of the form "name being added to access control list" is printed. For each name removed from the access control list, a line of the form "name being removed from access control list" is printed. FILES
/etc/X*.hosts SEE ALSO
X(1), Xsecurity(1), Xserver(1), xdm(1), getaddrinfo(3) ENVIRONMENT
DISPLAY to get the default host and display to use. BUGS
You can't specify a display on the command line because -display is a valid command line argument (indicating that you want to remove the machine named ``display'' from the access list). The X server stores network addresses, not host names. This is not really a bug. If somehow you change a host's network address while the server is still running, xhost must be used to add the new address and/or remove the old address. AUTHORS
Bob Scheifler, MIT Laboratory for Computer Science, Jim Gettys, MIT Project Athena (DEC). X Version 11 Release 6.1 XHOST(1)
All times are GMT -4. The time now is 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy