#!/bin/sh
. /conf/tcos.conf
. /conf/tcos-run-functions
SERVER=$(read_server "xdmcp-server")
export DISPLAY=:0

if [ -f $XAUTHORITY ]; then
  TCOS_XORG_OPTS="$TCOS_XORG_OPTS -auth $XAUTHORITY"
fi

/sbin/tryXorg --server=${SERVER} --xorgopts="${TCOS_XORG_OPTS} -query ${SERVER}" &

