xhost, IP range possible? config must auto. recreate after reboot

From: Markham, Richard (RMarkham@hafeleamericas.com)
Date: Wed Feb 05 2003 - 13:46:47 EST


I am trying to give access many hosts for a particular server's display and
I need this configuration to carry through a reboot without having to
manually execute command(s) from the console after a reboot. /etc/X0.hosts
had potentially solved this but there is a large number of unique accesses,
so maintaining a specific list isn't ideal. Escpecially across 8
configurations. I had hoped possibly that I could put in an IP range into
/etc/X0.hosts but this hasn't worked thus far. Oracle will simply tell you
to use xhost + which makes me shun but even with that, after a reboot, I
haven't been able to automate it through an init script or post code within
the dtlogin startup script. xhost will basically hang or complain that it
cant open the display.

I tried the following in different areas of the init scripts:

 XAUTHORITY=`ps -aef | grep '[X]sun' | sed 's/.* //'`
 export XAUTHORITY
 DISPLAY=:0
 export DISPLAY
 /usr/openwin/bin/xhost +

The above will work from remote command line,, obviously after the system
has finishing booting...

Anyone have any ideas?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:46 EDT