Hans,
        actually you gave me a very good idea - i replaced scp with rsync,
and it works like a charm! thanks, julius


> Hans,
>       your solution works fine, provided you use trusted hosts. on my
> system it forces the users to enter the passphrase twice. it just might be
> worth it though - i could explain that this is the price to pay for
> actuqlly having a local printer. julius
>
> On Mon, 4 Feb 2002, Hans Ekbrand wrote:
> > The ~/.ssh/environment file is read from the TARGET. So, in order to use
> > it, you must first copy it from the connection machine, in this case the
> > ltsp-server.
> >
> > echo DISPLAY=$DISPLAY >.ssh/target_environment
> > scp -q .ssh/environment target:.ssh/
> > ssh target "echo $DISPLAY"
> >
> > Works for me.
>
> > On Sun, Feb 03, 2002 at 11:12:59PM -0500, Julius Szelagiewicz wrote:
> > > Jim,
> > >   this is true on its face, but ...  the DISPLAY variable is correct
> > > on the lstp server named, say, "ltspl" and points to wsxxx. so far so
> > > good. now on the workstation the user pops up the terminal window and
> > > types "ssh -X myname@turtle". provided the keys and passphrases are
> > > correct the user logs in on server "turtle". the DISPLAY variable on
> > > turtle points to turtle:10.0, which is correct - the X forwarding is on.
> > > what "turtle" doesn't know is which workstation is the X going to - this
> > > is handled by 'ltspl' server. "turtle" needs the workstation name to
> > > figure out the >printer< queues associated with this workstation. fun,
> > > huh? my o'reilly book on ssh has nothing on how to pass an arbitrary value
> > > to sshd server and have access to this value from the user environment.
> > >   the difficulty stems from the fact that i use ltsp server as a
> > > stepping stone to the business system, not as an end point in itself.
> > > thanks, julius
> >
> > The ~/.ssh/environment file is read from the TARGET. So, in order to use
> > it, you must first copy it from the connection machine, in this case the
> > ltsp-server.
> >
> > echo DISPLAY=$DISPLAY >.ssh/target_environment
> > scp -q .ssh/environment target:.ssh/
> > ssh target "echo $DISPLAY"
> >
> > Works for me.
> >
>
>
> _____________________________________________________________________
> 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
>


_____________________________________________________________________
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