> I�ve just tried this change on my script (following your
> notes), but only
> get a grey screen with mouse pointer. Rdesktop doesn�t start.
> Any idea?
>
Oscar,
I think that I was unclear in my original posting. In my case I use xinitrc
to launch xterm with a script that I call choice. In the following snippet, you can
replace the entire line that includes xterm with any executable that you desire. I am
also including my choice script.
*********************************
echo " /usr/X11R6/bin/xterm -geometry 135x55 -fn \
-adobe-courier-bold-r-normal--18-0-0-0-m-0-iso8859-1 \
-bg rgb:3A/6E/A5 -fg white -e /etc/choice $ICA_APP >>/tmp/xinitrc
*********************************
/etc/choice
[note that I use some extra options in my lts.conf]
[I'm also using setnumlock]
*********************************
#! /bin/sh
# /opt/ltsp/i386/etc/choice
PATH=/bin:/usr/bin:$PATH; export PATH
. /etc/ltsp_functions
export ICAROOT=/usr/lib/ICAClient
export HOME=/root
# Get the lts.conf entries
#
eval `/bin/getltscfg -a`
# Check lts.conf for any changes to the ICA_APP
# This part allows us to change the ICA App on the fly
APPDESC=${ICA_APP:-"desktop"}
# Change the APPDESC for lower case letters
APPDESC=`echo "${APPDESC}" | tr [A-Z] [a-z]`
choice=`echo "${choice}" | tr [A-Z] [a-z]`
/usr/bin/setnumlock
ICAROOT=/usr/lib/ICAClient
echo " Press enter to connect to the Server."
echo " "
echo " The application is currently set to: $APPDESC."
echo " "
echo " When you are done, please log out. Please"
echo " power off or reboot your computer at the "
echo " end of your shift. "
echo " "
echo " You may safely power off your computer. "
read choice
case "$choice" in
wfcmgr)
$ICAROOT/wfcmgr;;
xterm)
/usr/X11R6/bin/xterm -e bash;;
*)
$ICAROOT/wfica -desc $APPDESC;;
esac
exit
*********************************
> Thanks
>
> Oscar
>
> -----Mensaje original-----
> De: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] nombre de Abraham
> Pearson
> Enviado el: viernes, 09 de julio de 2004 20:01
> Para: Jeff Roberts; [EMAIL PROTECTED]
> Asunto: RE: [Ltsp-discuss] rdesktop and xwindows sessions
> together on a
> terminal on separate vt's
>
>
> >I've been trying to run an xwindows session on one vt and a an
> >rdesktop on another with no joy. I've tried making changes to the
> >rdesktop screen script but haven't gotten anything to work. Looking
> >through the archives I see other folks have asked this but I can't
> >find a working example that I understand. If someone has
> this working
> >could they please post exactly what they did?
>
> >Thanks,
>
> >Jeff
>
> Jeff,
> Sorry for the double post. Here I will finish my thought
> :) . I am
> doing something very similar - launching an xwindows and a
> ica desktop.
> Does your startx file include this section near the end?:
>
> *********************************************
> /usr/X11R6/bin/${XBINARY} ${ACC_CTRL} \
> ${XF_ARGS} \
> -xf86config ${XFCFG} \
> :$(($TTY-1)) \
> vt${TTY}
> *********************************************
>
> I copied the startx file into start ica. then I removed this
> and everything
> below:
>
> *********************************************
> ACCESS_CONTROL=${DISABLE_ACCESS_CONTROL:-"N"}
> reg_info ACCESS_CONTROL
> if [ "${ACCESS_CONTROL}" = "Y" ]; then
> ACC_CTRL="-ac"
> else
> ACC_CTRL=""
> fi
> ... to end of file
> *********************************************
> and replaced it with:
>
>
> ********************************************
> #Create the xinitrc file.
>
> echo " export DISPLAY=`hostname`:$(($TTY-1))" > /tmp/xinitrc
> echo " export HOME=/root" >>/tmp/xinitrc
> echo " /usr/X11R6/bin/xterm -geometry 135x55 -fn
> \
>
> -adobe-courier-bold-r-normal--18-0-0-0-m-0-iso8859-1 \
> -bg rgb:3A/6E/A5 -fg white -e /etc/choice $ICA_APP"
> >>/tmp/xinitrc
> #Done creating the xinitrc file
>
> if [ -w /proc/progress ]; then
> /usr/X11R6/bin/xinit -- /usr/X11R6/bin/${XBINARY}
> -xf86config ${XFCFG}
> \
> -ac vt${TTY}
> :$(($TTY-1))>/dev/null 2>&1
> if [ $? -ne 0 ]; then
> echo -n -e "\n\rxserver failed, press <enter> to continue "
> read CMD
> fi
> else
> /usr/X11R6/bin/xinit -- /usr/X11R6/bin/${XBINARY}
> -xf86config ${XFCFG}
> \
> -ac vt${TTY} :$(($TTY-1))
> if [ $? -ne 0 ]; then
> echo -n -e "\n\rxserver failed, press <enter> to continue "
> read CMD
> fi
> fi
> ********************************************
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.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 sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.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