On Thu September 4 2003 1:34 am, Maurice Libes wrote:

> how do you do that?
> i would want to make xdmcp broadcast in order the client
> find on xdmcp server or another
> ho to do with ltsp?

Edit rc.local as follows:

################################################################################
#
# Build the start_ws script
#
if [ -f /etc/vidlist ]; then
    echo "Building the start_ws script"

    XDM_SERVER=`get_cfg XDM_SERVER ${DEFAULT_SERVER}`

    case "${XSERVER}" in

        XF86_*)  XBINARY="${XSERVER}"
                 XOPTS=""
                 ;;

        Xvesa)   XBINARY="Xvesa"
                 X_MODE_0=`get_cfg X_MODE_0`
                 case "${X_MODE_0}" in
                     1280x1024)   XOPTS="-shadow -mode 0x011A"
                                  ;;
                     1024x768)    XOPTS="-shadow -mode 0x0117"
                                  ;;
                     800x600)     XOPTS="-shadow -mode 0x0114"
                                  ;;
                     640x480)     XOPTS="-shadow -mode 0x0111"
                                  ;;
                     *)           XOPTS="-shadow -mode 0x0117"
                                  ;;
                 esac
                 ;;

        *)       XBINARY="XFree86"
                 XOPTS=""
                 ;;
    esac

    ACCESS_CONTROL=`get_cfg DISABLE_ACCESS_CONTROL N`
    if [ "${ACCESS_CONTROL}" = "Y" ]; then
        ACC_CTRL="-ac"
    else
        ACC_CTRL=""
    fi
### This is where you need to edit
    if [ -w /proc/progress ]; then
        echo "/usr/X11R6/bin/${XBINARY} ${XOPTS} ${ACC_CTRL} -indirect 
${XDM_SERVER} >/dev/tty3 2>&1" >/tmp/start_ws
    else
        echo "/usr/X11R6/bin/${XBINARY} ${XOPTS} ${ACC_CTRL} -indirect 
${XDM_SERVER}" >/tmp/start_ws
    fi

    chmod 0755 /tmp/start_ws
fi

##############################################################

Edit your /etc/X11/xdm/Xaccess script as follows:

%hostlist       server1  server2 server3 ##names of your servers

*               CHOOSER %hostlist       #
####################################################
Then your server should broadcast XDMCP connections and your clients will 
connect to them.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
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.freenode.net

Reply via email to