On Fri, Feb 01, 2002 at 08:46:35PM -0000, Stephen Berry wrote:
> Hello,
>
> I wonder if anyone can help me...
>
> I am running Redhat 7.1 and LTSP 3.0. I need to automatically launch an
> application on start up. This application (citrix ICA Client) will be the
> only one used on my system. Secondly, the users must not see the gnome
> desktop/login (I work in a school and the kids will only try and hack around
> it!!).
First, this subject was allready discussed, but I think the archive is not
searchable.
> My second RCFILE, RCFILE_02 contains "#!bin sh exec
> /usr/lib/ICAClient/wfica" This is the application that I need to run, but
> it's graphical so I need to load X as RCFILE_01. Can someone tell me the
> syntax to load X please.
My advice would be the following:
Start in runlevel 5. In runlevel 5 the /tmp/start_ws script is launched.
do a single RCFILE. In that rcfile manage to echo all the needed commands in
/tmp/start_ws. Your RCFILE script could look like that:
. /etc/ltsp_functions
XSERVER=`get_cfg XSERVER auto`
case ${XSERVER} in
XF86_*) XBINARY="${XSERVER}"
;;
*) XBINARY="XFree86"
;;
esac
echo "/usr/X11R6/bin/${XBINARY}" >/tmp/start_ws
echo "exec /usr/lib/ICAClient/wfica" >>/tmp/start_ws
If it doesn't work (I don't know if it will work or not, but I am quite sure
the following will), you can put /usr/X11R6/bin/xinit in your
/opt/i386/ltsp/bin directory and use the following rc script:
. /etc/ltsp_functions
XSERVER=`get_cfg XSERVER auto`
case ${XSERVER} in
XF86_*) XBINARY="${XSERVER}"
;;
*) XBINARY="XFree86"
;;
esac
echo "/bin/xinit /usr/lib/ICAClient/wfica -- /usr/X11R6/bin/${XBINARY}" >/tmp/start_ws
Hope it helps.
Pat
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.openprojects.net