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 sarmax ivo]$ ssh -X ivo haskaa > > > > > ivo haskaa's password: > > > > > Last login: Wed Jun 9 09:28:17 2004 > > > > > [ivo haskaa ivo]$ oocalc > > > > > Starting OpenOffice.org ... > > > > > Aborted > > > > > [ivo 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 sarmax ivo]$ echo $DISPLAY > :0.0 > [ivo sarmax ivo]$ > #Remote host I ssh to (RH9): > [ivo sarmax ivo]$ ssh ivo haskaa > ivo haskaa's password: > Last login: Wed Jun 9 22:33:32 2004 from sarmax > [ivo haskaa ivo]$ echo $DISPLAY > localhost:10.0 > [ivo 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
Attachment:
signature.asc
Description: This is a digitally signed message part