Remote Display.

Christian Thibodeau jlcthibo at uumail.gov.bc.ca
Wed Jun 9 21:51:44 UTC 2004


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.

-- 
Christian Thibodeau
Open Systems, Operations
Common IT Services
Solutions BC, Province of BC
Phone: 250-387-5993	Fax: 250-387-5231
Solutions BC http://www.solutionsbcsharedservices.gov.bc.ca
CITS https://cits.gov.bc.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20040609/8ad60e28/attachment.sig>


More information about the fedora-test-list mailing list