On Wed, 20 Oct 1999, Benjamin Sher wrote:

> What does xhost + localhost reall mean?

XHOST(1)                                                 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) environment, 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.

> Could you or someone please spell this command out precisely. 
> Do you have to enter this as a command in xterm or what? 

You can just issue the command from a terminal window.  I invoke a
variation from my ~/.xinitrc, as I don't use KDE.  I guess you could put
it in the KDE autostart folder.  In your text editor of choice, type the
following:

#!/bin/sh
xhost +localhost

and save it.  Then, chmod +x whatever.the.****.you.called.it.  Put it
said folder,restart KDE, and root should be able to function in X while you're
logged in.


/b
------------------------
Barry Marler
Department of Medical Microbiology and Parasitology
University of Georgia
(706)542-0742
(706)542-0059 (fax)


Reply via email to