It's quite easy, really. 

1) On box 1 open X connections from box 2 by typing
   xhost +192.168.1.4
2) On box 1, ssh to box 2.
3) On box 2 via your ssh connection, type
   DISPLAY=192.168.1.2:0
4) When you start X on box 2 via the ssh connection, 
   it should pop up on box 1.

Miark



----- Original Message ----- 
From: "antoine rivoire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 2:52 PM
Subject: Re: [newbie] ssh


> On Friday 16 November 2001 5:54 pm, you wrote:
> > * ssh has a configuration option for forwarding X11.
> >   Make sure that's not causing a problem.
> > * Did you set "DISPLAY=192.168.1.2:0" on box 2?
> > * Did you "host +192.168.1.4" on box 1?
> miark,
> i haven't done any of that. could you give me a bit more details on how to 
> set that up. is there config files... or even better sittes or information 
> sources....?
> thanks
> >
> > Miark
> >
> > > hi all,
> > > here i am again with my home network
> > >
> > > 3 boxes, 1 hub the 3 boxes are connected to the hub
> > > box 1: main workstation, lm8.1, celeron 1.1ghz ip:192.168.1.2
> > > box 2: p120, lm8.1. i run xfce on this box ip:192.168.1.4
> > > box 3: my gateway, p120, diskless, runs linuxfw, connected to the hub and
> > > cable modem ip:192.164.1.1
> > >
> > > i can establish ssh connection from box 1 to box 2, but X not working.
> > > here what i get when i try to run an app:
> > >
> > > Last login: Mon Nov  5 19:51:56 2001 from localhost.localdomain
> > > /usr/X11R6/bin/xauth: (stdin):1:  bad display name "home.97fx:10.0" in
> > > "add" command
> > > [root@home root]# xmms
> > > _X11TransSocketINETConnect: Can't get address for home.97fx
> > >
> > > ** CRITICAL **: Unable to open display
> > >
> > > now on  the second line it says about bad display name and add command. i
> > > don't have the first clue what that is or what config it might writte
> > > that too...
> > >
> > > then it says about  X11TransSocketINETConnect, same thing... i'm baffled.
> > >
> > > then when trying to connect from box 2 to box 1, i get a plain old
> > > connection refused.
> > > fair enough, but why?
> > >
> > > i have looked several faqs and ssh sites, no luck.
> > >
> > > any ideas?
> > >
> > > ps: this is supposed to be straight forward stuff, why doesn''it work for
> > > me?
> > >
> > > :((
> > >
> > > any help appriciated
> > >
> > > appart from that, linux, and mandrake rock. i get the confirmation
> > > everytime i have to use window$
> >
> > ---------------------------------------------------------------------------
> >-----
> >
> > > Want to buy your Pack or Services from MandrakeSoft?
> > > Go to http://www.mandrakestore.com
> 
> 


--------------------------------------------------------------------------------


> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to