On Wed, 2007-10-10 at 16:28 -0500, Kevin Blackwell wrote:
> OK,
> 
> I've tried rdesktop on FC6 and Ubuntu, and I cannot get rdesktop to
> run. Can someone point me to a distribution and version of ltsp that
> they are using if they have successfully got it running.
> 
> As a side not, I don't seem to be having a problem getting the ltsp
> software running in X, but rdesktop just isn't working.
----
I *** sort of *** got it working on my iMac G3 systems (some problems
still, not all of them are Macintosh driven)

This is what my /opt/ltsp/ppc/etc/screen.d/rdesktop looks like (I'm
still working out the kinks - some notes at the bottom)...

#!/bin/sh
#
# The following script works for LTSP v5 and was tested in Ubuntu
"Feisty" Linux.
# Original rdesktop script by James A. McQuillan,
# modified for LTSP v5 by Colin Osterhout of SERRC (www.serrc.org).
#
# This software is licensed under the Gnu General Public License.
# The full text of which can be found at http://www.LTSP.org/license.txt
#
#
#
# /opt/ltsp/i386/etc/screen.d/rdesktop
#
# Call this through /opt/ltsp/i386/etc/lts.conf like this:
#           RDP_OPTIONS  = "-a 16"
#           RDP_SERVER   = w2k3.terminal.server.ip
#           SCREEN_02    = rdesktop
#

PATH=$PATH:/bin:/usr/X11R6/bin; export PATH
#. /usr/lib/ltsp/ltsp_functions
. /etc/ltsp_functions

# Get the lts.conf entries
#eval `/usr/bin/getltscfg -a`
eval `/bin/getltscfg -a`

RDP_OPTIONS=${RDP_OPTIONS:-"-f"}

reg_info RDP_SERVER
reg_info RDP_OPTIONS

ACCESS_CONTROL=${DISABLE_ACCESS_CONTROL:-"N"}
reg_info ACCESS_CONTROL
if [ "${ACCESS_CONTROL}" = "Y" ]; then
    ACC_CTRL="-ac"
else
    ACC_CTRL=""
fi

if [ "${XF_ARGS}" = "" ]; then
    XF_ARGS="-query ${XDM_SERVER}"
fi

XBINARY="XFree86"
XOPTS=""

TTY=`/usr/bin/basename \`/usr/bin/tty\``
XFCFG=/tmp/XF86Config.${TTY}
export TTY

#
# Setup the DISP variable
#
TTY_N=`echo $TTY | sed -e 's/^.*\([0-9]\)$/\1/'`
export DISP=:$(expr ${TTY_N} - 1).0

################################################################################
#
# Setup the XF86Config file
#
while :; do

  /usr/X11R6/bin/xinit /usr/bin/rdesktop -f -u "" 192.168.3.129 -- \
 -xf86config ${XFCFG} vt${TTY}

done

#### notes #####
- I had to set the PATH variable to include /usr/X11R6/bin
- I am still having an issue where SCREEN_01 = startx and SCREEN_01 =
rdesktop because it says 'Server is already active for display 0' (my
startx desktop) - Obviously I have to set this to use display 1 but that
is not within my skill set.
- If the screen on my Mac - rdesktop connection goes to screen
black...it won't wake up on keyboard or mouse events.
- Obviously need to change the hard coded stuff back to variables loaded
from lts.conf

-- 
Craig White <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_____________________________________________________________________
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