xhost issue

Mike Miller mbmiller "at" taxa.psyc.missouri.edu
Sat, 27 Nov 1999 06:24:33 +0000


On Fri, 26 Nov 1999, Mike Miller wrote:

> Is there any way to make vncserver run this script when it launches a
> new vnc desktop (display)?  Or, even better, is there a way to get
> vncserver to add all the machines in /etc/X0.hosts to the access list?


Well, I'd still like a better way, but I figured out that I can make
vncserver run my script (/usr/local/bin/fixX ; given in last message) by
sticking it in the xstartup file as follows:


--------------begin xstartup file-------------------
#!/bin/sh

xrdb -load $HOME/.Xdefaults
$OPENWINHOME/lib/openwin-sys
xsetroot -solid grey
/usr/local/bin/fixX
/usr/openwin/bin/olwm &

# Note: toolwait is a utility to control client startup.
#       For more information, see the toolwait(1) man page.

toolwait /usr/openwin/bin/xterm -T "`whoami`@`hostname`" -ls -g 91x41+67+11
--------------end xstartup file-------------------


I hope there's a better way.  Please let me know if there is!  :-)

Thanks,

Mike

-- 
Michael B. Miller
University of Missouri--Columbia
http://taxa.psyc.missouri.edu/~mbmiller/


---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------