Remote Display.
Ivo Särak
ivo at vendomar.ee
Wed Jun 9 20:49:54 UTC 2004
On Wed, 2004-06-09 at 23:05, Christian Thibodeau wrote:
> On Wed, 2004-06-09 at 12:49, Ivo Särak wrote:
> > On Wed, 2004-06-09 at 16:12, Charles R. Anderson wrote:
> > > On Wed, Jun 09, 2004 at 11:57:43AM +0300, Ivo Särak wrote:
> > > > Unfortunately it does not work:
> > > >
> > > > [ivo at sarmax ivo]$ ssh -X ivo at haskaa
> > > > ivo at haskaa's password:
> > > > Last login: Wed Jun 9 09:28:17 2004
> > > > [ivo at haskaa ivo]$ oocalc
> > > > Starting OpenOffice.org ...
> > > > Aborted
> > > > [ivo at haskaa ivo]$
> > >
> > > Is it enabled on the server side too?
> > > /etc/ssh/sshd_config:
> > >
> > > X11Forwarding yes
> > >
> >
> > With server side You mean the host I ssh to?
> > There is "X11Forwarding yes" even on both ends.
> >
>
> What is the setting of the DISPLAY variable? (on both the host you are
> on and the host you are connecting to)
>
> The DISPLAY variable has to be defined on the host you are on before you
> connect using ssh, otherwise ssh will not set up X forwarding.
#Host I am ssh'ing from (FC2):
[ivo at sarmax ivo]$ echo $DISPLAY
:0.0
[ivo at sarmax ivo]$
#Remote host I ssh to (RH9):
[ivo at sarmax ivo]$ ssh ivo at haskaa
ivo at haskaa's password:
Last login: Wed Jun 9 22:33:32 2004 from sarmax
[ivo at haskaa ivo]$ echo $DISPLAY
localhost:10.0
[ivo at haskaa ivo]$
More information about the test
mailing list