The normal behavior is for vglrun to parse the value of the SSHCLIENT 
environment variable, which should contain the IP address of ME in your case, 
and set VGL_CLIENT from this. However, specifying vglrun -cl will override this 
behavior. I think you may be misdiagnosing the issue. I suspect that VGL_CLIENT 
is being set properly when you specify vglrun -cl, but since vglclient and your 
X server are running on a different machine from your ssh client machine, you 
have to explicitly set both DISPLAY and VGL_CLIENT to point to that machine in 
order for VGL to work properly.

On Dec 15, 2010, at 1:41 PM, Philippe <[email protected]> wrote:

> I specified the CLIENT1 IP (consider I'm NOT the CLIENT1, I'm me :) ), then 
> here is what I try to do :
> ME > ssh > SERV1 > vglrun -cl CLIENT1 > CLIENT1 (vglclient listening)
> In this configuration, like you said, vglrun take care of MY IP instead of 
> CLIENT1 IP, and then try to connect to MY vglclient (who's not running) 
> instead of CLIENT1 vglclient.
> Is it normal ?
> So the solution, for the moment, is to set $DISPLAY=CLIENT1:0.0 .
> 
> On Wed, Dec 15, 2010 at 7:51 PM, DRC <[email protected]> wrote:
> The option is still supported, and it's documented in the User's Guide
> (under Advanced Configuration), but it isn't listed in the vglrun output
> because it isn't a commonly-used option.
> 
> vglconnect eliminated the need to run vglclient manually as you're
> describing, so most people use vglconnect.  Also, vglrun will
> automatically set VGL_CLIENT to the IP address of your client machine if
> you are using SSh, so even if you aren't using vglconnect, it still
> should not normally be necessary to set VGL_CLIENT manually.
> 
> The -cl option works as I expect, and its behavior has not changed
> significantly in years.  Not sure why it isn't working for you.
> 
> On 12/15/10 8:25 AM, Philippe wrote:
> > Hello,
> > I got a problem recently, first, in vglrun --help there's no more
> > indications about the -cl option, but it's always in the online
> > documentation, is it normal ?
> > And second, (I don't use vglconnect, I just connect myself from my
> > computer with ssh and launch vglrun from SERV1 to CLIENT1 with vglrun
> > -cl CLIENT1 and vglclient listening on CLIENT1) SERV1 doesn't take care
> > of the -cl argument, it uses my IP instead of the CLIENT1 IP.
> >
> > I don't understand why.
> >
> > Is the -cl argument always available ?
> >
> > Thanks for help.
> >
> > Philippe.
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Lotusphere 2011
> > Register now for Lotusphere 2011 and learn how
> > to connect the dots, take your collaborative environment
> > to the next level, and enter the era of Social Business.
> > http://p.sf.net/sfu/lotusphere-d2d
> >
> >
> >
> > _______________________________________________
> > VirtualGL-Users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/virtualgl-users
> 
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> VirtualGL-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users
> 
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> VirtualGL-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
VirtualGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to