On Fri, Oct 18, 2002 at 09:31:39AM -0700, Ashley wrote:
> 
> I solved it.  It turns out I need to somehow supply the DISPLAY environment
> to the shell which executes the application on the dumb client.
> Most apps don't have a "-display" option.
> 
> 
> ashley@ishi:~ >rsh alban
> Password: 
> 
> ashley@alban:~ >echo $DISPLAY
> 
> ashley@alban:~ >/usr/bin/tuxracer
> 
> *** tuxracer error: Couldn't initialize SDL: No available video device
> 
> ashley@alban:~ >export DISPLAY=:0.0
> ashley@alban:~ >echo $DISPLAY      
> :0.0
> ashley@alban:~ >/usr/bin/tuxracer  
> 
> joy

Or run it as:

   rsh alban "DISPLAY=$DISPLAY tuxracer" 

or even better, use ssh, not rsh. More secure (having rsh available at all
is undesireable), and ssh handles X forwarding and $DISPLAY and such already.
For performance reasons you may want to specify that ssh use one of the
faster ciphers, eg:

 ssh -c blowfish alban "my command"

Or have I missed the point?

-dg

-- 
David Gould                                    [EMAIL PROTECTED]
If simplicity worked, the world would be overrun with insects.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
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.openprojects.net

Reply via email to