Remote Display.

Ivo Särak ivo at vendomar.ee
Thu Jun 10 08:32:00 UTC 2004


On Thu, 2004-06-10 at 00:51, Christian Thibodeau wrote:
> On Wed, 2004-06-09 at 13:49, Ivo Särak wrote:
> > 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]$
> 
> Okay so that is set up properly. Can you display anything back to your
> server? I usually try to run xclock (/usr/X11R6/bin/xclock) to test the
> connection.

After I started xclock and it did appeared up, the oocalc started
working as well.
Before it I updated the openoffice.org package as well, but I do not
think it has anything to do with remote display working or not.

Now I get:
[ivo at sarmax ivo]$ ssh ivo at haskaa
ivo at haskaa's password:
Last login: Thu Jun 10 11:25:24 2004 from sarmax
[ivo at haskaa ivo]$ oocalc

Starting configuration import into user data ..
.. importing layer file:///home/ivo/SetupXcu.temp - succeeded
Starting OpenOffice.org ...

I wonder what was wrong and what fixed it...

Thanks for helping!





More information about the test mailing list