[SunHELP] xhost

Sheldon T. Hall shel at cmhcsys.com
Mon Jan 6 15:32:31 CST 2003


"Markham, Richard" <RMarkham at hafeleamericas.com> says

> I'm trying to use the xhost binary and while calling it with:
> xhost +user
> xhost -help
> xhost
> they all three never return to the command prompt.  Is this
> the expected behavior?

No.  xhost alone ought to print a list of xhosts, if there is one, and
return to the command prompt.

xhost foo.bar.baz

would add foo.bar.baz to the access list, if that host exists:


/users/shel $ xhost foo.bar.baz
/users/shel $ xhost
access control enabled, only authorized clients can connect
INET:foo.bar.baz
LOCAL:
/users/shel $

and a graceful return to the command line.

-Shel


More information about the SunHELP mailing list