Hi all
I needed to have some of my workstations connecting to a chooser as well as some
connecting directly to a server, so I added the following to the
/opt/ltsp/i386/etc/rc.local file to add an "ENABLE_CHOOSER" option. Posting this here
incase it will be useful to anyone else (I looked for a similar simple solution in the
archives but couldnt see one).
I replaced the lines:
if [ -w /proc/progress ]; then
echo "/usr/X11R6/bin/${XBINARY} ${ACC_CTRL} -query ${XDM_SERVER} >/dev/tty3 2>&1"
>/tmp/start_ws
else
echo "/usr/X11R6/bin/${XBINARY} ${ACC_CTRL} -query ${XDM_SERVER}" >/tmp/start_ws
fi
with:
ENABLE_CHOOSER=`get_cfg ENABLE_CHOOSER`
if [ "${ENABLE_CHOOSER}" = "Y" ]; then
if [ -w /proc/progress ]; then
echo "/usr/X11R6/bin/${XBINARY} ${ACC_CTRL} -indirect ${XDM_SERVER}
/dev/tty3 2>&1" >/tmp/start_ws
else
echo "/usr/X11R6/bin/${XBINARY} ${ACC_CTRL} -indirect
${XDM_SERVER}">/tmp/start_ws
fi
else
if [ -w /proc/progress ]; then
echo "/usr/X11R6/bin/${XBINARY} ${ACC_CTRL} -query ${XDM_SERVER}
>/dev/tty3 2>&1" >/tmp/start_ws
else
echo "/usr/X11R6/bin/${XBINARY} ${ACC_CTRL} -query ${XDM_SERVER}"
>/tmp/start_ws
fi
fi
Hope this helps
Paul
_____________________________________________________________________
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