From owner-freebsd-questions  Sun Apr 21 15:42:25 1996
Return-Path: owner-questions
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id PAA13317
          for questions-outgoing; Sun, 21 Apr 1996 15:42:25 -0700 (PDT)
Received: from lenzi (callc.bsi.com.br [200.250.250.73])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA13303
          for <questions@freebsd.org>; Sun, 21 Apr 1996 15:42:10 -0700 (PDT)
Received: (from lenzi@localhost) by lenzi (8.6.12/8.6.12) id RAA00275; Sun, 21 Apr 1996 17:44:26 -0300
Date: Sun, 21 Apr 1996 17:44:25 -0300 (EST)
From: "Lenzi, Sergio" <lenzi@cwbone.bsi.com.br>
X-Sender: lenzi@lenzi
To: Khetan Gajjar <khetan@iafrica.com>
cc: questions@freebsd.org
Subject: Re: xhost
In-Reply-To: <Pine.BSF.3.91.960421004940.239B-100000@localhost.iafrica.com>
Message-ID: <Pine.BSF.3.91.960421174244.182F-100000@lenzi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-questions@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

On Sun, 21 Apr 1996, Khetan Gajjar wrote:

> Hi all.
> 
> Everytime I run xdm, I then have to login as root, xhost + and
> then restart xdm.
> 
> Anyway I can get xhost to retain it's settings permanently (i.e. xhost + 
> - all clients)  ? It doens't seem to retain settings.....
> 

put the command "xhost +" in the startup script of xdm 
(/usr/x11R6/lib/X11/xdm/X_setup_0)