Re: [Ltsp-discuss] LTSP and rdesktop

2007-10-23 Thread Rob Owens
A tar file of my /opt/ltsp/i386/etc/screen.d directory is attached.  I
created two additional screens:  startx.wait and rdesktop.wait.  These
simply request the user to hit enter before loading X.  This helps me
control which screen comes up first on a terminal.

-Rob

Kevin Blackwell wrote:
> OK,
> 
> Does anyone have a working rdesktop script that supposed to go into
> the screes.d directory. I've done a fresh install of debian, and it's
> not on there. Tries the rdesktop script from version 4.1, but it's
> trying to use old tools like pci_scan and it's not building the
> XF86Config right. I get errors parsing the file and it says a device
> section is needed.
> 
> Thanks
> 
> Kevin
> 
> On 10/12/07, Craig White <[EMAIL PROTECTED]> wrote:
>> 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
>>
> 
> -
> 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


ltsp-4.2-screen.d.tar.gz

Re: [Ltsp-discuss] LTSP and rdesktop

2007-10-12 Thread Kevin Blackwell
OK,

Does anyone have a working rdesktop script that supposed to go into
the screes.d directory. I've done a fresh install of debian, and it's
not on there. Tries the rdesktop script from version 4.1, but it's
trying to use old tools like pci_scan and it's not building the
XF86Config right. I get errors parsing the file and it says a device
section is needed.

Thanks

Kevin

On 10/12/07, Craig White <[EMAIL PROTECTED]> wrote:
> 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
>

-
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


Re: [Ltsp-discuss] LTSP and rdesktop

2007-10-12 Thread Craig White
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


Re: [Ltsp-discuss] LTSP and rdesktop

2007-10-11 Thread Rob Owens


Jim Kronebusch wrote:
> On Wed, 10 Oct 2007 16:28:18 -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.
>>
>> Thanks
> 
> I haven't done this for a while so I don't remember exactly, but you need 
> more than just
> SCREEN_01=rdesktop.  There are other things that need to go along with it 
> like the
> server address and credentials.  Example:
> 
> SCREEN_01  = rdesktop
> RDP_SERVER = 192.168.0.224 # your.2k.server
> RDP_OPTIONS = "-f -u xxx -p xxx  -k en-us"
> 
> Try something like above without any RDP_OPTIONS and the RDP_SERVER set to 
> your server
> IP.  See if you get along any better.  If not google lts.conf rdesktop 
> settings. 
> Without these settings it doesn't know what to do and most likely won't start.
> 

Or you could put it all in one line, which might be easier for testing:
SCREEN_01 = rdesktop -f -a 16 192.168.0.224

(Then you don't need the RDP_SERVER or RDP_OPTIONS lines)

-Rob

-
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


Re: [Ltsp-discuss] LTSP and rdesktop

2007-10-10 Thread Jim Kronebusch
On Wed, 10 Oct 2007 16:28:18 -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.
> 
> Thanks

I haven't done this for a while so I don't remember exactly, but you need more 
than just
SCREEN_01=rdesktop.  There are other things that need to go along with it like 
the
server address and credentials.  Example:

SCREEN_01  = rdesktop
RDP_SERVER = 192.168.0.224 # your.2k.server
RDP_OPTIONS = "-f -u xxx -p xxx  -k en-us"

Try something like above without any RDP_OPTIONS and the RDP_SERVER set to your 
server
IP.  See if you get along any better.  If not google lts.conf rdesktop 
settings. 
Without these settings it doesn't know what to do and most likely won't start.

Jim

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.


-
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


[Ltsp-discuss] LTSP and rdesktop

2007-10-10 Thread Kevin Blackwell
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.

Thanks

-
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