debian lenny's ltsp server and clients

I defined a screen for rdesktop and one for ldm.
The problem is that when rdesktop timeouts (because the user login at 
ldm), it exist and xinit restarts the X server with a new rdesktop, so 
the user has to find his workplace (screen) by pressing Ctrl-Alt-Fx 
from time to time...

In a previous version(?) in ltsp_chroot/usr/share/ltsp/screen.d/rdesktop 
script contained
     /usr/X11R6/bin/xinit      /usr/bin/rdesktop.wrapper ...

not simply
     /usr/X11R6/bin/xinit      /usr/bin/rdesktop ...

and rdesktop.wrapper contained like this:
#!/bin/sh
program="`dirname $0`/`basename $0 .wrapper`"
while true; do
   $program "$@"
done

So it could be linked as wrapper to other exectutables, too...
(this modification to wrapper was made by me, but invoking such a wrapper 
script from a screen.d script maybe by someone else, if such solution had 
never been in the official release --- anyway maybe it should be 
considered to be implemented)

... or if there is a better (nicer) solution for such problem I would 
appreciate to see it.

TIA,
--
Zsolt

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_____________________________________________________________________
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