Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: XHOST

Re: XHOST

From: Alan Coopersmith <alanc_at_CSUA.Berkeley.EDU>
Date: Thu, 7 Mar 2002 16:35:31 +0000 (UTC)
Message-ID: <a684sj$203o$1@agate.berkeley.edu>

"Dirk Moolman" <dirkm_at_mxgroup.co.za> writes in comp.unix.solaris:
|How can I add a host with "xhost" so that it stays there permanently ? I
|use
|"xhost mxsun", but as soon as I reboot my server, the permissions for mxsun
|are gone and I have to run the command again. Is there a configuration file
|in which I can add all the hosts that I want to give access to ?

/etc/X0.hosts (for the server :0, change 0 to the server number for other servers).

|I have two servers which do not have a console (Solaris 8), so I have to
|telnet to these servers. When I telnet, I cannot execute xhost. I read
|somewhere that I have to be the controlling host to be able to do this - is
|this correct ?

By default you have to be on the host that the Xserver is running on and have access to the display already. If dtlogin is starting your Xserver, it sets up magic cookies so only people who know the cookies can connect. See the Xsecurity and xauth man pages for more details, and http://www.xs4all.nl/~zweije/xauth.html as well.

-- 
________________________________________________________________________
Alan Coopersmith                              alanc_at_alum.calberkeley.org
http://soar.Berkeley.EDU/~alanc/           aka: Alan.Coopersmith@Sun.COM
  Working for, but definitely not speaking for, Sun Microsystems, Inc.
Received on Thu Mar 07 2002 - 10:35:31 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US