[SunHELP] xhost (cont.)
Jim Pennino
jimp at specsol.com
Thu Jan 16 12:40:46 CST 2003
On Thu, Jan 16, 2003 at 01:21:07PM -0500, Markham, Richard wrote:
> previously I posted about xhost not returning back to command line after
> execution with or without parameters. I tried from the console and had no
> problem. At the time I was in ssh which is where I do most administration.
> I've found that after a reboot that the xhost entries are reset. Upon
> trying to automate the xhost entries upon boot within an init script I find
> that xhost doesn't make then entries nor does it produce any output.
>
> example:
> ~
> #! /bin/sh
> xhost server1 server2 server2
> ~
> I threw in a DISPLAY=server:0.0; export DISPLAY on the first line and still
> no go. I still haven't pinpointed what I need to do for this situation but
> the end result obviously is to always have xhost entries without manually
> adding them each reboot.
>
> Thanks for any info.
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
Any particular reason you're not using /etc/X*.hosts files to do this?
--
Jim Pennino
More information about the SunHELP
mailing list