Here's what I use.  We don't have ssh forwarding enabled on the Linux box
(for some reason).

On my Mac I type:   xhost + ipaddress.of.linux.box
On the Linux box I type:  setenv DISPLAY ipaddress.of.myMacOSX.box:0.0

It's worked fine for me.

    Jeff


> ----------
> From:         Nathan Callahan
> Sent:         Friday, June 14, 2002 5:46 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [Fink-users] X11 forwarding
> 
> What you are doing will work... But it's not actually forwarding the X 
> connection over ssh.  Which, as long as you're not trying to be secure and
> 
> encrypted about it is fine and dandy.  At the moment it's just a "normal"
> X 
> connection.
> 
> "xhost +" should not be necessary, as the connection  should be coming
> from 
> the local end of the ssh session (as I understand it).
> 
> It's possible that you are using the ssh client that comes with Mac OS X, 
> which does not have X11 forwarding built into is
> 
> which ssh
> 
> should return "/sw/usr/bin/ssh" not "/usr/bin/ssh"
> 
> Also, when I said localhost... I meant localhost :) but the ip of the
> machine 
> should work too, not sure though... untested.
> 
> You should be able to start xclients from the terminal that you have
> ssh'ed 
> from on the local machine, otherwise the DISPLAY is incorrectly set.  So,
> a 
> plain old:
> 
> ssh -C -X linuxhost.mydomain 
> 
> from XTerm should also work.  When you get there:
> 
> echo $DISPLAY
> should be something like "linuxhost.mydomain:10" and definitely should
> have a 
> value, otherwise X11 forwarding isn't happening.
> 
> But hey... It's working for you now... So I'll pull my head in :)
> 
> Regards,
>       Nathan
> 
> 
> On Fri, 14 Jun 2002 19:31, Jeremy Higgs wrote:
> > On 14/6/02 7:27 PM, "Francois Rigaut" <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I assume you have done a "xhost +" on the machine you want to display
> to.
> > > (and of course that you have a X server running there :-)
> > > F
> >
> > That fixed it, thanks!
> >
> > I also had to set the DISPLAY variable to '192.168.0.2:0'...
> >
> > Thanks a lot!
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> Fink-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-users
> 
> 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to