Kief,

Thanks for the info. Your solution worked great!

Kev

----- Original Message -----
From: "Kief Morris" <[EMAIL PROTECTED]>

> I have a set of startup scripts which start the server by running some
commands as
> root, others under a user account. The script which starts vfxb does the
following:
>
> XVFBIN="/usr/X11R6/bin/Xvfb :1 -screen 1 640x480x24"
> DISPLAY="localhost:1.1"
> export DISPLAY
>
> $XVFBIN &
> /usr/openwin/bin/xhost + localhost
>
> Again, this is run as root. Then the script sets up other appropriate
variables and
> calls:
>
> ( su - www ; $TOMCAT_BIN $TOMCAT_ARGS )

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to